This is my first indicator for Prorealcode!
It allows to detect trends and indicates when the pullback ends.
The code is quite simple :
For a bullish trend the short moving averages are above the long ones, the low bollinger band is higher than the previous period, and the price is still below the moving average 20.
I take a trade as soon as the price pass the highest/lowest of the previous candle.
For stop loss and takeprofit, I use it in 2 ways depending on the presence or absence of bottom trend on the upper TF:
1. With a trend also on higher TFs :
StopLoss above/below the former high/low
TP1: the opposite bollinger band
TP2: the Fibonnacci extension 161.8.
2. With no trend on the upper TF :
StopLoss above/below the previous spark plug.
TP1: the moving average 20
TP2: The Opposite Bollinger Band
If you have any ideas for improvements don’t hesitate to share them.
I still need to make some improvements before posting the final version in the library.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue