I have noticed that there is difference in the price execution between the signal provider's account and the copytrader's account. The copytrader's trading account is late for about 15pips from the signal providers account. Can somebody help me resolve this? Thank you.
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?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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?