I'm working hard this week to publish some great indicators this week and open sourced. Hope you'll enjoy, learn and use them.
This will be my greatest reward but comments showing appreciation are also very welcomed (actually likes too) :)
For today, I'll share a simple indicator but it's coming along with some insightful knowledge ^^
Anyway, I'm not here to ask you to this but to share a very cool indicator I made a few months ago and wanted to share for FREE with the community today
The indicator is related to this educational post : What-a-Bollinger-Bands-Lagging-span-cross-can-tell-us/
This trading technique was invented by Robbytrade, a famous french trader https://twitter.com/Robbytrade
I wanted to have those visual signals on the chart so I coded it.
The advantage of being a developer is that you can litteraly code what you miss and get your life better in the process. The one that will find a way to code a new form of money will be rich... wait.... that guy is called Satoshi Nakamoto...
That's all for me today my friends
Trying to update the Trade Manager shared yesterday with some cool features. More to come in the upcoming days
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 a publication is governed by House Rules. You can favorite it to use it on a chart.
However, you can try the following code.
strategy("LAGging span leaves Bollinger Bands strategy" , shorttitle="LagBB" , overlay=true)
source = input( hl2 )
length = input(20, minval=1)
mult = input(2.0, minval=0.001, maxval=50)
x_offset = input( 26 ,minval=0 , maxval=244 )
basis = sma(source, length)
dev = mult * stdev(source, length)
upper = basis + dev
lower = basis - dev
buyEntry = crossover(source, upper )
sellEntry = crossunder(source, lower )
if (crossover(source, upper ))
strategy.entry("LE", strategy.long, stop=lower, oca_name="BollingerBands", oca_type=strategy.oca.cancel, comment="LE")
if (crossunder(source, lower ))
strategy.entry("SE", strategy.short, stop=upper, oca_name="BollingerBands", oca_type=strategy.oca.cancel, comment="SE")
//plot(strategy.equity, title="equity", color=color.red, linewidth=2, style=plot.style_areabr)
plot( upper , color=#cccc00 , transp=50 , offset=x_offset )
plot( basis , color=#cccc00 , offset=x_offset )
plot( lower , color=#cccc00 , transp=50 , offset=x_offset )
However, the signals and alerts are produced in real-time but based on a cross happening 26 candles before