double iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)
PERIOD_M1 1 1 分钟
PERIOD_M5 5 5分钟
PERIOD_M15 15 15 分钟
PERIOD_M30 30 30 分钟
PERIOD_H1 60 1 小时
PERIOD_H4 240 4 小时
PERIOD_D1 1440 每天
PERIOD_W1 10080 每星期
PERIOD_MN1 43200 每月
0 (zero) 0 在图表中使用的时间周期.
If i set the timeframe for 120 ,he can cal the two hour's value?
- Next Timeframe
- I can't find the answer to simply ignorant questions...
- Metatrader Mobile How to put a different time frame
zdj229:
Only if you have H2 timeframe data, do you ? have you created it as an offline chart ?
If i set the timeframe for 120 ,he can cal the two hour's value?
no i don't have H2 timeframe data,i can't cal the value in trade time?
zdj229:
no i don't have H2 timeframe data,i can't cal the value in trade time?
no i don't have H2 timeframe data,i can't cal the value in trade time?
You could create your own H2 data store it in an array and the use iMAOnArray() . . . maybe.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register