Trailing pending orders

 

Hello, please anyone help me write code in Mql4 for trailing pending orders.  For instance when I open a buy position,  I want my stop loss to be the same as my pending sell stop and trail them as market moves in an uptrend. Same for opposite

Thanks

 

Forum on trading, automated trading systems and testing trading strategies

General rules and best practices of the Forum.

Alain Verleyen, 2023.03.28 20:04

Please don't post randomly in any section. Your question is not related to the section you posted.

MT4/mql4 has it's own section on the forum.

I have moved your topic to the correct section.


 
5155001: please anyone help me write code in Mql4

Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your difficulty.
          No free help (2017)

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum (2018)

We're not going to code it for you (although it could happen if you are lucky or the issue is interesting).
          No free help (2017)

 
I will improve that when I have time. Thank you.