Banzai wrote: ↑Sat Jul 18, 2020 4:22 pmWeis Wave Volume
https://www.tradingview.com/script/QrCF ... veVolume/
Re: Already Converted TradingView Indicators to MT4 Indicators
#22Banzai wrote: ↑Sun Jul 19, 2020 1:21 amOK, I changed it to square histogram.
I tested on
IC Markets (SC) version: 4.00 build 1264 11 May 2020
Oanda version: 4.00 build 1260 24 Jan 2020
and they work fine.
Maybe use my .ex4 only. Don't put .mq4 in the folder and see what's happened.
This MT4 version doesn't come close to TradingView.
I'm not sure if the colors are right?
For his version, we will call it 1.00, 1.01, 1.02, etc....
For my version, I will call it a,b,c,d,... and attached the letter to his version.

edit, July 24th, 2020, noon, PST
the coder concluded that this indicator doesn't work 100% on MT4.
Please go to TradingView:
https://www.tradingview.com/script/4DvA ... atorv20/

Hi, this doesn't work on my MT4 build 1320.
Is there a possibility to update this one? Would much appreciate it.
Convert Trading view to MT4
#23Hi all,
Im not sure how difficult this is or how time consuming, but if someone is willing would you convert this code for use in MT4 that would be most helpful.
Much appreciated if possible
Thank you.
Im not sure how difficult this is or how time consuming, but if someone is willing would you convert this code for use in MT4 that would be most helpful.
Much appreciated if possible
Thank you.
Code: Select all
//@version=3
//@author=cI8DH
study(title="Accumulation/Distribution Money Flow (ADMF) [cI8DH]", shorttitle="ADMF [cI8DH]", precision=0)
len = input(14, minval=1, title="length") // EMA27 = SMMA/RMA14 ~ lunar month
price_enable = input(true, title="factor price (=money flow)")
AD_weight = input(0.0, minval=0.0, maxval=1.0, step=0.5, title="A/D weight (at 1 all volume is included)")
AD_ratio = nz(change(close)/tr(true)) // 'True Range' fixes issues caused by gaps in price
AD_ratio := (1AD_weight)*AD_ratio+sign(AD_ratio)*AD_weight
trl = min(low,close[1]), trh = max(high,close[1])
vol = if price_enable
volume*hlc3
else
volume
plot(rma(vol*AD_ratio,len), style=line, color=#4477ffff, title="A/D Money Flow")
hline(0, color=#88888888, linestyle=dotted, title="0 line")
Re: Already Converted TradingView Indicators to MT4 Indicators
#24Hello,
Are there any Risk:Reward indicators?
Thanks.
Are there any Risk:Reward indicators?
Thanks.
Re: Convert Trading view to MT4
#25+1 on this requestDeepfreeze wrote: ↑Sun Feb 28, 2021 5:43 pmHi all,
Im not sure how difficult this is or how time consuming, but if someone is willing would you convert this code for use in MT4 that would be most helpful.
Much appreciated if possible
Thank you.
Code: Select all
//@version=3 //@author=cI8DH study(title="Accumulation/Distribution Money Flow (ADMF) [cI8DH]", shorttitle="ADMF [cI8DH]", precision=0) len = input(14, minval=1, title="length") // EMA27 = SMMA/RMA14 ~ lunar month price_enable = input(true, title="factor price (=money flow)") AD_weight = input(0.0, minval=0.0, maxval=1.0, step=0.5, title="A/D weight (at 1 all volume is included)") AD_ratio = nz(change(close)/tr(true)) // 'True Range' fixes issues caused by gaps in price AD_ratio := (1AD_weight)*AD_ratio+sign(AD_ratio)*AD_weight trl = min(low,close[1]), trh = max(high,close[1]) vol = if price_enable volume*hlc3 else volume plot(rma(vol*AD_ratio,len), style=line, color=#4477ffff, title="A/D Money Flow") hline(0, color=#88888888, linestyle=dotted, title="0 line")
thanks!
Re: Absolute Momentum  TradingView to MT4 Indicators
#26Hi Banzai,
I know there are many momentum indicators on this forum but this one seems to be a bit different, even different to the Momentum Normalized v1.mq4 indicator that is available here so I hope that you can spare the time to convert this one from its tradingview code.
After reading the article Absolute Momentum: A Simple RuleBased Strategy and Universal TrendFollowing Overlay posted in this forum here app.php/attach/file/3309284 I searched for an MT4 Absolute Momentum indicator online and I was surprised that I only found one Absolute Momentum indicator and it was on tradingview so here is the code below. Please, could you convert this Absolute Momentum code to MT4 code so we can all test this in our trading strategies to see if it gives us an edge? Thanks.
Code: Select all
study("Absolute Momentum")
p = input(12,minval=1,title = "LookBack Period")
sym = input(title="Symbol", type=symbol, defval="SHY")
sm = input(1,minval=1,title = "Smooth Period")
rc = roc(close,p)
bil = security(sym,"M",close)
bilr = roc(bil,p)
rcdm = rcbilr
srcdm = sma(rcdm,sm)
line = 0
plot(rcdm,color= red,title= "Absolute Momentum" )
plot(srcdm,color = blue,title="Smooth Abs Momentum")
plot(line , color = gray,title="Zero Line")
barcolor(rcdm > 0 ? lime:red)
And here is what the indicator looks like:
I know there are many momentum indicators on this forum but this one seems to be a bit different, even different to the Momentum Normalized v1.mq4 indicator that is available here so I hope that you can spare the time to convert this one from its tradingview code.
After reading the article Absolute Momentum: A Simple RuleBased Strategy and Universal TrendFollowing Overlay posted in this forum here app.php/attach/file/3309284 I searched for an MT4 Absolute Momentum indicator online and I was surprised that I only found one Absolute Momentum indicator and it was on tradingview so here is the code below. Please, could you convert this Absolute Momentum code to MT4 code so we can all test this in our trading strategies to see if it gives us an edge? Thanks.
Code: Select all
study("Absolute Momentum")
p = input(12,minval=1,title = "LookBack Period")
sym = input(title="Symbol", type=symbol, defval="SHY")
sm = input(1,minval=1,title = "Smooth Period")
rc = roc(close,p)
bil = security(sym,"M",close)
bilr = roc(bil,p)
rcdm = rcbilr
srcdm = sma(rcdm,sm)
line = 0
plot(rcdm,color= red,title= "Absolute Momentum" )
plot(srcdm,color = blue,title="Smooth Abs Momentum")
plot(line , color = gray,title="Zero Line")
barcolor(rcdm > 0 ? lime:red)
And here is what the indicator looks like:
Re: Already Converted TradingView Indicators to MT4 Indicators
#27please help teachers, to convert to mt4. thank you
https://www.tradingview.com/script/R8g2 ... erimental/
https://www.tradingview.com/script/R8g2 ... erimental/
Re: Already Converted TradingView Indicators to MT4 Indicators
#28two indicators converted from TradingVIew :
Morphed Sine Wave
https://fr.tradingview.com/script/ZyfG9 ... SineWave/
and
Enhanced Instantaneous Cycle Period  Dr. John Ehlers
https://fr.tradingview.com/script/G3js5 ... hnEhlers/
not sure how to use the latter and the first one is pretty nice
Morphed Sine Wave
https://fr.tradingview.com/script/ZyfG9 ... SineWave/
and
Enhanced Instantaneous Cycle Period  Dr. John Ehlers
https://fr.tradingview.com/script/G3js5 ... hnEhlers/
not sure how to use the latter and the first one is pretty nice

 Morphed Sine Wave 01.mq4
 (4.09 KiB) Downloaded 184 times

 Enhanced Instantaneous Cycle Period  Dr. John Ehlers 01.mq4
 (12.81 KiB) Downloaded 178 times
Re: Already Converted TradingView Indicators to MT4 Indicators
#29Those are two very intriguing codes Jeff and something I haven't seen before. Thank you so much for making them and posting them up
Download over 600+ Free Forex & Trading books from the Trader's Library.
Important: The worst forex brokers of 2021
Important: The worst forex brokers of 2021
ZeroLag Smoothed Cycle
#30another converted code from TradingView
this one is interesting : it creates a pseudo zero lag filtering by filtering two times a differentiated signal (revolving around zero) by half the period and then inverting the phase. Nice trick to implement some kind of "zero lag" filtering
https://fr.tradingview.com/script/8CZDB ... hedCycle/
this one is interesting : it creates a pseudo zero lag filtering by filtering two times a differentiated signal (revolving around zero) by half the period and then inverting the phase. Nice trick to implement some kind of "zero lag" filtering
https://fr.tradingview.com/script/8CZDB ... hedCycle/

 ZeroLag smoothed cycle 02.ex4
 (12.73 KiB) Downloaded 69 times

 ZeroLag smoothed cycle 02.mq4
 (7.95 KiB) Downloaded 100 times