Page 148 of 210

Re: Bollinger Bands type indicators for MT4

Posted: Tue Dec 20, 2022 11:31 am
by mrtools
chickensword wrote: Tue Dec 20, 2022 7:30 am May Mr Tools please give it this color look please? I’m not sure if this donchian channels in the picture I found on instagram also
With gratitude !
Not sure what type of channel that is don't think a donchian channel would work.

Re: Bollinger Bands type indicators for MT4

Posted: Tue Dec 20, 2022 11:49 am
by Chickenspicy
mrtools wrote: Tue Dec 20, 2022 11:31 am Not sure what type of channel that is don't think a donchian channel would work.
Maybe acd pivots? I don’t have my computer at this time
Wasn’t it

Re: Bollinger Bands type indicators for MT4

Posted: Tue Dec 20, 2022 2:50 pm
by Chickenspicy
mrtools wrote: Tue Dec 20, 2022 7:58 am Not sure if I can do it or not, will give it a try.
Closer looking, it looks like a set space/distance that shifts according breaking the lows or highs
The Moving Space :lmao: instead of moving average

Re: Bollinger Bands type indicators for MT4

Posted: Wed Dec 21, 2022 6:37 am
by Chickenspicy
mrtools wrote: Tue Dec 20, 2022 11:31 am Not sure what type of channel that is don't think a donchian channel would work.
I found it Mr Tools :In Love:

Code: Select all

//@version=2
study("Motion To Attraction Channels",shorttitle="MTA-Channels",overlay=true)
length = input(14)
//
alpha = 1/length
a = close > nz(A[1],close) ? close : nz(a[1],close)
b = close < nz(B[1],close) ? close : nz(b[1],close)
c = change(b) ? nz(c[1]) + alpha : change(a) ? 0 : nz(c[1])
d = change(a) ? nz(d[1]) + alpha : change(b) ? 0 : nz(d[1])
//
avg = avg(a,b)
A = c*avg+(1-c)*a
B = d*avg+(1-d)*b
//
plot(A,color=#0080FF,transp=0),plot(B,color=#FF0040,transp=0) 

Re: Bollinger Bands type indicators for MT4

Posted: Wed Dec 21, 2022 6:50 am
by mrtools
chickensword wrote: Wed Dec 21, 2022 6:37 am I found it Mr Tools :In Love:

Code: Select all

//@version=2
study("Motion To Attraction Channels",shorttitle="MTA-Channels",overlay=true)
length = input(14)
//
alpha = 1/length
a = close > nz(A[1],close) ? close : nz(a[1],close)
b = close < nz(B[1],close) ? close : nz(b[1],close)
c = change(b) ? nz(c[1]) + alpha : change(a) ? 0 : nz(c[1])
d = change(a) ? nz(d[1]) + alpha : change(b) ? 0 : nz(d[1])
//
avg = avg(a,b)
A = c*avg+(1-c)*a
B = d*avg+(1-d)*b
//
plot(A,color=#0080FF,transp=0),plot(B,color=#FF0040,transp=0) 
Image
Cool lets see if I can translate it.

Re: Bollinger Bands type indicators for MT4

Posted: Thu Dec 22, 2022 11:33 am
by Chickenspicy
Any update Mr tool ¯\_(ツ)_/¯ I would assume was foreign language or too powerful

Re: Bollinger Bands type indicators for MT4

Posted: Thu Dec 22, 2022 11:58 am
by mrtools
chickensword wrote: Thu Dec 22, 2022 11:33 am Any update Mr tool ¯\_(ツ)_/¯ I would assume was foreign language or too powerful
No haven't got it straight yet in my head how to code it. Sometimes an idea comes right away other times something sparks it.

Re: Bollinger Bands type indicators for MT4

Posted: Fri Dec 23, 2022 9:44 am
by Chickenspicy
kvak wrote: Wed Apr 20, 2022 10:30 pm
Hey there Kvak do you think you could help us translate the above Motion Attraction indicator? Much appreciated

Re: Bollinger Bands type indicators for MT4

Posted: Fri Dec 23, 2022 11:14 am
by kvak
chickensword wrote: Fri Dec 23, 2022 9:44 am Hey there Kvak do you think you could help us translate the above Motion Attraction indicator? Much appreciated
Hello, I think that this is out of my skill...

Re: Bollinger Bands type indicators for MT4

Posted: Fri Dec 23, 2022 2:10 pm
by Chickenspicy
kvak wrote: Fri Dec 23, 2022 11:14 am Hello, I think that this is out of my skill...
Okay hmm maybe I’ll try paying someone in the near future idk where to look for that kind of service if you know a place it would be helpful