Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
You should help with one grid EA I didn't find anywhere similar.
Settings:
Open to buy - (true or false)
Open to sell - (true or false)
StopLoss - the stop loss value (point), 0 - not used.
TakeProfit - the take profit value (point),
Lots size - fixed lot
GridStep - grid step (point)
Magic number -
---- only display on any time chart these settings (does not affect the operation of EA)---------
( moving averages- the possibility of two value casts displayed on all time chart with these settings, upper right corner below the name of the pair and thus frame transparent )
(displayed text on the chart- H1(Timeframes:1st settings),1.12553(value moving averages:1st settings),( +or- )0.01596(current market price - value moving averages:1st settings) -----the next line of text shown in the graph---- (displayed text on the chart- H1(Timeframes: 2nd settings),1.12553(value moving averages: 2nd settings),( +or- )0.01596(current market price - value moving averages: 2nd settings)
font size:
color of letters:
---1st settings---
Timeframes: (whose setting is displayed on eithertime frimes for the selected symbol)
Period:
Shift:
Method:
Style:
---2nd settings---
Timeframes: (whose setting is displayed on eithertime frimes for the selected symbol)
Period:
Shift:
Method:
Style:
EA monitors market trends and opens buy and sell positions at the same time (by default) and sets SL and TP by default. which he never changes again.
When it first starts, immediately by 10 * (pending order : buy limit and sell limit) by grid rule and 10 * (pending order : buy stop and sell stop) by grid rule, determined by first opening and setting gris step
Because of the delay of the open price, there is an inequality of opening a bay or sell store and it does not respond (should not affect) grid step. The grid-steppe rule continues.
Always checks to see if there are open stores for that value of the grid (buy and sell, takes in consideration+ - actual deviation but it does not affect the grid).
Tracks the price movement and orders in announcement (pending order: buy- sell limit, buy-sell stop ) and deletes the excess pending order of the counterpart by the movement of the market.
Important thing that I didn't find anything similar to is when the TP sets more than GridStep EA they lose the grid in the middle ( due to the entry of open price and grid price ), which is important .Iit should not happen that a grid has an open order and a pending order, because there is one sell and bay for each grid.
Hope i explained it well ....
For any concerns, contact me.