İş Gereklilikleri
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)
Yanıtlandı
1
Derecelendirme
Projeler
486
24%
Arabuluculuk
59
54%
/
25%
Süresi dolmuş
55
11%
Yüklendi
2
Derecelendirme
Projeler
87
29%
Arabuluculuk
24
13%
/
58%
Süresi dolmuş
7
8%
Çalışıyor
3
Derecelendirme
Projeler
2914
63%
Arabuluculuk
124
44%
/
25%
Süresi dolmuş
429
15%
Yüklendi
4
Derecelendirme
Projeler
19
16%
Arabuluculuk
5
40%
/
40%
Süresi dolmuş
0
Serbest
5
Derecelendirme
Projeler
0
0%
Arabuluculuk
5
0%
/
80%
Süresi dolmuş
0
Serbest
6
Derecelendirme
Projeler
1716
49%
Arabuluculuk
52
71%
/
12%
Süresi dolmuş
38
2%
Çalışıyor
7
Derecelendirme
Projeler
54
50%
Arabuluculuk
6
83%
/
0%
Süresi dolmuş
1
2%
Çalışıyor
8
Derecelendirme
Projeler
598
35%
Arabuluculuk
64
20%
/
58%
Süresi dolmuş
147
25%
Serbest
Yayınlandı: 1 makale, 22 kod
9
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Derecelendirme
Projeler
3369
68%
Arabuluculuk
77
48%
/
14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
11
Derecelendirme
Projeler
648
33%
Arabuluculuk
41
41%
/
46%
Süresi dolmuş
11
2%
Meşgul
12
Derecelendirme
Projeler
5
0%
Arabuluculuk
2
50%
/
50%
Süresi dolmuş
2
40%
Serbest
13
Derecelendirme
Projeler
122
24%
Arabuluculuk
21
29%
/
52%
Süresi dolmuş
8
7%
Çalışıyor
14
Derecelendirme
Projeler
9
22%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
15
Derecelendirme
Projeler
243
20%
Arabuluculuk
22
50%
/
18%
Süresi dolmuş
0
Serbest
16
Derecelendirme
Projeler
701
34%
Arabuluculuk
34
71%
/
9%
Süresi dolmuş
22
3%
Serbest
17
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
18
Derecelendirme
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
19
Derecelendirme
Projeler
16
13%
Arabuluculuk
4
50%
/
25%
Süresi dolmuş
4
25%
Yüklendi
20
Derecelendirme
Projeler
13
15%
Arabuluculuk
13
23%
/
46%
Süresi dolmuş
3
23%
Serbest
Yayınlandı: 24 makale
21
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
22
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
23
Derecelendirme
Projeler
553
50%
Arabuluculuk
57
40%
/
37%
Süresi dolmuş
227
41%
Çalışıyor
24
Derecelendirme
Projeler
257
53%
Arabuluculuk
16
50%
/
38%
Süresi dolmuş
83
32%
Serbest
25
Derecelendirme
Projeler
2
50%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
26
Derecelendirme
Projeler
33
61%
Arabuluculuk
1
100%
/
0%
Süresi dolmuş
1
3%
Serbest
Yayınlandı: 5 kod
27
Derecelendirme
Projeler
8
0%
Arabuluculuk
2
0%
/
50%
Süresi dolmuş
1
13%
Çalışıyor
28
Derecelendirme
Projeler
0
0%
Arabuluculuk
1
0%
/
100%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 kod
29
Derecelendirme
Projeler
92
24%
Arabuluculuk
8
75%
/
13%
Süresi dolmuş
44
48%
Serbest
30
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
31
Derecelendirme
Projeler
168
39%
Arabuluculuk
10
40%
/
0%
Süresi dolmuş
29
17%
Yüklendi
32
Derecelendirme
Projeler
549
53%
Arabuluculuk
13
69%
/
15%
Süresi dolmuş
3
1%
Serbest
33
Derecelendirme
Projeler
5
0%
Arabuluculuk
2
0%
/
50%
Süresi dolmuş
1
20%
Çalışıyor
Proje bilgisi
Bütçe
100 - 800 USD