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.
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.
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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: Bid - 1.3838 type - 1 stop - 1.3898 newstop - 1.4034
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: OrderModify error 1
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: Bid - 1.3838 type - 1 stop - 1.3898 newstop - 1.4034
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: OrderModify error 1
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: Bid - 1.3838 type - 1 stop - 1.3898 newstop - 1.4034
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: OrderModify error 1
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: Bid - 1.3838 type - 1 stop - 1.3898 newstop - 1.4034
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: OrderModify error 1
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: Bid - 1.3838 type - 1 stop - 1.3898 newstop - 1.4034
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: OrderModify error 1
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: Bid - 1.3838 type - 1 stop - 1.3898 newstop - 1.4034
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: OrderModify error 1
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: Bid - 1.3838 type - 1 stop - 1.3898 newstop - 1.4034
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.
CB
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,
BB
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: OrderModify error 1
2009.09.16 12:42:01 2009.01.02 10:02 NEW_Code Test 4_Working Lebeaus MA POS SIZE EURUSD,H1: Bid - 1.3838 type - 1 stop - 1.3898 newstop - 1.4034
You modifying a sell order and moving the stoploss further up. Is that really what you want? Perhaps the system rejects that.
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:
It's endless. You didn't fresh dates. Especially in tester it won't work.