작업 종료됨
명시
Hi,
I need an EA it will start trading from the current price when I will apply with the inputs given below.
Lot size: 1
Entry distance: 10 (pips)
TP : 20
SL : 40
Repeat order : true/false
Net profit: 500
Total Orders: 40
Reset EA : True/False
Magic No. 1234
Equity stop : 1000
As I will apply EA it will put first 2 orders as limit orders. Buy stop and sell stop with TP and SL according to input. After that it will keep on trading by mkt orders in a grid style according to entry distance.
Suppose EURUSD current price is 1.0830 when I apply EA. It will put 2 limit orders as
Buy stop = 1.0840 SL: 1.0800 TP: 1.0860
Sell stop = 1.0820 SL: 1.0860 TP: 1.0800
These 2 limit orders will be placed after that each order system will execute as mkt order for example when buy stop will meet @ 1.0840 then next buy entry will be done @ 1.0850 then 3rdbuy will be done @ 1.0860 and keep on buying according to the input total orders. If total orders=3 then after buy entry of 1.0860 system will not buy anymore but in case after buying mkt goes down then each entry stop will met according to SL. As mkt moves up again the same entries on same level will be repeated means all 3 entries will be bought again on same level as before. 1.0840 , 1.0850, 1.0860 if Input repeat orders = True. But if its false then these entries will not be repeated. It should be able to execute minimum 40 orders and repeat them in case of stop loss meet only. IF TP or net TP will met then all orders will be closed and EA will restart trading from that price same as before if Restart EA = true.
If restart EA = false then after hiting TP or Net TP the EA will stop trading until I apply it again or change the Magic no.
So basically it will trade in a grid style in which first 2 orders will be limit order and rest of the orders will be mkt orders and system will repeat them in case of stop hiting even mkt will hit stop 1000 time but system will keep on repeating until TP or Net tp will not met. If repeat order is true.
If reset EA is true then after meeting TP or Net tp EA will start again in same way first 2 orders limit orders and continue according to the input but if Reset EA is false then it will stop when TP or Net tp will meet.
Net Profit = Profit of all active orders (Accumulative profit)
I hope all points are clear.