Metastock:
LL := Security(".DJI",L);
HH:= Security(".DJI",H);
{avoid division by zero}
Dvs:=If((HH‐Ref(LL ,‐1))+(Ref(HH,‐1)‐LL )=0,.00001,(HHRef(
LL ,‐1)+(Ref(HH,‐1)‐LL )));
MLT P:=If(HHRef(HH,‐1),1,((HHRef(LL ,‐1))‐(Ref(HH,‐1)‐LL ))/dvs));
{avoid division by zero}
Dvsv:=If(V=0,.00001,V);
Sum((MLT P*V),20)/Sum(Dvsv,20);
1. Multiplier = [(High ‐ previous low) ‐
(Previous high ‐ low)] / [(High ‐ previous
low) + (Previous high ‐ low)]
2. Money flow volume = Multiplier ‐ volume
for the period
3. 20‐period MFO = 20‐period sum of money
flow volume / 20‐period sum of volume
Note: Steps 2 and 3 above are similar to the calculation
of the Chaikin money flow (CMF) indicator
Created By | sumana.m |
NinjaTrader Version | 7 |
File Size | 4.5 KB |
Create Date | 09/12/2015 |
# of Downloads | 224 |
Importing to NinjaTrader 7 is Easy!
To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:
- Download the app or add-on file to your desktop
- From the NinjaTrader Control Center window, select the menu File > Utilities > Import NinjaScript
- Select the downloaded file from your desktop
Questions?
Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.