Good day,if there's a coder around,please help me with this indicator,following are the instructions for coding:
the indicator must pick up:
A) the value of a given moving average of the last closed bar(the bar previous to the current)
B)the value of the same moving average of the n bar back
-Then display the difference between A) and B)
The customizable parameters for the indicator should consequently be the followings:
-MA type(0=simple,1=exponential)
-MA period
-Bars back(example:if set to 5,the indicator should pick up the 5th last bar).
Very simple,it should be a joke for a professional coder.Thanks.
the indicator must pick up:
A) the value of a given moving average of the last closed bar(the bar previous to the current)
B)the value of the same moving average of the n bar back
-Then display the difference between A) and B)
The customizable parameters for the indicator should consequently be the followings:
-MA type(0=simple,1=exponential)
-MA period
-Bars back(example:if set to 5,the indicator should pick up the 5th last bar).
Very simple,it should be a joke for a professional coder.Thanks.