Moving average source code
C:\Program Files\MetaTrader 4.0\experts\indicators\Moving Averages.mq4
Attached in case you can't find it .
C:\Program Files\MetaTrader 4.0\experts\indicators\Moving Averages.mq4
Attached in case you can't find it .
That one is the customer indicator version of the moving average, for some reason it doesnt have "applied to" .
It appears to be fixed to the close price, I wanted to see the source code for the regular moving average that does have the applied to input variable
Anyone know where I can find the source code to moving average ? I want to see how the "applied to" section is coded, especially the weighted close, and the typical price.
MQL5\Include\MovingAverages.mqh same to MQL4
- Look in the code base, there are lots of examples.
- An input variable of applied price.
- Either they compute it directly.
- Or they call SMA(1, input)
Anyone know where I can find the source code to moving average ? I want to see how the "applied to" section is coded, especially the weighted close, and the typical price.