Help me to create this kind of EA (Grid EA)
Posted: Sun Apr 18, 2010 9:38 am
Hi all
I've found an EA on other forums, it call mGrid EA.
Please someone, can help me to add some new rules to the EA so it can open based on time entry and price entry.
The logic as explain bellow:
First, The EA will open at specific time (Hours), each time entry the EA will have their own lots, pips, level.
Example:
Use Time entry 1: True/False
Entry Time: 4 (H+4 from broker's opening time), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Time entry 2: True/False
Entry Time: 10 (H+10 from broker's opening time), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Time entry 3: True/False
Entry Time: 13 (H+13 from broker's opening time), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
If time entry 1 set up still not have reach it profit target level, the EA will not open it position on time entry 2 and 3.
Second, the EA will open on specific price level, so if the price reach on specific level/price the EA will open it trade position.
Example:
Use Level Entry 1: True/False
Entry Level: 126.52 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Level Entry 2: True/False
Entry Level: 125.58 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Level Entry 3: True/False
Entry Level: 127.69 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Level Entry 4: True/False
Entry Level: 125.58 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Level Entry 5: True/False
Entry Level: 129.56 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
If level entry 1 set up still not have reach it profit target level, the EA will not open it position on level entry 2, 3, 4 or 5.
This EA pure on price action, so it will not need any indicator.
I attach the original EA (mGrid EA)
Thanks for the help...
I've found an EA on other forums, it call mGrid EA.
Please someone, can help me to add some new rules to the EA so it can open based on time entry and price entry.
The logic as explain bellow:
First, The EA will open at specific time (Hours), each time entry the EA will have their own lots, pips, level.
Example:
Use Time entry 1: True/False
Entry Time: 4 (H+4 from broker's opening time), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Time entry 2: True/False
Entry Time: 10 (H+10 from broker's opening time), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Time entry 3: True/False
Entry Time: 13 (H+13 from broker's opening time), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
If time entry 1 set up still not have reach it profit target level, the EA will not open it position on time entry 2 and 3.
Second, the EA will open on specific price level, so if the price reach on specific level/price the EA will open it trade position.
Example:
Use Level Entry 1: True/False
Entry Level: 126.52 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Level Entry 2: True/False
Entry Level: 125.58 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Level Entry 3: True/False
Entry Level: 127.69 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Level Entry 4: True/False
Entry Level: 125.58 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
Use Level Entry 5: True/False
Entry Level: 129.56 (EURJPY), it can be set up manually
Lots: 0.01, it can be set up manually
Level: 3, it can be set up manually
Increment: 8 (5 point + spread), it can be set up manually
Margin Stop: 10, it can be set up manually
If level entry 1 set up still not have reach it profit target level, the EA will not open it position on level entry 2, 3, 4 or 5.
This EA pure on price action, so it will not need any indicator.
I attach the original EA (mGrid EA)
Thanks for the help...