Spécifications
This EA should work for all forex pairs (currencies, metals, etc.)
This EA works by putting advance orders (buy limit, buy stop, sell limit, sell stop) on every Entry point which is decided by ‘trade points (multiples of price steps input)’ and ‘Price’ input, and re-putting orders from the entry price again when the trade is closed (Target/SL)
Total Inputs –
Inputs |
|||||
Lot size: |
|
|
|||
Price Steps : |
|
|
|||
◌ |
Buy Orders- |
|
|||
Price: |
|
Target: |
|
SL: |
|
for re-order: |
|
Price movement: |
|
Time movement: |
|
|
|
||||
◌ |
Sell Orders- |
|
|||
Price: |
|
Target: |
|
SL: |
|
for re-order: |
|
Price movement: |
|
Time movement: |
|
Inputs explained:
1. Price steps:
Price steps input means the difference between 2 trade points from where the advance orders should be put.
For example – In XAUUSD, the difference between 2 trades is 100, i.e. 1500.00, 1501.00, 1502.00 (trade points), it means EA puts buy orders on the difference of every 1.00$
We can say, all the multiples of 1.00$ are the trade points of ‘trade every dollar EA’.
Price Steps : |
100 |
But to make it more flexible and work on all FX pairs, we remove the .(Decimal) from all pairs.
For example:
For XAUUSD – 1500.00, 1500.01, 1500.02… will be 150000, 150001, 150002…
For EURUSD – 1.09400, 1.09401, 1.09402… will be 109400, 109401, 109402…
For USDJPY – 107.700, 107.701, 107.702… will be 107700, 107701, 107702…
For AUDCAD – 0.88600, 0.88601, 0.88602... Will be 088600, 088601, 088602…
And, to put the difference between two trade points, we put ‘Price step input”.
Or, we can say all the multiples of ‘Price step input’ are trade points
For example –
If I put,
Price Steps : |
100 |
All the multiples of 100 are trade points
For example –
For XAUUSD trade points will be – 1500.00, 1501.00, 1502.00… (150000, 150100, 150200…)
For EURUSD – 1.09400, 1.09500, 1.09600… (109400, 109500, 109600…)
For USDJPY – 107.700, 107.800, 107.900… (107700, 107800, 107900…)
For AUDCAD – 0.88600, 0.88700, 0.88800... (088600, 088700, 088800…)
If,
Price Steps : |
200 |
All the multiples of 200 are trade points.
For XAUUSD trade points will be – 1500.00, 1502.00, 1504.00… (150000, 150200, 150400…)
For EURUSD – 1.09400, 1.09600, 1.09800… (109400, 109600, 109800…)
For USDJPY – 107.600, 107.800, 108.000… (107600, 107800, 108000…)
For AUDCAD – 0.88600, 0.88800, 0.89000… (088600, 088800, 089000…)
If,
Price Steps : |
500 |
All the multiples of 500 are trade points.
For XAUUSD trade points will be – 1500.00, 1505.00, 1510.00… (150000, 150500, 151000…)
For EURUSD – 1.09000, 1.09500, 1.10000… (109000, 109500, 110000…)
For USDJPY – 107.500, 108.000, 108.500… (107500, 108000, 108500…)
For AUDCAD – 0.88500, 0.89000, 0.89500… (088500, 089000, 089500…)
IT EFFECTS ONLY WHEN THERE HAD BEEN PREVIOUS TRADE FROM THAT TRADE POINT.
IF THERE WAS NO PREVIOUS TRADE FROM THAT TRADE POINT, THIS INPUT SHOULD NOT MATTER.
NOT, IF IT’S THE 1 STTRADE FROM A TRADE POINT
ONLY VALID ON 2 ND, 3 RD, 4 TH, ETC…
THESE INPUTS DECIDE WHEN TO REPUT A BUY ORDER WHEN THE PREVIOUS TRADE IS COMPLETE (TARGET/Sl)
ANY OTHER TRADE FROM ANY OTHER TRADE POINT SHOULD NOT MATTER
IF THERE IS AN ACTIVE BUY TRADE OPEN FROM A TRADE POINT, IT SHOULD NOT PUT ANY BUY ORDERS FROM THAT TRADE POINT
FOR EXAMPLE:
IF THERE IS AN OPEN BUY TRADE OF 1501.00 (TRADE POINT - 150100), IT SHOULD NOT PUT ANY BUY ORDERS ON 1501.00, TILL THE ACTIVE TRADE IS CLOSED.
ONCE THE TRADE IS COMPLETED (TARGET/SL), WE HAVE 4 OPTIONS TO PUT THE ORDERS AGAIN-
IF I SELECT BOTH, BOTH (BUY & SELL) ORDERS TO BE PUT
BUY ORDERS AND SELL ORDERS HAVE NO CONNECTION BETWEEN THEM.
AND, AUTO DELETE ADVANCE ORDERS WHEN NEEDED BECAUSE OF TRADE LIMIT OF 200 TRADE (ACTIVE OR ADVANCE)
IT SHOULD WORK ON STRATEGY TESTER
ANY OTHER THING YOU GET CONFUSED , YOU CAN ASK ME BEFORE DEVELOPING , SO THAT U WONT NEED TO MODIFY IT AGAIN