Banzai wrote: Sat Jul 18, 2020 4:22 pm Weis Wave Volume
https://www.tradingview.com/script/QrCF ... ve-Volume/

Banzai wrote: Sat Jul 18, 2020 4:22 pm Weis Wave Volume
https://www.tradingview.com/script/QrCF ... ve-Volume/
Banzai wrote: Sun Jul 19, 2020 1:21 am
OK, 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 ... ator-v2-0/
------------------------------------------------------------------------------------
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 := (1-AD_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")
+1 on this requestDeepfreeze wrote: Sun Feb 28, 2021 5:43 pm Hi 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 := (1-AD_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")
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 = rc-bilr
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)
Those are two very intriguing codes Jeff and something I haven't seen before. Thank you so much for making them and posting them up