Type/to search

Dual Indicator Mean Reversion Trend Following Strategy

Common strategy
Created: 2024-02-01 10:55:30
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy generates buy and sell signals by combining a moving average indicator and a market facilitation index. It belongs to the mean reversion trading strategy category.

Principles

The strategy utilizes two indicators for signal generation. The first one is the moving average indicator, specifically the combination of fast line and slow line of Stochastic Oscillator. It produces sell signal when price closes down for two consecutive days and the fast line is above the slow line. It produces buy signal when price closes up for two consecutive days and the fast line is below the slow line. By monitoring price reversal and the relationship between fast line and slow line, it aims to predict potential turning points of the price trend.

The second indicator is the market facilitation index. It measures the efficiency of price movement by calculating the relationship between price range and volume. When the index rises, it indicates improving market liquidity and higher operation efficiency, signaling a trending market. When the index declines, it shows worsening liquidity and decreasing efficiency, implying a potential sideways ranging market or trend reversal.

This strategy generates actual buy and sell orders when both indicators issue concordant trading signals simultaneously.

Advantages

  • Improved signal accuracy by requiring confirmation from two indicators, avoiding false signals
  • Combination of mean reversion indicator and trend judging indicator helps avoiding trading against major trend
  • Reduced needs for frequent parameter tuning and less manual intervention

Risks and Solutions

  • Difficult to capitalize on reversal opportunities if prolonged one-way uptrend or downtrend, unable to enter the market

  • Can relax parameters of mean reversion indicator to increase chances of capturing buy and sell signals

  • Can also scale up position size to ride the trend to compensate profits

  • Inaccurate reversal signals may invalidate the strategy

  • Can optimize parameters or add signal confirmation stages to filter out false signals

Enhancement Areas

  • Test more parameter combinations to find optimum settings
  • Explore more mean reversion indicators, evaluate performance of different indicators
  • Introduce stop loss to constrain single trade loss
  • Incorporate machine learning models trained on big data to generate more accurate reversal signals

Summary

This strategy combines a mean reversion indicator and a trend judging indicator, entering the market when reversal signal emerges while respecting the major trend direction. Using dual indicator confirmation effectively eliminates false signals. Although risks exist during prolonged one-side trends and erroneous reversal signals. Further optimizations can be done via parameter tuning, stop loss, indicator upgrades and machine learning models.

Source
Pine
/*backtest
start: 2024-01-01 00:00:00
end: 2024-01-31 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 02/02/2021
// This is combo strategies for get a cumulative signal. 
Strategy parameters
Strategy parameters
---- 123 Reversal ----
Length
KSmoothing
DLength
Level
---- MFI ----
SellZone
BuyZone
Trade reverse
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)