We Must Open 8 Level Pending Order buy and sell..
And Lot of next level is not 2x before...
Here the level :
level Pos Lot Price Take Profit
1.... Buy 0,1 1,9500 1,9520
2.... Buy 0,1 1,9480 1,9500
3.... Buy 0,2 1,9460 1,9480
4.... Buy 0,4 1,9440 1,9460
5.... Buy 0,8 1,9420 1,9440
6.... Buy 1,6 1,9400 1,9420
7.... Buy 3,2 1,9380 1,9400
8.... Buy 6,4 1,9360 1,9380
ex spread : 3
level Pos Lot Price Take Profit
1.... Sell 0,1 1,9497 1,9477
2.... Sell 0,1 1,9477 1,9557
3.... Sell 0,2 1,9457 1,9437
4.... Sell 0,4 1,9437 1,9417
5.... Sell 0,8 1,9417 1,9397
6.... Sell 1,6 1,9397 1,9377
7.... Sell 3,2 1,9377 1,9357
8.... Sell 6,4 1,9357 1,9337
We can modified the level higher or lower lot. But here the basic in order to make it easier to code.
Why we should open 8 level.. because sometimes the price move fast up or down. So it will protect the level easily.
As you see if the TP hit all pending order in the same position will be delete. and if next level are executed so the TP of above level must be set to the current level.
Thanks you
