This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
iMA syntax questionBack to topics list |
|
bob12
2005.04.13 13:35
Hi,
I was looking at the MACD Sample expert in MT4 and just noticed something re iMA : 1) somewhere in the expert we have : MaCurrent=iMA(NULL,0,MATrendPeriod,MODE_EMA,0,PRICE_CLOSE,0) 2) in the dictionnary it says the syntax fo iMA should be like : iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift) What i don't understand is that the positions of ma_shift and ma_method seem to be inverted between the expert and the dictionnary definition. What would be the correct syntax ? Thks |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
