I thought would be nice to post the picture about the portion of the actual strategy.

-1-
This way, there are 3 actions done everytime the code gets a new candle:
-check if there are pending sell orders and close them
-check if there are pending buy orders and close them
-go to the next step and in case conditions are met, new orders will be executed.
-2-
I know it would cost lot of work for that, and probably the function would not be used so much since most of strategies work with direct market orders... but... having a "set entry price" there.... would have been nice
Btw, in jforex coding, the command order.setOpenPrice() ended up in canceling the actual order and creating a new one with new parameters, that's how I came to the conclusion to simply cancel it and later create a new one.
Still had no time to test the assign block but I suspect it would somehow cancel the order and create a new one since that's what actually happens when we modify an order (I mean, from the platform).
