
서퍼 전략은 다양한 트렌드 추적 전략을 결합하여 더 신뢰할 수 있는 거래 신호를 달성하는 조합 전략이다. 123 역전 전략과 ECO 전략을 통합하여 트렌드 확인 후 더 정확한 거래 신호를 생성하는 것을 목표로 한다. 이 전략은 서퍼 선수인 서퍼 선수의 이름을 따서 서퍼 전략은 시장 변동의 물결을 막아내고 큰 배치를 초과하여 초과 수익을 얻으려고 노력한다.
버드 전략은 두 가지 다른 유형의 전략을 혼합합니다. 역전 전략과 추세를 따르는 전략입니다.
첫째, 123 역전 전략은 역전 전략에 속한다. 그것은 K선 정보를 사용하여 가격이 역전 신호가 발생하는지 판단한다. 어제 종결 가격이 전날보다 높고, 오늘 종결 가격이 어제보다 낮고, 동시에 9일 슬로우 K가 50보다 낮을 때, 구매 신호를 발송한다. 어제 종결 가격이 전날보다 낮고, 오늘도 종결 가격이 어제보다 높고, 동시에 9일 패스트 K가 50보다 높을 때, 판매 신호를 발송한다.
둘째, ECO 전략은 트렌드를 따르는 전략에 속한다. 그것은 가격의 K 선의 실체 크기 및 방향을 동력을 계산하기 위해 트렌드 방향을 판단한다. ECO 지표가 0보다 높으면 상승 추세, 0보다 낮은 것은 하락 추세이다.
산책자 전략은 두 전략의 신호를 통합한다. 두 전략이 동방향 신호를 발산할 때만, 예를 들어, ECO가 상승세를 보이고 123 역전 전략도 구매 신호를 발산할 때만, 포지션을 구축한다. 이렇게하면 단일 전략의 판단이 잘못되어 거래 손실을 피할 수 있다.
단일 전략에 비해, 더 전략은 다음과 같은 장점이 있습니다:
반전과 트렌드 전략과 결합하여, 장시간 간소화하여 거래 신호를 더 신뢰할 수 있도록 한다. ECO는 트렌드가 변화하기 전에 반전하는 것을 보장하고, 반전 신호가 트렌드 중간에 발생하는 것을 피한다.
123 역전 전략은 스토카스틱 지표를 사용하여 과매도 영역을 판단하고, ECO 전략은 가격 운동 방향을 판단하며, 둘은 상호 보완되어 잘못된 판단 가능성을 줄일 수 있다.
이중 필터링 메커니즘은 두 가지 전략이 동일한 방향으로 판단될 때만 포지션을 열 수 있도록 보장하여 거래 위험을 크게 줄일 수 있습니다.
유연한 매개 변수 설정 공간이 넓고, 다양한 시장에 맞는 매개 변수를 조정할 수 있으며, 보다 광범위한 시장 환경에 적응할 수 있다.
일간 반전과 중·장선 동향을 판단하는 다중 시간 프레임으로 더 많은 거래 기회를 잡을 수 있다.
무더위 전략은 여러 가지 전략을 조합하여 단일 전략의 위험을 줄이지만 거래에는 다음과 같은 위험이 있습니다.
123 역전 전략은 충격적인 상황에 대한 판단이 약하여 손실을 증가시키는 연속적인 역전 신호를 생성할 수 있다.
ECO 전략은 양 에너지가 부족할 때 효과가 떨어지며, 낮은 양 환경에서는 사용해서는 안된다.
이중 전략 필터링 신호에서는 전략 단독으로 발신되는 일부 수익 신호를 놓칠 수 있다.
매개 변수 설정을 잘못하면 전략이 잘못된 신호를 보낼 수 있다. 매개 변수를 조정하여 전략이 다른 시장에 적응하도록 해야 한다.
주요 블랙 스 사건과 같은 특정 시장 상황에서는 전략이 적용되지 않을 수 있습니다.
이 전략은 더 많은 최적화를 위한 여지가 있습니다.
손실이 중단되는 지점에 도달하면 자동으로 중단되는 손실 전략을 추가하는 것을 고려할 수 있습니다.
다른 평균선 변수를 테스트하여 보다 안정적인 변수 조합을 찾을 수 있다.
기계 학습 기반의 변수 적응 최적화를 시도하여 정책 변수를 동적으로 조정할 수 있습니다.
더 많은 Auxiliary Strategies를 추가하여 신호의 정확도를 더욱 높일 수 있습니다.
다양한 시장 환경에서의 안정성을 테스트하고, 더 넓은 시장에 적응하도록 파라미터를 조정할 수 있다.
더 엄격한 전략적 최적화를 위해 자동 실행 및 응답 시스템을 개발할 수 있습니다.
요약하자면, 트래블러 전략은 반전 전략과 트렌드 추적 전략을 통합하여 거래 신호를 두 번 확인하여 트렌드 변화를 포착하면서 신호 정확도를 높이고, 대폭을 초과하는 초과 수익을 얻을 수 있습니다. 약간의 위험이 남아 있지만, 지속적인 최적화를 통해 더 넓은 시장 환경에 적응 할 수 있습니다. 이 전략은 유연성이 강하고, 위험 제어 가능한 특징이 있으며, 장기적으로 안정적인 수익을 추구하는 투자자에게 적합합니다.
/*backtest
start: 2023-09-16 00:00:00
end: 2023-10-16 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 16/04/2020
// This is combo strategies for get a cumulative signal.
//
// First strategy
// This System was created from the Book "How I Tripled My Money In The
// Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
// The strategy buys at market, if close price is higher than the previous close
// during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
// The strategy sells at market, if close price is lower than the previous close price
// during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
//
// Second strategy
// We call this one the ECO for short, but it will be listed on the indicator list
// at W. Blau’s Ergodic Candlestick Oscillator. The ECO is a momentum indicator.
// It is based on candlestick bars, and takes into account the size and direction
// of the candlestick "body". We have found it to be a very good momentum indicator,
// and especially smooth, because it is unaffected by gaps in price, unlike many other
// momentum indicators.
// We like to use this indicator as an additional trend confirmation tool, or as an
// alternate trend definition tool, in place of a weekly indicator. The simplest way
// of using the indicator is simply to define the trend based on which side of the "0"
// line the indicator is located on. If the indicator is above "0", then the trend is up.
// If the indicator is below "0" then the trend is down. You can add an additional
// qualifier by noting the "slope" of the indicator, and the crossing points of the slow
// and fast lines. Some like to use the slope alone to define trend direction. If the
// lines are sloping upward, the trend is up. Alternately, if the lines are sloping
// downward, the trend is down. In this view, the point where the lines "cross" is the
// point where the trend changes.
// When the ECO is below the "0" line, the trend is down, and we are qualified only to
// sell on new short signals from the Hi-Lo Activator. In other words, when the ECO is
// above 0, we are not allowed to take short signals, and when the ECO is below 0, we
// are not allowed to take long signals.
//
// WARNING:
// - For purpose educate only
// - This script to change bars colors.
////////////////////////////////////////////////////////////
Reversal123(Length, KSmoothing, DLength, Level) =>
vFast = sma(stoch(close, high, low, Length), KSmoothing)
vSlow = sma(vFast, DLength)
pos = 0.0
pos := iff(close[2] < close[1] and close > close[1] and vFast < vSlow and vFast > Level, 1,
iff(close[2] > close[1] and close < close[1] and vFast > vSlow and vFast < Level, -1, nz(pos[1], 0)))
pos
ECO(r,s) =>
pos = 0
xCO = close - open
xHL = high - low
xEMA = ema(ema(xCO, r), s)
xvEMA = ema(ema(xHL, r), s)
nRes = 100 * (xEMA / xvEMA)
pos := iff(nRes > 0, 1,
iff(nRes <= 0, -1, nz(pos[1], 0)))
pos
strategy(title="Combo Backtest 123 Reversal & ECO Strategy", shorttitle="Combo", overlay = true)
Length = input(14, minval=1)
KSmoothing = input(1, minval=1)
DLength = input(3, minval=1)
Level = input(50, minval=1)
//-------------------------
r = input(32, minval=1)
s = input(12, minval=1)
reverse = input(false, title="Trade reverse")
posReversal123 = Reversal123(Length, KSmoothing, DLength, Level)
posECO = ECO(r,s)
pos = iff(posReversal123 == 1 and posECO == 1 , 1,
iff(posReversal123 == -1 and posECO == -1, -1, 0))
possig = iff(reverse and pos == 1, -1,
iff(reverse and pos == -1 , 1, pos))
if (possig == 1)
strategy.entry("Long", strategy.long)
if (possig == -1)
strategy.entry("Short", strategy.short)
if (possig == 0)
strategy.close_all()
barcolor(possig == -1 ? #b50404: possig == 1 ? #079605 : #0536b3 )