
이 전략은 다중 기술 지표를 기반으로 한 일일 거래 시스템으로, RSI 지표, 무작위 지표 ((Stochastic) 와 축점 ((Pivot Points) 을 통합하여 추세 예측과 거래 결정을 수행합니다. 시스템은 시장의 과매상태를 다차원적으로 분석하여 가격 지원 저항 수준과 결합하여 시장의 전환점을 정확하게 포착합니다.
이 전략은 3단계 검증으로 이루어져 있습니다.
거래 신호의 트리거는 다음과 같은 조건을 동시에 충족해야 합니다:
이 전략은 다중 지표 협동 분석을 통해 비교적 완전한 거래 의사 결정 시스템을 구축한다. 시스템은 동력 지표, 변동 지표 및 가격 수준 분석을 통합하여 시장의 주요 전환점을 더 잘 파악할 수 있다. 약간의 뒤처짐 위험이 있지만, 지속적인 최적화 및 개선으로 전략의 안정성과 신뢰성이 더욱 향상될 것으로 전망된다. 거래자는 실내 사용 전에 충분한 재검토를 수행하고 특정 시장 특성에 따라 매개 변수 설정을 조정하는 것이 좋습니다.
/*backtest
start: 2024-02-19 00:00:00
end: 2025-02-16 08:00:00
period: 1h
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=5
strategy("Intraday Leading Indicator Strategy", overlay=true)
// Inputs for the indicators
rsiLength = input.int(14, title="RSI Length")
rsiOverbought = input.int(70, title="RSI Overbought")
rsiOversold = input.int(30, title="RSI Oversold")
stochK = input.int(14, title="Stochastic %K Length")
stochD = input.int(3, title="Stochastic %D Smoothing")
stochOverbought = input.int(80, title="Stochastic Overbought")
stochOversold = input.int(20, title="Stochastic Oversold")
pivotTimeframe = input.timeframe("D", title="Pivot Points Timeframe")
// RSI Calculation
rsi = ta.rsi(close, rsiLength)
// Stochastic Calculation
k = ta.stoch(close, high, low, stochK)
d = ta.sma(k, stochD)
// Pivot Points Calculation
pivotHigh = request.security(syminfo.tickerid, pivotTimeframe, ta.pivothigh(high, 3, 3))
pivotLow = request.security(syminfo.tickerid, pivotTimeframe, ta.pivotlow(low, 3, 3))
// Entry Conditions
longCondition = rsi < rsiOversold and k < stochOversold and close > nz(pivotLow)
shortCondition = rsi > rsiOverbought and k > stochOverbought and close < nz(pivotHigh)
// Exit Conditions
exitLong = rsi > 50 or k > 50
exitShort = rsi < 50 or k < 50
// Execute Trades
if (longCondition)
strategy.entry("Long", strategy.long)
if (shortCondition)
strategy.entry("Short", strategy.short)
if (exitLong)
strategy.close("Long")
if (exitShort)
strategy.close("Short")
// Plot Pivot Levels
plot(pivotHigh, title="Pivot High", color=color.red, linewidth=1, style=plot.style_line)
plot(pivotLow, title="Pivot Low", color=color.green, linewidth=1, style=plot.style_line)