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
515
23%
Arbitration
60
57%
/
25%
Overdue
60
12%
Working
2
Rating
Projects
90
29%
Arbitration
24
13%
/
58%
Overdue
7
8%
Working
3
Rating
Projects
2951
63%
Arbitration
125
44%
/
26%
Overdue
429
15%
Working
4
Rating
Projects
21
19%
Arbitration
5
40%
/
40%
Overdue
0
Free
5
Rating
Projects
0
0%
Arbitration
5
0%
/
80%
Overdue
0
Free
6
Rating
Projects
1734
49%
Arbitration
55
67%
/
16%
Overdue
38
2%
Free
7
Rating
Projects
61
54%
Arbitration
7
86%
/
0%
Overdue
2
3%
Working
8
Rating
Projects
603
34%
Arbitration
65
22%
/
57%
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
3414
68%
Arbitration
77
48%
/
14%
Overdue
342
10%
Free
Published: 1 code
11
Rating
Projects
722
33%
Arbitration
46
48%
/
41%
Overdue
14
2%
Loaded
12
Rating
Projects
6
0%
Arbitration
4
25%
/
75%
Overdue
2
33%
Free
13
Rating
Projects
129
25%
Arbitration
25
28%
/
56%
Overdue
8
6%
Free
14
Rating
Projects
9
22%
Arbitration
0
Overdue
0
Free
15
Rating
Projects
273
21%
Arbitration
24
54%
/
17%
Overdue
0
Working
16
Rating
Projects
721
34%
Arbitration
35
71%
/
9%
Overdue
23
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
32
38%
Arbitration
4
50%
/
25%
Overdue
5
16%
Working
20
Rating
Projects
13
15%
Arbitration
13
23%
/
46%
Overdue
3
23%
Free
Published: 38 articles
21
Rating
Projects
7
57%
Arbitration
1
100%
/
0%
Overdue
0
Free
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
53
57%
Arbitration
2
100%
/
0%
Overdue
1
2%
Free
Published: 5 codes
27
Rating
Projects
12
0%
Arbitration
3
33%
/
33%
Overdue
0
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
174
40%
Arbitration
10
40%
/
10%
Overdue
30
17%
Free
32
Rating
Projects
554
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