指定
Hello,
I would like to convert this very simple PRO REAL TIME CODE under MT4 :
Defparam cumulateorders = false // POSITION SIZE n = 1 // TIME startTime = 210000 endTime = 204500 exitLongTime = 80000 exitShortTime =20000 // STOP LOSS & TAKE PROFIT (%) SL = 1 TP = 0.5 Period = 12 // REFERENCE CANDLE AT StartTime if time = startTime THEN amplitude = highest[Period](high) - lowest[Period](low) ouverture = close endif // LONGS & SHORTS // entre StartTime et EndTime if time >= startTime and time <= endTime and dayOfWeek <> 5 AND dayOfWeek <> 0 then buy n shares at ouverture - amplitude limit sellshort n shares at ouverture + amplitude limit endif // Stop Loss & Take Profit set stop %loss SL set target %profit TP // Exit Time if time = exitLongTime then sell at market endif if time = exitShortTime then exitshort at market endif反馈
1
等级
项目
459
39%
仲裁
95
43%
/
18%
逾期
73
16%
工作中
发布者: 2 代码
2
等级
项目
1799
61%
仲裁
14
64%
/
7%
逾期
84
5%
空闲
项目信息
预算
30+ USD
VAT (20%):
6
USD
总计:
36
USD
开发人员
27
USD