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.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.