Use a. IF ELSE condition instead of using TWO separate IFs
Satyam Shivam #:
Use a. IF ELSE condition instead of using TWO separate IFs
Use a. IF ELSE condition instead of using TWO separate IFs
I tried this...waiting for that scenario again to happen
if(HistoryDealGetInteger(ticket,DEAL_MAGIC) == PositionGetInteger(POSITION_MAGIC) && HistoryDealGetString(ticket,DEAL_SYMBOL) == PositionGetString(POSITION_SYMBOL)) {
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
Let say we have 2 conditions for trailing: Trail with 300000 points at a defined signal. Else trail 100000 points if previous trade was a loss using martingale.
We have 2 Open Positions at 0.2 lots on diff pairs (Boom1000 and Boom500 and Boom500 hits Sl. On candle open, Boom500 a position with 0.4 and trails with 100000. Now the issue that I have is when the other Boom1000 hits Tp the Trail stop for the Boom500 stops wherever it is and whenever Boom1000 hits take profit