Type/to search

Trend Following Strategy Based on SSL Baseline

Common strategy
Created: 2024-01-15 14:36:39
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy uses the SSL Channel to judge market trends and follows the trend based on moving average baselines. It is suitable for medium and long term timeframes like the 4-hour and daily charts.

Strategy Logic

  1. The SSL Channel consists of Keltner Channels and True Range. It can determine the trend direction. A breakout above the upper band stands for a bullish signal while a breakout below the lower band stands for a bearish signal.

  2. The strategy calculates a baseline with EMA and other MA indicators. This baseline filters some false breakouts.

  3. The strategy goes long when price breaks above the SSL upper band and goes short when price breaks below the lower band. It follows uptrend by buying dips and downtrend by selling rallies.

  4. Stop loss methods include percentage based, ATR based and looking back to highest high/lowest low. Take profit is a multiplier of stop loss. Specific parameters are determined by users.

Advantage Analysis

  1. SSL Channel accurately judges trend direction with less false signals. Combining with MA lines as entry trigger avoids buying tops and selling bottoms.

  2. Flexible MA types and parameters suit more market situations.

  3. Flexible stop loss methods effectively control risks. Take profit multiplier also customizable for different preferences.

  4. Ability to go both long and short makes full use of bilateral market opportunities.

Risk Analysis

  1. Lagging of MA indicators may lead to accumulating losses.

  2. Swift reversals after breaking SSL bands bring whipsaws in ranging markets.

  3. ATR and look back stop loss may be too loose on anomalies, expanding losses.

Risk Management Tactics:

  1. Adjust MA parameters or use other types of MA.
  2. Expand stop loss percentage for timely stop loss.
  3. Add multiplier in ATR. Tune lookback cycle.

Optimization Direction

  1. Test more MA types to find optimal parameters.
  2. Optimize ATR cycle for stop loss.
  3. Test different stop loss multipliers.
  4. Test risk reward coefficient for take profit.

Conclusion

This strategy effectively follows trends by combining SSL Channel to determine trends and MA lines to confirm entry triggers. It provides flexible methods to stop losses and take profits, balancing risks and returns. Continuous testing and parameter tuning will lead to better performance. It is an efficacious strategy worthy of long term tracking and usage.

Source
Pine
/*backtest
start: 2023-12-01 00:00:00
end: 2023-12-31 23:59:59
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/
// Thanks to @kevinmck100 for opensource strategy template and @Mihkel00 for SSL Hybrid
// @fpemehd
// @version=5
Strategy parameters
Strategy parameters
Time
Start Date
End Date
Strategy: Stop Loss Conditions
SL Type
SL %
SL ATR Length
SL ATR Multiplier
Lowest Price Before Entry
Strategy: Risk Management
Risk : Reward Ratio
Portfolio Risk %
Strategy: Drawings
Show TP / SL Boxes
Show Trade Exit Labels
Show Dashboard
Color Bars
1: SSL Hybrid
use true range for Keltner Channel?
Baseline Type
Baseline Length
Base Channel Multiplier
Kijun MOD Divider
Baseline Type = JMA -> Jurik Phase
Baseline Type = JMA -> Jurik Power
Baseline Type = VAMA -> Volatility lookback length
Baseline Type = MF (Modular Filter, General Filter) ->Beta
Baseline Type = MF (Modular Filter) -> Use Feedback?
Baseline Type = MF (Modular Filter) -> Feedback Weighting
EDSMA - Super Smoother Filter Length
EDSMA - Super Smoother Filter Poles
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)