Type/to search

Multi Timeframe Supertrend Quantitative Trading Strategy

Cryptocurrency
Created: 2023-09-14 20:21:39
Last modified: 3 years ago
1
Follow
1781
Followers

This article explains in detail a quantitative trading strategy using the Supertrend indicator across multiple timeframes. It combines Supertrend signals on different periods to improve the reliability of trade signals.

I. Strategy Logic

The key components of the strategy include:

  1. Calculating Supertrend on the current period to determine price trend direction.

  2. Calculating Supertrend on a higher timeframe (such as daily) to gauge the major trend.

  3. Forming trade signals based on the consistency between Supertrend directions on the two timeframes.

  4. Setting appropriate stop loss and take profit based on signals.

  5. Scaling out with fixed portions to lock in profits.

When Supertrend agrees on high and low timeframes, a major trend is identified and buy/sell signals are generated based on the indicator relationship. Stop loss and take profit manages the risk and reward of each trade.

II. Advantages of the Strategy

The biggest advantage lies in using multiple timeframes to filter false signals and improve reliability.

In addition, sensible stop loss and take profit settings ensure controllable risk per trade, avoiding excessive losses.

Lastly, scaling out portions of the profits is also a defining feature of the strategy.

III. Potential Weaknesses

However, the following risks should also be acknowledged:

Firstly, Supertrend itself has lagging issues that may cause missed optimal entry points.

Secondly, stop loss set too aggressively risks being stopped out prematurely.

Finally, scaling out can introduce additional slippage costs.

IV. Summary

In summary, this article has explained a quantitative strategy using Supertrend across multiple timeframes. It improves signal quality through the combination of high and low period analysis, and manages risks via stop loss, take profit and scaling out. Overall with proper tuning this strategy offers a reasonable approach utilizing the indicator.

Source
Pine
/*backtest
start: 2023-09-06 00:00:00
end: 2023-09-13 00:00:00
period: 10m
basePeriod: 1m
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/
// © ranga_trading

//@version=5
Strategy parameters
Strategy parameters
Timeframe 1
Timeframe 2
ATR Period
ATR Multiplier
Show Buy/Sell Labels ?
Use Close Price for Extremums ?
Highlight State ?
What trades should be taken :
Backtesting Start Time
Backtesting End Time
KeepLastPosition
Trades
Stop Loss %
TP1 %
TP2 %
TP3 %
TP1 Amount %
TP2 Amount %
TP3 Amount %
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)