Forum

Problem to reverse position

Hi Guys, I have an EA that on certain conditions, it should reverse the current position. This level, of course, is the same SL for the position. I am doing the following. Modifying position to set new SL (working ok according to the backtest journal) Placing new Buy/Sell Stop with price at the

postion.Volume not updated after position.close

Hi friends, I have a script to only place new orders if position.Volume == 0. THe problem is that even after i've done the position.close, position.volume continues to carry the old position value. In test environment I can see the position.close flattening my position but a Print of