Type/to search

변동성 지표와 스토캐스틱 지표를 기반으로 한 다중 시간대 거래 전략

Common strategy
Created: 2023-12-21 14:34:42
Last modified: 3 years ago
1
Follow
1802
Followers

img

개요

본 전략은 변동성 지표 VIX와 스토캐스틱 지표 RSI를 융합하여, 서로 다른 시간 주기 지표의 조합을 통해 효율적인 돌파 매수와 과매수/과매도 시 손절 청산을 구현합니다. 전략 최적화 여지가 크며, 다양한 시장 환경에 적용할 수 있습니다.

전략 원리

  1. VIX 변동성 지표 계산: 최근 20일간의 최고가와 최저가를 사용하여 변동성을 계산합니다. 변동성이 상단 밴드보다 높으면 시장의 공포, 하단 밴드보다 낮으면 시장의 안일함(Complacency)을 의미합니다.

  2. RSI 스토캐스틱 지표 계산: 최근 14일간의 등락폭을 사용하여 계산하며, RSI가 70을 초과하면 과매수 구간, 30 미만이면 과매도 구간입니다.

  3. 두 지표를 융합하여 변동성이 상단 밴드 또는 최고 백분위수보다 높을 때 매수하고, RSI가 70을 초과하면 청산합니다.

전략 장점

  1. 여러 지표를 융합하여 종합적으로 시점을 판단합니다.
  2. 서로 다른 시간 주기 지표가 상호 검증되어 의사 결정 정확도를 높입니다.
  3. 파라미터를 최적화하여 다양한 거래 종목에 적용할 수 있습니다.

리스크 분석

  1. 파라미터 설정 부적절 시 여러 번의 허위 신호가 발생할 수 있습니다.
  2. 단일 청산 지표는 가격 반전을 놓치기 쉽습니다.

최적화 제안

  1. 이동평균선, 볼린저 밴드 등 추가 검증 지표를 도입하여 진입 시점을 판단합니다.
  2. 반전 캔들 패턴 등 추가 청산 지표를 도입합니다.

요약

본 전략은 VIX 지표로 시장 시점과 리스크 수준을 판단하고, RSI 지표를 결합하여 과매수/과매도의 불리한 거래 지점을 필터링함으로써 효율적인 시점에 매수하고 적시에 손절합니다. 전략 최적화 여지가 크며, 더 폭넓은 시장 환경에 적용할 수 있습니다.

Source
Pine
/*backtest
start: 2023-11-20 00:00:00
end: 2023-12-20 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © timj
Strategy parameters
Strategy parameters
lookback length of Stochastic
Stochastic overbought condition
Stochastic oversold condition
smoothing of Stochastic %K
moving average of Stochastic %K
lookback length of RSI
RSI overbought condition
RSI oversold condition
LookBack Period Standard Deviation High
Bolinger Band Length
Bollinger Band Standard Devaition Up
Look Back Period Percentile High
Highest Percentile - 0.90=90%, 0.95=95%, 0.99=99%
-------Text Plots Below Use Original Criteria-------
Show Text Plot if WVF WAS True and IS Now False
Show Text Plot if WVF IS True
-------Text Plots Below Use FILTERED Criteria-------
Show Text Plot For Filtered Entry
Show Text Plot For AGGRESSIVE Filtered Entry
Long-Term Look Back Current Bar Has To Close Below This Value OR Medium Term--Default=40
Medium-Term Look Back Current Bar Has To Close Below This Value OR Long Term--Default=14
Entry Price Action Strength--Close > X Bars Back---Default=3
-------------------------Turn On/Off ALERTS Below---------------------
----To Activate Alerts You HAVE To Check The Boxes Below For Any Alert Criteria You Want----
Show Alert WVF = True?
Show Alert WVF Was True Now False?
Show Alert WVF Filtered?
Show Alert WVF AGGRESSIVE Filter?
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)