Specification
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 endifResponded
1
Rating
Projects
459
39%
Arbitration
95
43%
/
18%
Overdue
73
16%
Working
Published: 2 codes
2
Rating
Projects
1799
61%
Arbitration
14
64%
/
7%
Overdue
84
5%
Free
Project information
Budget
30+ USD
VAT (20%):
6
USD
Total:
36
USD
For the developer
27
USD