工作已完成
指定
I want a grid EA designed based on my current inputs below, the following input variables required are as followed. The grid EA for those who do not know works on the basis it will open a sell and a buy trade every X amount of pips each way.
Usually we will use the EA on the same pair on two charts and have one on buys only and other on sells only, must work on same currency on different charts!!!
--------------------------------------------------------------------
Place Orders= true or false ( Will enter the grid trades based on pending orders at the size of the grid )
EnteratMarket= True or False ( will enter the grid trades at market price)
Long Only = True or False ( will take buy trades only if true)
Short Only = True or False ( will take sell trades only if true, if both false will take trades like normal)
Grid Distance = 12 ( distance trades are opened )
Lotsize:0.1
Takeprofit( if left blank will close out at set grid distance when next trades are entered )
Stoploss:500
Slippage:5 ( max order slippage)
Spread:5 ( Max Spread opening tradeS)
Numberofsells:1000
NumberofBuys:1000
UseTimefilter= true or false
Start Time: 06:00 (starts trading)
Finish Time:22:00 ( Finishes trading)
Close-End-Of-Day: True or False
Close-End-Of-Day: 22 ( This would close all open trades from the EA at 10pm,)
---------------------------------------------------------------------------------------------------------------------
Safety-Function: True or False
ShutdownEA: 400 ( This will close all open trades from the EA and then go back to normal trading the next day ) The 400 is 400 pips, so if one single trade is down 400 pips it will close all positions and wait for the next day to start trading again based on Start time
---------------------------------------------------------------------------------------------------------------------