Basically what I need is:
open a buy and a sell with same size lot and TP (no SL)
the first one that hits the target opens a Grid with negative grid size. (supose the sell hits the TP it opens a grid buying as the market goes down those buying are triggered increasing the size lot and the TP)
open the same order of the first hit again (continue to open sell orders with same lot size and TP)
When the first buy order (the last opened) hit the TP the EA close all orders and delete all pending.
Start from number 1 again
So the EA keep opening orders with the trend with same TP and size lot
And opens opposite orders increasing the size lot and the TP (reversal grid)