Download MetaTrader 5

Translate MetaStock code

To add comments, please log in or register
Steven Van Ingelgem
839
Steven Van Ingelgem  

Hello,

 

I was wondering if someone could tell me how to translate the following into MQL4:

Mov(H-L,period,S)

 It's the simple moving average of 'H-L' with the parameter "period".

 That I understand.

 

What I don't is how to calculate it over "H-L"... 

Alexander Puzanov
34079
Alexander Puzanov  
svaningelgem:

What I don't is how to calculate it over "H-L"... 

See PRICE_MEDIAN
Documentation on MQL5: Standard Constants, Enumerations and Structures / Indicator Constants / Price Constants
Documentation on MQL5: Standard Constants, Enumerations and Structures / Indicator Constants / Price Constants
  • www.mql5.com
Standard Constants, Enumerations and Structures / Indicator Constants / Price Constants - Reference on algorithmic/automated trading language for MetaTrader 5
To add comments, please log in or register