Job finished
Execution time 21 hours
Feedback from customer
Mr. Beknazarov was very professional & gave his time and efforts to understand my requirement and fulfilled the code as requested by me. His mark is timely completion of the project.
Feedback from employee
Very good and honest employer! Thank you :)
Specification
Need EA programmer to convert a pine script strategy to MQL5 and then make a code for trading robot based on it which can trade automatically on a 500usd account on xauusd micro account, with entry and exit based on my strategy on variable timeframes especially10 sec, 30 sec, 45 sec, 1 min, 2 min, 45min ,6hr. The strategy has to be backtested on heikin ashi candles only with my rules on above listed timeframe. Break even and trailing stops modules to be added. will need support from beginning till live deployment.
//@version=5
strategy("CCI + KC + BB Combo Strategy", overlay=true,
initial_capital=500,
default_qty_type=strategy.fixed
default_qty_value=0.01lot,
commission_type=strategy.commission.percent,
commission_value=0.01)
// ===== INPUTS =====
cciLength = input.int(100, "CCI Length")
cciMaLength = input.int(20, "CCI MA Length")
bbLength = input.int(20, "BB Length")
bbMult = input.float(2.0, "BB Multiplier")
kcLength = input.int(20, "KC Length")
kcMult = input.float(2.0, "KC Multiplier")
// ===== CCI =====
cci = ta.cci(hlc3, cciLength)
cciMA = ta.sma(cci, cciMaLength)
// ===== BOLLINGER BANDS =====
basis = ta.sma(close, bbLength)
dev = bbMult * ta.stdev(close, bbLength)
bbUpper = basis + dev
bbLower = basis - dev
// ===== KELTNER CHANNEL =====
emaKC = ta.ema(close, kcLength)
atrKC = ta.atr(kcLength)
kcUpper = emaKC + kcMult * atrKC
kcLower = emaKC - kcMult * atrKC
// ===== LONG CONDITIONS =====
longCond1 = ta.crossover(cci, cciMA)
longCond2 = kcUpper > bbUpper
longCond3 = ta.crossover(close, bbUpper)
longCondition = longCond1 and longCond2 and longCond3 and strategy.opentrades == 0
// ===== SHORT CONDITIONS =====
shortCond1 = ta.crossunder(cci, cciMA)
shortCond2 = kcLower < bbLower
shortCond3 = ta.crossunder(close, bbLower)
shortCondition = shortCond1 and shortCond2 and shortCond3 and strategy.opentrades == 0
// ===== ENTRIES =====
if longCondition
strategy.entry("Long", strategy.long)
label.new(bar_index, low, "🟢 Long", style=label.style_label_up, color=color.green)
if shortCondition
strategy.entry("Short", strategy.short)
label.new(bar_index, high, "🔴 Short", style=label.style_label_down, color=color.red, textcolor=color.white)
// ===== EXITS =====
exitLong = ta.crossunder(close, basis)
exitShort = ta.crossover(close, basis)
if exitLong
strategy.close("Long")
if exitShort
strategy.close("Short")
// ===== PLOTS =====
plot(bbUpper, "BB Upper", color=color.blue)
plot(bbLower, "BB Lower", color=color.blue)
plot(kcUpper, "KC Upper", color=color.orange)
plot(kcLower, "KC Lower", color=color.orange)
plot(cci, "CCI", color=color.green)
plot(cciMA, "CCI MA", color=color.red)
Responded
1
Rating
Projects
493
23%
Arbitration
59
56%
/
25%
Overdue
57
12%
Loaded
2
Rating
Projects
90
29%
Arbitration
24
13%
/
58%
Overdue
7
8%
Working
3
Rating
Projects
2925
63%
Arbitration
123
45%
/
25%
Overdue
429
15%
Working
4
Rating
Projects
19
16%
Arbitration
5
40%
/
40%
Overdue
0
Free
5
Rating
Projects
0
0%
Arbitration
5
0%
/
80%
Overdue
0
Free
6
Rating
Projects
1732
49%
Arbitration
53
70%
/
13%
Overdue
38
2%
Free
7
Rating
Projects
59
53%
Arbitration
7
86%
/
0%
Overdue
2
3%
Working
8
Rating
Projects
601
34%
Arbitration
64
20%
/
58%
Overdue
147
24%
Working
Published: 1 article, 22 codes
9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
10
Rating
Projects
3396
68%
Arbitration
77
48%
/
14%
Overdue
342
10%
Free
Published: 1 code
11
Rating
Projects
671
32%
Arbitration
42
45%
/
45%
Overdue
12
2%
Loaded
12
Rating
Projects
5
0%
Arbitration
4
25%
/
75%
Overdue
2
40%
Free
13
Rating
Projects
127
24%
Arbitration
23
30%
/
52%
Overdue
8
6%
Free
14
Rating
Projects
9
22%
Arbitration
0
Overdue
0
Free
15
Rating
Projects
255
21%
Arbitration
23
48%
/
17%
Overdue
0
Loaded
16
Rating
Projects
717
34%
Arbitration
34
71%
/
9%
Overdue
22
3%
Free
17
Rating
Projects
6
50%
Arbitration
0
Overdue
1
17%
Free
18
Rating
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
19
Rating
Projects
24
21%
Arbitration
4
50%
/
25%
Overdue
4
17%
Loaded
20
Rating
Projects
13
15%
Arbitration
13
23%
/
46%
Overdue
3
23%
Free
Published: 29 articles
21
Rating
Projects
4
50%
Arbitration
0
Overdue
0
Working
22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Rating
Projects
553
50%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
24
Rating
Projects
257
53%
Arbitration
16
50%
/
38%
Overdue
83
32%
Free
25
Rating
Projects
2
50%
Arbitration
0
Overdue
0
Free
26
Rating
Projects
43
58%
Arbitration
2
50%
/
0%
Overdue
1
2%
Working
Published: 5 codes
27
Rating
Projects
12
0%
Arbitration
3
33%
/
33%
Overdue
1
8%
Free
28
Rating
Projects
0
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
Published: 1 code
29
Rating
Projects
92
24%
Arbitration
8
75%
/
13%
Overdue
44
48%
Free
30
Rating
Projects
0
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
31
Rating
Projects
170
39%
Arbitration
10
40%
/
10%
Overdue
30
18%
Working
32
Rating
Projects
551
53%
Arbitration
13
69%
/
15%
Overdue
3
1%
Free
33
Rating
Projects
7
0%
Arbitration
3
0%
/
33%
Overdue
1
14%
Working
Project information
Budget
100 - 800 USD