first of all, sorry for my late reply, I was busy and in addition, I was trying to figure out the possible bug. What's interesting to me is that when re-writing the code, the EA does it right - so the indicators have the correct output. However, I could not figure out the reason for the wrong TEMA value.
Based on the new-written code, I would say that there was an error somewhere from my side. Therefore, I would like to say sorry for the discussion. By the way, thanks a lot for your support!
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.
Hi Alain,
it's not a bug in my code. Please see the code above (https://www.mql5.com/en/forum/388557/page2#comment_47956842) - everything is described there.
If signal_Long = true, a market buy position is opened.
If signal_Short = true, a market sell position is opened.
Thanks!
Post ALL the relevant code. You didn't post the code where you process the signal and open the position.
first of all, sorry for my late reply, I was busy and in addition, I was trying to figure out the possible bug.
What's interesting to me is that when re-writing the code, the EA does it right - so the indicators have the correct output. However, I could not figure out the reason for the wrong TEMA value.
Based on the new-written code, I would say that there was an error somewhere from my side. Therefore, I would like to say sorry for the discussion.
By the way, thanks a lot for your support!