
이 전략은 단기, 중기 및 장기 이동 평균 사이의 관계를 분석하여 운동량 지표와 거래량 확인을 결합하여 시장 추세가 명확한 경우에 거래를 수행합니다. 이 시스템은 또한 지지점 및 저항점 분석을 도입하여 거래의 정확성을 더욱 향상시킵니다.
이 전략은 다음과 같은 핵심 요소들에 기반합니다.
이 전략은 종합적인 트렌드 추적 시스템으로, 다수의 기술적 지표의 조화를 통해 거래의 신뢰성을 보장하면서도 어느 정도의 위험 제어 능력을 갖추고 있다. 전략의 핵심 장점은 다차원적인 분석 방법이지만, 동시에 전략의 성능에 대한 시장 환경의 영향을 주의해야 한다. 지속적인 최적화와 개선으로, 이 전략은 실제 거래에서 더 나은 성능을 기대한다.
/*backtest
start: 2022-02-09 00:00:00
end: 2025-02-06 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Advanced EMA + MACD + RSI Strategy with Support/Resistance", overlay=true)
// Parametreler
shortEMA = input(5, title="Kısa Vadeli EMA (5)")
mediumEMA = input(14, title="Orta Vadeli EMA (14)")
longEMA = input(34, title="Uzun Vadeli EMA (34)")
extraLongEMA = input(55, title="Ekstra Uzun Vadeli EMA (55)")
rsiLength = input(14, title="RSI Periyodu")
macdShortLength = input(12, title="MACD Kısa Periyot")
macdLongLength = input(26, title="MACD Uzun Periyot")
macdSignalLength = input(9, title="MACD Signal Periyot")
volumeMultiplier = input(1.5, title="Hacim Çarpanı")
// EMA Hesaplamaları
ema5 = ta.ema(close, shortEMA)
ema14 = ta.ema(close, mediumEMA)
ema34 = ta.ema(close, longEMA)
ema55 = ta.ema(close, extraLongEMA)
// MACD Hesaplamaları
[macdLine, signalLine, _] = ta.macd(close, macdShortLength, macdLongLength, macdSignalLength)
macdHist = macdLine - signalLine
// RSI Hesaplaması
rsi = ta.rsi(close, rsiLength)
// Destek ve Direnç Hesaplamaları (en yüksek ve en düşük değerler)
highestHigh = ta.highest(high, 20)
lowestLow = ta.lowest(low, 20)
// Hacim Kontrolü
avgVolume = ta.sma(volume, 20)
volumeCondition = volume > avgVolume * volumeMultiplier
// Alım ve Satım Koşulları
longCondition = ema5 > ema14 and ema14 > ema34 and ema34 > ema55 and close > ema34 and macdHist > 0 and rsi > 50 and volumeCondition
shortCondition = ema5 < ema14 and ema14 < ema34 and ema34 < ema55 and close < ema34 and macdHist < 0 and rsi < 50 and volumeCondition
// Alım ve Satım İşlemleri
if (longCondition)
strategy.entry("Long", strategy.long)
if (shortCondition)
strategy.entry("Short", strategy.short)
// Grafik Üzerinde Göstergeler
plot(ema5, color=color.blue, title="5 EMA")
plot(ema14, color=color.green, title="14 EMA")
plot(ema34, color=color.red, title="34 EMA")
plot(ema55, color=color.purple, title="55 EMA")
hline(50, "RSI 50", color=color.gray, linestyle=hline.style_dotted)
plot(highestHigh, color=color.orange, title="Direnç", linewidth=2)
plot(lowestLow, color=color.red, title="Destek", linewidth=2)