I recommend searching codebase for Ronz. It already does what you have put in your bullet points.
@anuj71, please don't misuse the "Complain" link to request removal of your topics. I have cancelled the complaint.
This topic already has other posts, so it will not be removed.
Just continue the discussion here with your new post "with proper explanation and updated code" as per your words in the complaint.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
I am attempting to develop a trailing stop loss feature for my EA. Here is the logic:
I am not sure what mistake I am making; it is not working as expected.
Note: This post is not a duplicate of https://www.mql5.com/en/forum/462040 . The previous post was to understand the concept of Trailing Stop Loss, while this post is to code the Trailing Stop Loss. Please do not mark this thread as a duplicate.