Algorithmic Martingale Opposite Order EA

MQL4 エキスパート

仕事が完了した

実行時間1 日

指定

 

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!

 

  

応答済み

1
開発者 1
評価
(1092)
プロジェクト
1772
61%
仲裁
14
64% / 7%
期限切れ
84
5%
2
開発者 2
評価
(20)
プロジェクト
35
23%
仲裁
23
17% / 61%
期限切れ
14
40%

プロジェクト情報

予算
20 - 40 USD
VAT(付加価値税) (19%): 3.8 - 7.6 USD
合計: 23.8 - 47.6 USD
開発者用
18 - 36 USD
締め切り
最低 2 最高 6 日