Slope of moving average
Created at 01 Feb 2016, 16:15
Slope of moving average
01 Feb 2016, 16:15
Hello,
i would like to calculate the slope of a moving average.
I know this formula is OK on metatrader 4 :
MathArctan(MathTan(
((price1-price2)/(WindowPriceMax()- WindowPriceMin()))
/
((shift2-shift1)/WindowBarsPerChart())
))
*180/3.14
But i don't know how to have similar functions for WindowPriceMax(), WindowPriceMin() and WindowBarsPerChart() for Calgo.
Does someone could help me please ?
Thanks in advance,
Spotware
04 Feb 2016, 15:32
Dear Trader,
We would like to inform you that we do not provide coding assistance services. We more than glad to assist you with specific questions about cAlgo.API. You can contact one of our Partners or post a job in Development Jobs section for further coding assistance.
@Spotware