for the CTrade class you advice me the PositionClosePartial function ? Or am I missing something
Best Reguards,
ZeroCafeine.
- www.mql5.com
On the other hand, if I reduce a position from 0.10 to 0.07, is it possible to increase the size of that same position for exemmple to 0.12 ? Or should I open a new position of 0.05 ?
If your account allows hedging: you will have a separate 0.05
if the account does not allow hedge: the 0.05 is added to the running 0.07 and make a 0.12 open position.
tks you Yashar Seyyedin,
To check if my account ?
printf("ACCOUNT_HEDGE_ALLOWED = %G",AccountInfoInteger(ACCOUNT_HEDGE_ALLOWED));
2023.12.14 14:56:05.530 AccountInfo ([SP500],M1) ACCOUNT_HEDGE_ALLOWED = 1
this mean Allowed right ?
When you say separated, isn't it possible to keep the same ticket from the 0.07 position and add 0.05 to it to have a final position of 0.12 with the same ticket?
I think I understand what Hedging means, but I'm having a bit of trouble understanding the logic right now, so I'm going to try a few tests of my own,
Thanks again for your reply. If you have a link or an article, that would be great.
Best Reguards,
ZeroCafeine 😉
When you say separated, isn't it possible to keep the same ticket from the 0.07 position and add 0.05 to it to have a final position of 0.12 with the same ticket?
Thanks again for your reply. If you have a link or an article, that would be great.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi everyone, I hope you're all well.
how to have several stop losses for a single position pls ?
For example: I open one position of 0.10 lot and I would like to have a different stop loss for each 0.01 lot, Do I have to open 10 positions of 0.01 lot?
it's not possible with PositionModify
Thank you in advance for your insights
Best Reguards,
ZeroCafeine 😉