Grid system
-
Hello,
I need a little help with grid size. Actually I have custom pips between each level of grid. But I need to have the same level between the first trade and the grid system as follow. Just note that the first sell limit is based on an indicator.

-
@bagheria Never used grid if you put a shared project here ill have a look.
-
-
@bagheria What is block 90 doing? I don't understand that logic.
-
@l-andorrà This block is here just because if MA_FILTER (constant) is TRUE so it take the the block 84 then 80 then 3... and if the parameter is FALSE so it takes the other road (90 then 3...)
-
@bagheria @l-andorrà is correct block 90 has nothing written in it, I think this will always be false so is pointless, the grid buy will place then increase lot every extra position, I would remove the single buy then allow the grid to sort the placements.
-
@jstap I already tried but the idea is to place a first BUY trade immediately (1) and to place a BUY LIMIT above at a certain point of an indicator (2), example at EMA200) and an other BUY LIMIT above with the same pips difference between (1) and (2).
So pips(2)-(1) = pips(3)-(2) = pips(4)-(3)... -
@bagheria Not too sure what you mean, an instant buy/sell will be placed at ask or bid, teed off from the conditions to create this put a pending grid block but have the pending placement the desired pips above/below ask/bid.
-
@jstap That's the problem. Cause first trade at ask/bid ok, but the second one (in the grid), how can I place it at a specify level? Example at the same level of EMA200
-
@bagheria Something like this will do it.

-
@jstap as far is i understand @bagheria wants to make more than 2 trades which always depend on the actual distance between certain trades (1st grid)
so i would recommend him to get the distance as value and add or substract from the highest or lowest price depending on buy or sell positions.
This enables him to either bring as many pending orders as he wants, but brings many orders. Therefore better checks if the current price is equal or better to open of the last trade plus or minus the grid size level and open a new trade, so you dont have to deal with pending orders at all.
-
Hello all,
Thanks for your return. Unfortunately I will test your solutions only this afternoon. I can't do before. i will post you my results just after.
-
@bk7 Thanks for your reply, I think your solution is closer of my wish. Can you draw something on fxdreema to show me how can it work please?
Thanks a lot
-
@jstap I confirm that it doesn't work cause I have always the grid size per pips and it is not the value between the first order and the second order...
-
Hello all,
I bring this topic up because I really need it.
I open a long position (BUY NOW) and I have to place 2 trades below in case the prices drop. The first level is up to the MM200 (first Pending Order), the second level must be the difference in pips between the "BUY NOW" taken first and the trade taken previously (first Pending Order). It is this difference to calculate that I cannot put in place (between the 1st Pending Order and the second Pending Order).
Thnaks for your help!
-
@bagheria Not sure I fully catch it. Can you please add a screenshot with an example?