Dow_Factor_MFI/RSI_DVOG_Strategy
Oct 8, 2019

The Dow_Factor_MFI/RSI_DVOG_Strategy tool provides a data-driven approach to market analysis by integrating Dow Theory principles with momentum oscillators to generate trading signals. It calculates a "Dow Factor" based on the correlation between price, volume, and major market indices to adjust standard RSI or MFI values for more realistic trend identification.
Usage
This script functions as a strategy that can be used to identify entry and exit points based on adjusted momentum. Users can switch between the Relative Strength Index (RSI) and Money Flow Index (MFI) as the base calculation method.
The strategy is particularly effective in liquid markets such as Cryptocurrencies (using the CIX100 index) and Global Indices (using the SPX). For best results, it is recommended to use the script on timeframes of 4H and above. Users should select the appropriate "Market Type" in the settings to ensure the correct benchmark index is used for the Dow Factor calculation.
Details
The core of this strategy lies in the "Dow Factor" calculation, which uses an adjusted R-squared coefficient derived from the multiple correlation between price, volume, and a representative market index. This factor is then used to weight the bull and bear components of the selected oscillator (RSI or MFI).
Key implementation details include:
- Correlation Analysis: It calculates the Pearson correlation and multiple correlation to determine how closely the asset follows broader market movements.
- Dow Factor Weighting: The indicator adjusts the gross bull and bear values of the oscillator based on the calculated Dow coefficient, effectively creating an "Odd Generator" for price direction.
- Realism: The script includes a default commission of 0.125% to provide more realistic backtesting results, specifically tailored for liquid exchange environments.
Settings
- Barcolor I / 0?: Toggles the colored bars on the chart to match the strategy signals.
- METHOD: Selects between the Money Flow Index (MFI) or Relative Strength Index (RSI) for the base momentum calculation.
- Market Type: Defines the benchmark index used for Dow Factor correlation (Options: Markets excluding USD/X, FX USD/X, or Cryptocurrencies).
- Strategy Period: Adjusts the lookback period for the oscillators and correlation calculations (Default: 14).
FAQ
How do I access the Dow_Factor_MFI/RSI_DVOG_Strategy?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What is the purpose of the "Market Type" setting?
This setting ensures the strategy compares the current asset against the correct benchmark (e.g., S&P 500 for stocks or CIX100 for crypto) to accurately calculate market harmony.
Does this strategy repaint?
No, the script is designed with a clean code layout using "close" as the source to ensure that signals are locked upon bar close and do not repaint.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.