SPECIFICATIONS:
Hello programmers,
i need this new EA with the following Settings:
- Magic number = The magic number differentiates trades with other pairs.
- Spreads Protection = when spreads are more than defind, ea will not open any other,: But ea keep trading if we already have open order on that pair.
- LotSize = I need only static lotsize, No lot addition or multiplying.
- Reverse Trade= TRUE/FALSE = When false, EA opens BUY/SELL LIMITS. AND When True, EA Opens BUY/SELL Stops
- Close All Orders in Profits = EA closes all orders on that pair when the total trades gets to the define number of profits in MONEY
- Close all Orders in Loss = EA Closes all orders on that pair when the total trades get to the defined number of loss in money
- Trailing Stop In Loss = This setting will work only for first order that is executed and went in loss; Trailing deactivated when hedge/opposite order is executed.
- Trailing Stop in Profit = This setting will work only for first order that is executed and goes in profit: Trailing deactivated when hedge/opposite order is executed
- Distance between Pending orders = This is the distance between BUY/SELL LIMITS.
- Hedge Addition = This is the number of Hedge orders to add at the opposite order.
- Number Of pips to Modify pending Order= This is the number of pips the opposite pending limit/stop will modify towards the direction of the filled/market order.
Modification is done in every new bar.
- Time to Trade = This is time allowed for ea to open an order.
STRATEGY:
EXAMPLE WITH ONE DIRECTION BUY (BUT SAME WHEN SELL IN INVOLVED):
Example: Using the following settings.
-lotsize = 0.1
-Distance Between Pending Orders =20 PIPS
-Hegde Addition =1
-Number Of pips to Modify pending Order = 3 : This means trailing/moving pending order every new bar towards the current executed order.
1) EA will open BUY AND SELL Pending Limits at a distance.
2) When BUY Limit get executed , Using (Hedge Addition =1),EA should add SELL limit at same lot and same price.This is done continually for every side in this situation.
3) For every new bar opened for already executed BUY ORDER/ORDERS, EA Modifies SELL Limits towards BUY orders.
-Modification towards BUY is constant for the executed trending side.
FUTHER DISCUSSION ON SKYPE
Thank you