İş tamamlandı
İş Gereklilikleri
Hi experienced grid EA programmers,
i have a request about a simple grid EA, maybe it already exists in the market ;-)
Panel with Start / Stop to manual places the grid orders (for buy or sell) manually. Only available when there are no ope trades of the EA already in the market. If there are open trades, buttons are blocked. 3 Buttons: Start Buy / Start Sell / Stop
Inputs
Start hh:mm --> The EA places the grid orders, based on two Moving averages, parameters must be adjustable in the EA, if the close of the candle is above first MA then long, if close of candle is below second MA then short , Input of 00:00 disables this
End hh:mm --> End of detecting signal from MA, is no signal, no trade.
Close hh:mm --> EA closes all open oders and cancels all pending orders
Risk Lot --> Fixed lot size for first order
Risk % --> of equity for first order, if this has an entry it overrules Risk Lot
Grid space --> Space in Points / Pips, must work correctly on every 2 or 3 or 4 or 5 digit asset
Grid mult --> Lot Multiplicator from first to second to third ... order. Mult 1 means all lot sizes are the same
Grid count --> how many grid trades should be placed, if it is 1 then only first order is placed
Grid TP Points --> How many points / pips must all grid trades achieve for TP
Grid TP Money --> How much € win must all grid trades achieve. If this has an entry it overrules the Grid TP Points
Grid SL Points --> How many points / pips may all grid trades loose
Grid SL Money --> How much € win may all grid trades loose. If this has an entry it overrules the Grid SL Points
Logic
If the EA opens the first order, doesnt matter if by panel or cuz start time is triggered, two additional pending orders are placed (Grid count > 1). Lets assume the first order is a buy order. Then two buy pending orders are placed, reagarding Grid space setting. If the buy order in long direction is triggered, the next buy order will be placed (Grid count > 2, if Grid count = 2, no new orders should be placed and the exisiting pending buy order shoudl be deleted). The exisiting pending buy order stays (Grid count > 2). When the price moves down and triggers this pending buy another pending buy below and regarding the Grid space should be placed. The stop loss for all the orders is adjusted to the same level as calculated by Grid SL Points or Grid SL Money
Other example: Grid count is 4. I manually (panel) open a buy order at 10000. Grid space is 100. The EA places two pending buy at 10100 and 9900. Price moves down and triggers the 9900. The EA places a new pending buy at 9800. Price triggers 9800. EA places a new pending buy at 9700. This order numkber 4 is also triggered. EA deletes the pending buy at 10100. If Grid SL Points is 1000 the SL level would be at 9600 (400 + 300 + 200 + 100)
Other example: Grid count is 3, Grid space is 100 again. The EA opens a long trade cause close of candle was above first MA at 12100. Two pending buy at 12200 and 12000. 12200 is triggered, another pending at 12300. Price moves down and trigger the pending order at 12000. The 12300 is deleted. All three orders will go into TP or SL.
I expect high professional developers that programmed grid ea´s before and do not reinvent the wheel for hundreds of bucks. Also testing it before giving it to the customer, asking before make it wrong.