Type/to search

MFI and MA Based Quantitative Reversal Strategy

Common strategy
Created: 2023-12-27 14:42:16
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy utilizes the MFI indicator to identify overbought and oversold zones combined with the MA to filter the price reversal direction. It works well across stocks, forex, commodities and crypto markets.

Strategy Logic

The strategy leverages the MFI indicator to gauge overbought and oversold conditions in the market. When the MFI drops below 20 into the oversold zone, it signals that the asset is undervalued and a bottom is forming, implying a long signal. When the MFI rises above 80 into the overbought area, it suggests that the asset is overvalued and likely to correct lower soon, triggering a short signal.

To avoid false reversals, the strategy also employs the MA indicator to determine the trend direction. Trading signals are only generated when the MFI reversal aligns with the price breaking or standing above the MA line.

The specific trading logic is:

  1. When the MFI breaks below 20 into the oversold zone and the close stands above the MA line, a buy signal is generated.

  2. When the MFI breaks above 80 into the overbought zone and the close breaks the MA line, a sell signal is triggered.

With the dual indicator confirmation, the strategy can effectively identify reversal opportunities with reliable entry signals.

Advantages

  1. Dual indicator confirmation avoids false breakouts and ensures high signal reliability.

  2. Utilizing overbought/oversold reversals is a classic and time-tested trading technique.

  3. Incorporating trend filtering makes signals more accurate and reliable.

  4. Applicable across various markets with strong adaptivity.

Risks

  1. The market may trend persistently higher or lower leading to stop loss.

  2. Need to watch out for systematic risks in extreme market conditions causing missed reversal points.

  3. High trading frequency may lead to increased transaction costs.

Mitigations:

  1. Allow wider stop loss to give the strategy more room.

  2. Increase position sizing cautiously while watching higher timeframe charts for systemic risk signals.

  3. Optimize parameters to avoid unnecessary trades.

Enhancement Opportunities

  1. Optimize MA parameters to match the characteristics of the trading instrument.

  2. Fine tune the overbought/oversold levels based on varying market sentiment.

  3. Incorporate position sizing rules for more controlled profits.

Conclusion

This strategy integrates classic analysis techniques with modern quant methods. By rigorously applying dual indicator confirmations, it demonstrates robust adaptivity across various instruments, making it a recommended generic short-term strategy.

Source
Pine
/*backtest
start: 2023-12-19 00:00:00
end: 2023-12-26 00:00:00
period: 1m
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/
// © vikris

//@version=4
Strategy parameters
Strategy parameters
Market session
Long Take Profit (%)
Short Take Profit (%)
Long Stop Loss (%)
Short Stop Loss (%)
MFI Length
Overbought Level
Oversold Level
Bar Body Size, 1=No Wicks
Use MA Trend Filter
MA Length
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)