why my simple grid EA has no limit orders ?
-
Hi all
I am crating a simple grid EA, the conditions as follow:
1, total grid orders less than 20,
2, grid size 25.
3, at every grid level, create two orders at same time, one is buy and the other is sell,I have done the project in the following link, but when I test it in a demo account, I found it create only stop buy, and stop sell orders, there is no limit orders .
what is wrong for my project??thanks in advance for the help.my project link:https://fxdreema.com/shared/CffXx7S1c
pls disregards the previouse question and link as its a wrong link.
wayne
-
@waynehan You have to play around the offset base price, if it is positive he puts stop orders, if it is negative he also puts limit orders. Try this way and see:

Another simple way for the same result:

-
@ambrogio , thanks a lot. I will do what you said. once again, thank you