BB length = 55, BB mult = 4.
No SL or PT used.
Amazingly performance for the last week, 92% profitable. Tested on entire May percent profitable become 80%, still not bad.
If you want to hear more from me you can join my Telegram channel: https://t.me/quantnomad
If you want to learn how to code in pine script join my Youtube channel: https://www.youtube.com/quantnomad
Past performance does not guarantee future results.
We can change this to a study like this :
buyEntry = crossover(source, lower)
sellEntry = crossunder(source, upper)
plotshape(sellEntry, title="SHORT", style=shape.triangledown,location=location.abovebar,size=size.small, color=red)
plotshape(buyEntry, title="LONG", style=shape.triangleup, location=location.belowbar,size=size.small, color=green)
alertcondition(buyEntry, title='Buy Signal', message='Buy Signal Alert')
alertcondition(sellEntry, title='Sell Signal', message='Sell Signal Alert')
Is that correct ? I have more signal on study with the same config than the strategy. Maybe I need to specify something to cancel or stop like in your if
Thanks for your help