The Better Bollinger Bands is a modification of the Bollinger Bands created by Dennis McNicholl, published in an article in October 1998.
This version for Prorealtime is an adaptation of the code that appeared on the Tradingview platform
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
REM BETTER BOLLINGUER BANDS //del código de Better Bollinguer Bands de la plataforma Tradingview //publicado por LazyBear //adaptación para la plataforma Prorealtime Ib=20 de=2 alp=2/(Ib+1) src=(high+low+close)/3 if barindex>Ib then mt=alp*src+(1-alp)*mt[1] ut=alp*mt+(1-alp)*ut[1] dt=((2-alp)*mt-ut)/(1-alp) mt2=alp*abs(src-dt)+(1-alp)*mt2[1] ut2=alp*mt2+(1-alp)*ut2[1] dt2=((2-alp)*mt2-ut2)/(1-alp) but=dt+de*dt2 blt=dt-de*dt2 endif RETURN but as "BSup", dt as "centro",blt as "Binf" |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
vamos a probarlo