I have the Chaikin Money Flow indicator form MT4, and it works fine in PRT as well, but I cannot use it in programming, because I don’t have any code.
Is there any ody who has the PRT code for the Chaikin Money Flow indicator?
I have included the MT4 file for those who are able to transform the Mt4 file into PRT.
Thanks
This is the code (not the conversion):
// Chaikin Money Flow custom
//
p = 21
AD = ((CLose- LOw) - (HIgh - CLose)) / (HIgh - LOw) * volume
CMF = SUMmation[p](AD) / SUMMATION[p](volume)
RETURN CMF AS "Chaikin Money Flow",0 AS "0"