Page 73 of 193

Re: Bollinger Band type indicators for MT4

Posted: Sat Mar 13, 2021 3:19 am
by mrtools
theCuchuoi wrote: Fri Mar 12, 2021 6:55 pm I wrote this thing based off of Donchian channel, but included two middle bands. The code is

Code: Select all

lower2[i]=iHigh(Symbol(),Period(),iLowest(Symbol(),Period(),MODE_HIGH,BarsToCount,i+Shift));
upper2[i]=iLow(Symbol(),Period(),iHighest(Symbol(),Period(),MODE_LOW,BarsToCount,i+Shift));
Can somebody please make it MTF? Thanks
Added mtf.

Re: Bollinger Band type indicators for MT4

Posted: Sat Mar 13, 2021 4:00 am
by theCuchuoi
mrtools wrote: Sat Mar 13, 2021 3:19 am Added mtf.
thank you kind sir

Re: Bollinger Band type indicators for MT4

Posted: Wed Mar 31, 2021 4:23 pm
by RodrigoRT7
good night, all right? Is there a possibility to convert this indicator to MT4? it seemed like a very interesting approach. it would be fantastic if you could include a Hull or Mcginley for example. Thank you very much.

https://br.tradingview.com/v/bCy9urOG/

Code: Select all

//@version=2
study("Bollingers Bands Fibonacci ratios",shorttitle="FiBB",overlay=true)
len=input(defval=20,minval=1)
p=close
sma=sma(p,len)
avg=atr(len)
fibratio1=input(defval=1.618,title="Fibonacci Ratio 1")
fibratio2=input(defval=2.618,title="Fibonacci Ratio 2")
fibratio3=input(defval=4.236,title="Fibonacci Ratio 3")
r1=avg*fibratio1
r2=avg*fibratio2
r3=avg*fibratio3
top3=sma+r3
top2=sma+r2
top1=sma+r1
bott1=sma-r1
bott2=sma-r2
bott3=sma-r3

t3=plot(top3,transp=0,title="Upper 3",color=teal)
t2=plot(top2,transp=20,title="Upper 2",color=teal)
t1=plot(top1,transp=40,title="Upper 1",color=teal)
b1=plot(bott1,transp=40,title="Lower 1",color=teal)
b2=plot(bott2,transp=20,title="Lower 2",color=teal)
b3=plot(bott3,transp=0,title="Lower 3",color=teal)
plot(sma,style=cross,title="SMA",color=teal)
fill(t3,b3,color=navy,transp=85)

Re: Bollinger Band type indicators for MT4

Posted: Thu Apr 01, 2021 6:07 am
by mrtools
berserkyjc wrote: Wed Mar 31, 2021 3:08 pm Dear Mrtools

Could you please add a moving average into this Bollinger Bandwidth?

This Bollinger Bandwidth is in a seperate sub window.
Bollinger Bandwidth only has one line to indicate the Bollinger Bandwidth.
Pleae add an extra line to indicate the moving average of the Bollinger Bandwidth value. that'd make the Bollinger Bandwidth has two lines.
I know this can be done within the MT4 terminal by hand. I'm trying to make EA by FXDREEMA. this function cann't be done unless Bollinger Bandwidth with a MA line of itself is in the same indicator.

thank you very much.
Added a bbw ma.

Re: Bollinger Band type indicators for MT4

Posted: Tue Apr 06, 2021 2:58 am
by mrtools
RodrigoRT7 wrote: Wed Mar 31, 2021 4:23 pm good night, all right? Is there a possibility to convert this indicator to MT4? it seemed like a very interesting approach. it would be fantastic if you could include a Hull or Mcginley for example. Thank you very much.

https://br.tradingview.com/v/bCy9urOG/

Code: Select all

//@version=2
study("Bollingers Bands Fibonacci ratios",shorttitle="FiBB",overlay=true)
len=input(defval=20,minval=1).........
Think this is close, by default the atr is smoothed with ssma (same as Wilder's ma) and using sma for the middle ma, but added all the averages for more of a selection for both. Named it the short version instead of Bollinger bands fib ratio. Also will see about doing the fill later.

PS: For the template used in our Daily Downloads, please see here: FiBB Fibonacci Bollinger Bands chart template for MT4.

Re: Bollinger Band type indicators for MT4

Posted: Tue Apr 06, 2021 6:21 am
by RodrigoRT7
you are fantastic, Mr Tools !!! this is what I was imagining with my suggestion in the other moving averages post.

Thank you so much :D

Re: Bollinger Band type indicators for MT4

Posted: Tue Apr 06, 2021 4:01 pm
by Jimmy
RodrigoRT7 wrote: Wed Mar 31, 2021 4:23 pm good night, all right? Is there a possibility to convert this indicator to MT4? it seemed like a very interesting approach. it would be fantastic if you could include a Hull or Mcginley for example. Thank you very much.
This is super, I really like this concept. Thank you for the suggestion Rodrigo and for making it possible Mrtools. Even without the fill, it still looks good. But of course, color fill is the best :)

Looks good for scalping retracements and counter-trend, too.

Here is a template if anyone would like to use it.

Re: Bollinger Band type indicators for MT4

Posted: Thu Apr 08, 2021 12:40 am
by nickbyniel1541
talaate wrote: Wed Feb 22, 2017 10:23 pm Thanks mladen for upgrading this indicator, however, I wonder if it can be modified such that the change in the color of the X-axis is taken place in higher time frame than the used in oscillation calculation. I hope I explained clearly.
Can someone plz tell me what's the name of this indicator shown by the arrows?

Re: Bollinger Band type indicators for MT4

Posted: Thu Apr 08, 2021 2:38 am
by mrtools
nickbyniel1541 wrote: Thu Apr 08, 2021 12:40 am Can someone plz tell me what's the name of this indicator shown by the arrows?

bb squeeze.png
It's Mladen's daily data indicator, found a version Here

Re: Bollinger Band type indicators for MT4

Posted: Thu Apr 08, 2021 2:48 am
by nickbyniel1541
mrtools wrote: Thu Apr 08, 2021 2:38 am It's Mladen's daily data indicator, found a version Here
Thank you so much mrtools