Can you help me to convert this basic formula to afl?
CPM = volume * close
volmax = highest [52] (CPM)
vol = ((CPM * 100 / volmax) * 4 / 5)
volpmed = ExponentialAverage [52] (vol)
CPM2 = (vol - volpmed)
return CPM2 as "CPM"
Thanks
CPM = volume * close
volmax = highest [52] (CPM)
vol = ((CPM * 100 / volmax) * 4 / 5)
volpmed = ExponentialAverage [52] (vol)
CPM2 = (vol - volpmed)
return CPM2 as "CPM"
Thanks