matheau :
Hello, I'm modifying a position once profit reaches a certain level and taking 2 lots of volume out of 4 lots and letting the trade ride. However I'm getting some odd behavior that it will close my second position as well a short time later.
Anyone got any ideas?
Hello, I'm modifying a position once profit reaches a certain level and taking 2 lots of volume out of 4 lots and letting the trade ride. However I'm getting some odd behavior that it will close my second position as well a short time later.
Anyone got any ideas?
You need to declare an array - in this array you will write the position identifier. Before the next partial closing, you should check the array and the position identifier.
Example: Position Close Partial
How would I go about implementing that into my code. I tried it and I wasnt getting much.
Im newer to MQL5 coming from Pinescript and JS. WOuld be a live saver
Im newer to MQL5 coming from Pinescript and JS. WOuld be a live saver
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
Anyone got any ideas?