
이 전략은 상대적으로 약한 지수 ((RSI) 에 기반한 동력 거래 시스템으로, 시장의 과매매와 과매매 상태를 식별하여 거래한다. 이 전략은 고정된 비율의 중지 손실과 수익 목표를 채택하여 위험 수익을 자동으로 관리한다. 시스템은 15 분 시간 주기에서 작동하며, 유동성이 좋은 거래 품종에 적합하다.
이 전략의 핵심은 RSI 지표를 사용하여 시장의 과매매 과매매 상태를 식별하는 것입니다. RSI가 30보다 낮으면 시장이 과매매 될 수 있음을 나타낼 때, 시스템은 다단계 포지션을 열고; RSI가 70보다 높으면 시장이 과매매 될 수 있음을 나타낼 때, 시스템은 공백 포지션을 열습니다.
이것은 구조가 완전하고 논리가 명확한 자동화 거래 전략이다. RSI 지표를 통해 시장의 과매매 기회를 포착하고, 고정 비율의 위험 관리 프로그램과 함께, 거래 프로세스의 완전한 자동화를 달성한다. 전략의 주요 장점은 운영 규칙이 명확하고, 위험이 통제 가능하지만, 또한 전략의 성능에 대한 시장 환경의 영향을 고려해야합니다. 제안된 최적화 방향을 통해, 전략은 더 발전 할 여지가 있습니다.
/*backtest
start: 2024-02-24 00:00:00
end: 2025-02-22 08:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Binance","currency":"SOL_USDT"}]
*/
//@version=5
strategy("MultiSymbol Smart Money EA without Lot Sizes or Pairs", overlay=true)
// Strategy Parameters for RSI
RSI_Period = input.int(14, title="RSI Period", minval=1)
RSI_Overbought = input.float(70, title="RSI Overbought")
RSI_Oversold = input.float(30, title="RSI Oversold")
// Fixed values for Stop Loss and Take Profit in percentage
FIXED_SL = input.float(0.2, title="Stop Loss in %", minval=0.0) / 100
FIXED_TP = input.float(0.6, title="Take Profit in %", minval=0.0) / 100
// RSI Calculation
rsi = ta.rsi(close, RSI_Period)
// Buy and Sell Conditions based on RSI
longCondition = rsi <= RSI_Oversold
shortCondition = rsi >= RSI_Overbought
// Entry Price
longPrice = close
shortPrice = close
// Execute the trades
if (longCondition)
strategy.entry("Buy", strategy.long)
if (shortCondition)
strategy.entry("Sell", strategy.short)
// Set Stop Loss and Take Profit based on entry price and percentage
if (strategy.position_size > 0) // If there is a long position
longStopLoss = longPrice * (1 - FIXED_SL)
longTakeProfit = longPrice * (1 + FIXED_TP)
strategy.exit("Exit Buy", from_entry="Buy", stop=longStopLoss, limit=longTakeProfit)
if (strategy.position_size < 0) // If there is a short position
shortStopLoss = shortPrice * (1 + FIXED_SL)
shortTakeProfit = shortPrice * (1 - FIXED_TP)
strategy.exit("Exit Sell", from_entry="Sell", stop=shortStopLoss, limit=shortTakeProfit)