I use the code below to find breakeven of all the trades I have a point I close all of them at 0, my question is how can I trail?
After selecting the trade, just after this, you can check if the conditions are met to trail.
if(OrderType() != OP_BUY && OrderType() != OP_SELL) continue;This is mql4, it should be in mql4 section below.
Thank-god Avwerosuoghene Odukudu #:
After selecting the trade, just after this, you can check if the conditions are met to trail. This is mql4, it should be in mql4 section below.
After selecting the trade, just after this, you can check if the conditions are met to trail. This is mql4, it should be in mql4 section below.
Okay, thanks for the reply. the code finds the break-even price if I can find the price level where all trades can be x amount example the price level where all trades are $5

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