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 天