
충격적 돌파구 전략은 주류 암호화폐의 15분 시간 프레임에 사용되는 적극적인 거래 전략이다. 기술 지표를 사용하여 시장의 추세를 식별하고 잠재적인 돌파구를 발견하고 스톱 로스를 설정하여 위험을 효과적으로 관리한다.
이 전략은 두 개의 간단한 이동 평균 ((SMA50와 SMA200) 을 사용하여 시장의 추세 방향을 결정한다. SMA50 상의 SMA200을 통과할 때 호불호 신호이며, 반대로 호불호 신호이다.
상대적으로 강한 지수 ((RSI) 는 과매매 상황을 판단하기 위해 사용된다. RSI가 설정된 과매매 지역 (기본 40) 보다 낮으면 과매매 지역으로 간주되며 잠재적인 구매 신호로 간주된다.
거래 논리는 다음과 같습니다.
이 전략은 간단하고 쉬운데, 이중 확인을 통해 잠재적인 돌파구를 찾습니다. 손실을 확대하는 것을 막기 위해 스톱로스 설정, SMA 지표의 교차는 탈퇴 신호입니다.
이 전략은 다음과 같은 장점을 가지고 있습니다.
이 전략에는 몇 가지 위험도 있습니다.
다음의 방법으로 최적화할 수 있습니다.
전반적으로, 충격적 돌파 전략은 간단하고 실용적인 단선 전략이다. 그것은 작동의 간편성, 위험 제어 등의 장점을 가지고 있으며, 암호화폐 시장에 익숙하지 않은 거래자에게 적합하다. 추가적인 최적화를 통해, 전략은 더 많은 시장 환경에서 안정적인 수익을 유지할 수 있다.
/*backtest
start: 2024-01-22 00:00:00
end: 2024-02-21 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Wielkieef
//@version=5
strategy("Crypto Sniper [15min]", shorttitle="ST Strategy", overlay=true, pyramiding=1, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=25, calc_on_order_fills=false, slippage=0, commission_type=strategy.commission.percent, commission_value=0.03)
sma50Length = input(90, title=" SMA50 Length", group="Simple Moving Average")
sma200Length = input(170, title=" SMA200 Length", group="Simple Moving Average")
rsiLength = input(14, title=" RSI Length", group="Relative Strenght Index")
overSoldLevel = input(40, title=" Oversold Level", group="Relative Strenght Index")
sl = input.float(5.0, '% Stop Loss', step=0.1)
rsi = ta.rsi(close, rsiLength)
sma50 = ta.sma(close, sma50Length)
sma200 = ta.sma(close, sma200Length)
longCondition = rsi < overSoldLevel and close > sma200
if (longCondition)
strategy.entry("Long", strategy.long)
stopLossPrice = strategy.position_avg_price * (1 - sl / 100)
strategy.exit("Stop Loss", stop=stopLossPrice)
if (ta.crossunder(sma200, sma50) and rsi >= 50)
strategy.close("Long")
Bar_color = ta.crossunder(sma200, sma50) and rsi >= 50 ? color.orange : rsi < overSoldLevel ? color.maroon : strategy.position_avg_price != 1 ? color.green : color.gray
barcolor(color=Bar_color)
//by wielkieef