
This strategy is a momentum trading system based on the Relative Strength Index (RSI), which executes trades by identifying overbought and oversold market conditions. The strategy employs fixed percentage stop-loss and take-profit targets for automated risk-reward management. The system operates on a 15-minute timeframe and is suitable for instruments with good liquidity.
The core of the strategy utilizes the RSI indicator to identify overbought and oversold market conditions. When RSI falls below 30, indicating potential oversold conditions, the system opens a long position; when RSI rises above 70, indicating potential overbought conditions, it opens a short position. Each trade is managed with fixed percentage-based stop-loss (0.2%) and take-profit (0.6%) levels, automating risk management.
This is a well-structured, logically sound automated trading strategy. It captures market overbought and oversold opportunities through the RSI indicator, coupled with fixed-ratio risk management for complete trading automation. The strategy’s main advantages lie in its clear operational rules and controllable risk, though market conditions significantly impact its performance. Through the suggested optimization directions, there is room for further strategy enhancement.
/*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)