I'm just starting to explore MQL5, and I created a simple EA using the generator. I want each trade to have a trailing stop, so I included the Fixed Trailing Stop class. Now, when a new trade is made using the EA, no trailing stops are set, am I missing something?
Also, as I'm so new, I'm confused how the concept of signals affects the EA. Am I right in assuming that the terminal responds to the EA, and not the signal as such, and the CExpert class that is used in the sample code should be extended if additional logic is to be used before sending a trade signal?
Also, do I need to set EveryTick to true, or is it true by default?
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.
I'm just starting to explore MQL5, and I created a simple EA using the generator. I want each trade to have a trailing stop, so I included the Fixed Trailing Stop class. Now, when a new trade is made using the EA, no trailing stops are set, am I missing something?
Also, as I'm so new, I'm confused how the concept of signals affects the EA. Am I right in assuming that the terminal responds to the EA, and not the signal as such, and the CExpert class that is used in the sample code should be extended if additional logic is to be used before sending a trade signal?
Also, do I need to set EveryTick to true, or is it true by default?
Thanks