I'm trying to make my own trailing stop, because I want to put my own stop rules.
As a test I made this stop which I put in OnTick () class, but analyzing this stop I noticed that he has a problem, he never stays in profit zone .. always is an amount as a small prejudice .. even if there is a possibility he stay in PROFIT zone ..
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 trying to make my own trailing stop, because I want to put my own stop rules.
As a test I made this stop which I put in OnTick () class, but analyzing this stop I noticed that he has a problem, he never stays in profit zone .. always is an amount as a small prejudice .. even if there is a possibility he stay in PROFIT zone ..
Someone can tell me why ??
Below is a part of the trailing stop ....
I thank everyone for the help ..