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
Contact your broker please, we can't help you here.
They have freezed my account I am unable to withdraw 909usdt
We can't help you here, contact your broker please.
Your money can get out, the same way they get in, through your broker.
MQL5.com is not a broker, nor has anything to do with your trading account money.
iMACD value on chart
An example of how to create a handle to the MACD indicator. An example of how to get the MACD indicator values on the last three bars. Remember the main rule: you need to create an indicator handle once (the best option is to create a handle in OnInit).
Full code:
Result:
hello, I added macd feature to my robot but it doesn't work. My goal is to close the position if the difference between the macd line and the signal line is too much. would you be helpful?