"Ontrade" Price order modified block?
-
Hello, I would like to know what would be the easiest way to detect if a pending order has been modified (changed price), I have tried to emulate it but only modifying the code of the "OnTradeListener ()" function in the code and it is very difficult for me the compilation. Any suggestions?
-
I guess that I should make a block like "Order price modified", but I think that the existing "Order stops modified" also detects that event... because when you are moving the price, you are normally moving the whole order.
-
Any suggestions on how to do it without having to modify the mq4 code? the block to modify stops does not work for that if the order does not have stops at the moment it moves
-
Why dont you set some arbitrary stop on the order, like 9000 pips?
-
@roar Hello, I just need to know if your opening price has been modified, I do not want to make any other changes to the order, I'll have to wait for this improvement or continue modifying the source code of fxdreema (something complex) or create a custom routine
-
@reyxv16 I didn't fully understand you, but how are your orders moving? Automated or manual? If you have automated the moving, then you could simply store the price to a variable and then check if that variable changes..
-
I added a new block "Order moved" under "on Trade"