Type/to search

SonicR Mean Reversion Channel Breakout Strategy

Cryptocurrency
Created: 2023-09-12 15:09:57
Last modified: 3 years ago
1
Follow
1781
Followers

This strategy identifies trends using mean reversion channels based on the SonicR system and trades breakouts for trend following. It combines channel and moving average indicators for systematic trend trading.

Strategy Logic:

  1. Calculate mean reversion channel with close EMA as midline and high/low EMAs as upper/lower bands.

  2. Calculate a longer period moving average line as trading signal line.

  3. Go long when close breaks above signal line.

  4. Go short when close breaks below signal line.

  5. Use channel fill for visualization.

Advantages:

  1. Channels clearly define trends and breakouts.

  2. Moving averages filter out short-term noise.

  3. Simple rules avoid emotional interference.

Risks:

  1. Lagging channels and moving averages may miss best entries.

  2. Parameter tuning needed to avoid excessive false signals.

  3. Mechanical systems can face larger drawdowns, requiring risk management.

In summary, this SonicR-based strategy identifies channel direction for systematic breakout trading. The simple rules benefit algorithmic trading but still require optimization and risk control for steady long-term gains.

Source
Pine
/*backtest
start: 2022-09-11 00:00:00
end: 2022-11-12 00:00:00
period: 4h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=2
//Sonic R
// strategy("SonicR",shorttitle="Sonic R",overlay=true,default_qty_value=10000,initial_capital=1000,currency=currency.USD)
EMA = input(defval=89, title="EMA Signal")
Strategy parameters
Strategy parameters
EMA Signal
High Low channel Length
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)