OPEN-SOURCE SCRIPT

Buying with momentum

Updated
This is a beginner script, any feedback is welcome.

It indicates a bull trend with or without volume (yellow and green arrow) and give a buy signal (green flag) once the trend is "confirmed" and the stock became good for the buy market.

I look forward to make this for a bear market as well, but it's not good for now.


Symbols and its meanings:

Yellow Arrows --> When the EMA of 9 candles and the MA of 21 candles are higher then the previous candle.
Green Arrows --> When the EMA of 9 candles and the MA of 21 candles are higher then the previous candle and the volume is higher than the MA of 21 candles.
Green Flag --> The previous candles has a green arrow and the running candle reaches the previous candle high + 1 point/cent.
Release Notes
Correction of the study name.
Bullish PatternsbuytrendTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer