Can you post the precise piece of code that generated this - without first making any changes to it.
Additionally I notice you haven't output the Bid price, the OrderType() or the OrderSymbol() as requested. I'd also like to see Symbol(). Just checking its not something really straightforward like trying to modify an order from a different symbol to the one you've launched the strategy tester against.
Very weird, it should work. Try to restart the terminal.
I've attached the code as a file. Please be aware i've been trying to fix this problem for some time and I now only change the first case when checking (so i'm not changing 5 others just to have it not work). So the one i'm concerned with is the first case in checking Short positions.
Thanks for the help,
You modifying a sell order and moving the stoploss further up. Is that really what you want? Perhaps the system rejects that.
Its moving it to follow the 55 Period Moving Average (which is optimizable) and the 55 just happens to be further than the initial, i'll look into it though thank you.
Look at this:
case 1 :
while(Bid > SOOP60 && OrdersTotal() > 0 && ma1 != ma1p)