Hi Everyone,
I have an indicator for MT4 - Chaikin Money Flow (CMF) and was wondering if anyone can figure out how to modify the formula to account for NULL values as the VT TRADER's formula (below) does:
_AD:= if(((((C-L)-(H-C)) / (H-L)) * V)=NULL,0,(((C-L)-(H-C)) / (H-L)) * V);
_CMF:= mov(_AD,periods,S)/mov(V,periods,S);
Please find attached the MT4 indicator.
Any help is greatly appreciated!!!
Cheers,
Venge.
I have an indicator for MT4 - Chaikin Money Flow (CMF) and was wondering if anyone can figure out how to modify the formula to account for NULL values as the VT TRADER's formula (below) does:
_AD:= if(((((C-L)-(H-C)) / (H-L)) * V)=NULL,0,(((C-L)-(H-C)) / (H-L)) * V);
_CMF:= mov(_AD,periods,S)/mov(V,periods,S);
Please find attached the MT4 indicator.
Any help is greatly appreciated!!!
Cheers,
Venge.
Attached File(s)
CMF_v1.mq4
1 KB
|
655 downloads