How to report a bug with MT5? - page 3

 
EA_Trader1 #:
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.

 
Hi Alain,

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!