Fa Zakee :
Hi,
I use this line of code to open a buy in mt5.
trade.Buy(volumeSet,_Symbol,0,(candleOpen-slDifference),(candleOpen+tpDifference));
the issue I get is a new buy would overwrite the previous open position buy sl and tp. Is there a way to not have the overwriting?
Any help is much appreciated.
Read the help document, what are the differences between netting and hedged trading accounts: Basic Principles - Trading Operations
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
Hi,
I use this line of code to open a buy in mt5.
trade.Buy(volumeSet,_Symbol,0,(candleOpen-slDifference),(candleOpen+tpDifference));
the issue I get is a new buy would overwrite the previous open position buy sl and tp. Is there a way to not have the overwriting?
Any help is much appreciated.