how to code close a position after diminution of profit to a certain level
2件の返信
こんにちは,
How can I code to take profit at a minimal level after a diminution of it?
Is this correct:
Close100
IF (IsBarOpen is True) && (((Open P/L (( 100 )) > PL1)
And (Open P/L (( 100 )) <= PL)))
それから
Close order with Magic Number: 100;
よろしくお願いします。.
Arthur
0
こんにちは,
you can use the “move SL to break-even” function that can be setup directly with an order to protect your position against becoming a loser trade. Let me know if you need an example for this or if you meant something else
0
2件の返信を表示中 - 1 - 2件目 (全2件中)