
이 전략은 암호화폐의 단선 거래와 중장선 트렌드 거래에 적용되는 간단하고 효율적인 등반 전략이다. 그것의 주요 구성 요소는 가격 변동 지표, ?? 지표, 그리고 손해 막기의 위험 관리 장치이다.
이 전략의 입시 조건은 다음과 같습니다.
위의 세 가지 조건이 동시에 충족되면 복수 입학한다.
이 전략의 조건은 다음과 같습니다.
이 전략은 가격 동요 지표와 부진 지표를 결합하여 가격 동향과 부진 신호를 판단하여 가격 상승 단계를 효과적으로 포착할 수 있으며 다음과 같은 장점이 있습니다.
이 전략은 전반적으로 안정적이지만, 위험도 있습니다.
포지션 주기를 조정, 더 많은 지표 필터 신호를 조합, 매개 변수 설정을 최적화하는 등의 방법으로 위와 같은 위험을 예방하고 해소할 수 있다.
이 전략은 다음과 같은 방향으로 최적화될 수 있습니다.
이러한 최적화를 통해 전략의 승률, 수익성, 안정성을 더욱 높일 수 있다.
이 전략은 전반적으로 간결하고 효과적이며, 가격 상승 단계의 상승 단계를 포착할 수 있으며, 암호화폐에서 좋은 수익 잠재력을 가지고 있다. 추가적인 최적화가 가능하지만, 양적 거래의 입문 전략으로서는 이미 우수하다.
/*backtest
start: 2024-01-04 00:00:00
end: 2024-02-03 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/
// © exlux99
//@version=4
strategy(title="Crypto Price Scalper", shorttitle="Scalper Crypto", overlay=true)
inputcc = input(60, title="Number of candles")
low9=lowest(low,inputcc)
high9=highest(high,inputcc)
plotlow = ((close - low9) / low9) * 100
plothigh = ((close - high9) / high9) * 100
plotg = (plotlow +plothigh)/2
center=0.0
period_ = input(14, title="Length VORTEX", minval=2)
VMP = sum( abs( high - low[1]), period_ )
VMM = sum( abs( low - high[1]), period_ )
STR = sum( atr(1), period_ )
VIP = VMP / STR
VIM = VMM / STR
long= crossover(plotg,center) and close > high[2] and crossover(VIP,VIM)
short= crossunder(plotg,center) and crossunder(VIP,VIM)
tplong=input(0.1, title="TP Long", step=0.01)
sllong=input(0.1, title="SL Long", step=0.01)
strategy.entry("long",1,when=long)
strategy.exit("closelong", "long" , profit = close * tplong / syminfo.mintick, loss = close * sllong / syminfo.mintick, alert_message = "closelong")
strategy.close("long",when=short)