Created
January 23, 2016 20:43
-
-
Save matthewkastor/910ccdf7f2d6283edf01 to your computer and use it in GitHub Desktop.
function for calculating the moving average of the current currency pair in metatrader 4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double GetMovingAverage() { | |
return iMA(NULL,0,MovingPeriod,MovingShift,MODE_EMA,PRICE_TYPICAL,0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment