Problem: Block Buy Pending Orders in grid with Formula Resul
-
MQL4 Local version build 065
When I enter a numeric value for the right Operatnen in the block "Formula Result" , then I get the right calculation in the block "buy orders pending in grid" . When I enter a variable from the variable list (see picture) in the tester does the calculation only once right , then undefined stops are calculated for the following grids.
The Block 'Buy pending order grid' does not work with a varible?
......
FormulaResult work not in BuyPendingOrder.jpg
BuyPendingOrderGrid.jpg -
Once you have Ask - pips (as price fraction) - this works. But on the first pic you have directly "pips (as price fraction)", and because you selected "Dynamic level" it probably places SL somewhere near to 0. Try with "Dynamic digits" (I will replace this word "digits" with "price fraction" in future, but now just to know - it's the same format, something like 0.0010).
-
If you do is like on the pic., then all pending orders will have the same stoppvalue. But when it is not just a value (200) is do not works.
Is there a possibility to start with a 'same stop for all orders', if the first pending order of a grid is equal to the price?
-
I think so. You can always try it.