Algorithmic Martingale Opposite Order EA

MQL4 Experten

Auftrag beendet

Ausführungszeit 1 Tag

Spezifikation

 

Buy-Stop Price

Sell-Stop

Entry-Price

1500.50

50 (Pips below Buy-Stop entry Price)

 

SL (for all order types)

50 (Pips)

TP (for all order types)

100 (Pips)

Cycle 0

0.05 Standard Lots

Cycle 1

0.10

Cycle 2

0.15

Cycle 3

0.15

Cycle 4

0.20

*colored numbers are variables to be entered

Algorithm

·         EA places 1 Buy Stop Order and 1 Sell Stop Order according to the settings (Cylce 0)

·         If TP is hit, EA should delete all open orders (Success in Cycle 0)

·         If SL is hit, EA should replace stopped-out position with previous order-settings but new lot-size from settings (Cycle 1)

·         If TP is hit, EA should delete all open orders (Success in Cycle 1)

·         If SL is hit, EA should replace stopped-out position with previous order-settings but new lot-size from settings (Cycle 2)

·         If TP is hit, EA should delete all open orders (Success in Cycle 2)

·         If SL is hit, EA should replace stopped-out position with previous order-settings but new lot-size from settings (Cycle 3)

·         If TP is hit, EA should delete all open orders (Success in Cycle 3)

·         If SL is hit, EA should replace stopped-out position with previous order-settings but new lot-size from settings (Cycle 4)

·         If TP is hit, EA should delete all open orders (Success in Cycle 4)

·         IF SL is hit in 4th Cycle, EA should delete all open orders and positions. No more trading.

EA must work for prices like X.XXXXX and prices like XXXX.XX and prices like XX.XX all in the same manner.

Check if you understand:

Initial phase: 2 open stop-orders in both directions with the same lot size

Cycle phase: Always 1 open position in one direction with previous smaller cycle lot-size and 1 open stop order in opposite direction with new (increased) lot-size. Essentially, if one position gets stopped-out, it should be renewed as a new order of the same kind but with increased lot size. The entry point price of an order in one direction is simultaneously the SL price point of the contrary open position.

End-phase: No open position or orders (After TP is hit or after 4th Cycle SL was hit). The EA should never place a new order after one of those events, as soon as TP is hit or 4th cycle was stopped out, the EA should suppress every trading attempt!

 

  

Bewerbungen

1
Entwickler 1
Bewertung
(1092)
Projekte
1772
61%
Schlichtung
14
64% / 7%
Frist nicht eingehalten
84
5%
Frei
2
Entwickler 2
Bewertung
(20)
Projekte
35
23%
Schlichtung
23
17% / 61%
Frist nicht eingehalten
14
40%
Frei

Projektdetails

Budget
20 - 40 USD
MwSt (19%): 3.8 - 7.6 USD
Insgesamt: 23.8 - 47.6 USD
Für die Entwickler
18 - 36 USD
Ausführungsfristen
von 2 bis 6 Tag(e)