benoc_

Simple Price Momentum

Simple Price Momentum Strategy ( SPM )

The term momentum was borrowed from Newton’s first law of motion. The law states that where an object in motion tends to stay in motion until an external force is applied to it. Like in the law of physics, a market in motion tends to stay in motion rather than reverse. This is the reason why a momentum indicator strategy is so powerful.

My algorithm depends on two signals, an open and an exit.

Basically, while the Green shows earlier, the signal actually takes place at the end of the bar. Remember “close” source is the current price while the candle is still forming, because it can change its state it could create a situation where “A > B” and then change to “A < B”, so we don’t know which one is the final value until the bar officially ends. This is why the backtest engine opens a position in the bar after.

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?