double iMACD( | string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int mode, int shift) |
-------------
All the commands in MQL that start with "i"...
iCustom()
iTime() iClose() etc etc
allow you to specify any pair any timeframe any bar for data collection/calculation in your EA.
phy:
Calculates the Moving averages convergence/divergence and returns its value. In the systems where OsMA is called MACD Histogram, this indicator is displayed as two lines. In the Client Terminal, the Moving Average Convergence/Divergence is drawn as a histogram.
double iMACD( | string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int mode, int shift) |
-------------
All the commands in MQL that start with "i"...
iCustom()
iTime() iClose() etc etc
allow you to specify any pair any timeframe any bar for data collection/calculation in your EA.
thank you very much
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
hi
1.how do i connect ea to multiple time frame .
for example i have set up in h1
and i need to look at macd in h4
2.if i connect ea to eur-usd and gbp-usd how do i switch between them
how the code refair to the different graph ?