Algorithmic Martingale Opposite Order EA

MQL4 Experts

Tâche terminée

Temps d'exécution 1 jour

Spécifications

 

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!

 

  

Répondu

1
Développeur 1
Évaluation
(1090)
Projets
1768
61%
Arbitrage
14
64% / 7%
En retard
83
5%
Gratuit
2
Développeur 2
Évaluation
(20)
Projets
35
23%
Arbitrage
23
17% / 61%
En retard
14
40%
Gratuit
Commandes similaires
Ich benötige einen trading bot der meine Trading Strategie automatisiert ausführt. Die Idee des Handelssystems bezieht sich auf den Dax (1min) sieht aus wie folgt: Es wird gewartet, dass die Asia Range gebrochen wird. Sobald sich ein Wechel im Orderflow etabliert wird, wenn ein ausgeprägtes Fair Value Gap und ein Orderblock vorhanden ist, in die Richtung des neuen Orderflows getradet. Die einzelnen Schritte lassen

Informations sur le projet

Budget
20 - 40 USD
TVA (19%): 3.8 - 7.6 USD
Total: 23.8 - 47.6 USD
Pour le développeur
18 - 36 USD
Délais
de 2 à 6 jour(s)