Partial Close Isnt letting other half run?
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
Anyone got any ideas?