Indicators
HomeIndicatorsAgenaScriptRelease Notes
  • 📒AgenaTrader Indicators Introduction
  • STANDARD INDICATORS
    • Accumulation/Distribution (ADL)
    • Adaptive Price Zone (APZ)
    • Aroon
    • Aroon Oscillator
    • Average Directional Index (ADX)
    • Average Directional Movement Rating (ADXR)
    • Average True Range (ATR)
    • BBBreakOutSpeed
    • Balance of Power (BOP)
    • Bollinger Bands
    • Bollinger Percent B (%b)
    • Bollinger Band Width (BBWidth)
    • Bollinger MTF (MultiTimeFrame)
    • BuySellPressure
    • BuySellVolume
    • CandleStickPattern
    • ChaikinMoneyFlow (CMF)
    • Chaikin Oscillator
    • ChaikinVolatility (CVL)
    • Chande Momentum Oscillator (CMO)
    • Climactic Distance
    • Commodity Channel Index (CCI)
    • Directional Movement (DM)
    • Donchian Channel
    • Directional Movement Index (DMI)
    • Double Stochastics (DSS)
    • Dynamic Momentum Index (DMIndex)
    • Ease of Movement (EOM)
    • Fisher Transform
    • Forecast Oscillator (FOSC)
    • HighestHighIndex()
    • HighestHighPrice()
    • IchimokuCloud
    • Keltner Channel
    • KeyReversalUp
    • KeyReversalDown
    • KeyReversalUpAtSMA
    • KeyReversalDownAtSMA
    • KeyReversalUpAtEMA
    • KeyReversalDownAtEMA
    • Linear Regression
    • LinRegIntercept
    • LinRegSlope
    • LowestLowIndex()
    • LowestLowPrice()
    • MACD
    • MAEnvelopes
    • Momentum (MOM)
    • Money Flow Index (MFI)
    • Moving Averages
      • DEMA - Double Exponential Moving Average
      • EMA - Exponential Moving Average
      • EMA MTF (MultiTimeFrame)
      • HMA - Hull Moving Average
      • KAMA - Kaufman's Adaptive Moving Average
      • MAMA - Mesa Adaptive Moving Average
      • SMA - Simple Moving Average
      • GapSMA - Gap Simple Moving Average
      • SMA MTF (MultiTimeFrame)
      • SMMA - Smoothed Moving Average
      • TEMA - Triple Exponential Moving Average
      • TMA - Triangular Moving Average
      • TRIX - Triple Exponential Moving Average
      • T3 - Triple Exponential Moving Average
      • VMA - Variable Moving Average
      • VWMA - Volume Weighted Moving Average
      • WMA - Weighted Moving Average
      • ZLEMA - Zero Lag Exponential Moving Average
    • nBarsUp
    • nBarsDown
    • OnBalanceVolume (OBV)
    • OutsideBars
    • Parabolic SAR
    • Percentage Price Oscillator (PPO)
    • PercentEnvelopes
    • Pivot Points
    • Polarized Fractal Efficiency (PFE)
    • Price Oscillator
    • Rainbow
    • Range
    • Range Indicator (RIND)
    • Rate of Change (ROC)
    • Relative Performance
    • Relative Spread Strength (RSS)
    • Relative Strength Index (RSI)
    • Relative Strength Levy (RSL)
    • Relative Volatility Index (RVI)
    • R-Squared
    • Standard Error (StdError)
    • Stochastics
    • Stochastics Fast
    • Stochastics RSI (StochRSI)
    • Summation (SUM)
    • SuperTrend
    • SupportResistanceAreas
    • Swing
    • Time-Series-Forecast (TSF)
    • Constant Lines
    • CurrentDayOHL
    • Daily Performance
    • DailyQuoteMoves
    • DayLines
    • GetDayBar
    • Info
    • Maximum (MAX)
    • Minimum (MIN)
    • PriceLine
    • PriorDayOHLC
    • PriorDayOHLCext
    • SessionBreakLines
    • ShowBidAsk
    • TickCounter
    • True Strength Index (TSI)
    • Ultimate Oscillator
    • Volume (VOL)
    • Volume Moving Average (VOLMA)
    • Volume Profile
    • Volume Rate of Change (VROC)
    • VolumeUpDown
    • Williams %R
    • ZigZag
  • PREMIUM INDICATORS
    • COT AddOn
      • COTLargeTraderActivity
      • COTStockDummy
      • COTReportLegacy
      • COTReportDisaggregated
      • COTOpenInterestLegacy
      • COTOpenInterestDisaggregated
      • COTCommercialIndex
      • COTAggregatedIndexPositionDisaggregated
    • DowTheory AddOn
      • DayLinesAdv
      • InsideBarsMT
      • MarketPhases
      • MarketPhases Pro
      • MTFBoxes
      • OutsideBars
      • P123
      • P123Pro
      • ReversalBars
    • Darvas AddOn
      • Darvas Boxes
    • Relative Currency Strength (RCS)
    • Volume AddOn
      • KlingerVolumeOscillator
      • Volume Oscillator
      • VolumeArea
      • VolumeGraph
      • VolumeKeltnerChannels
      • VolumeRiseFall
      • VolumeSentimentLong
      • VolumeSentimentShort
      • VolumeSessionPro
      • VolumeTickSpeed
      • VolumeUDR
      • Volume Zones
      • VolumeZoneOscillator
      • WyckoffWave
Powered by GitBook
On this page
Edit on GitLab
  1. PREMIUM INDICATORS
  2. DowTheory AddOn

MarketPhases

Last updated 3 years ago

The installation of the Dow Theory Standard or Professional Package is required in order to access this indicator.

Description

The Market Phases Indicator is another important component of the Technical Analysis Package, and is based on integrated trend detection for the various relevant trading market phases.

The market phases are defined according to the book series “Der Händler” (“The Trader”) by Michael Voigt.

Important tip MarketPhases indicators are very history sensitive and need at least up to 2000 intraday candles to see good results.

Phase 3:

The market is located far away from the movement; a correction is imminent.

MarketPhases Phase 3

Phase 4:

The market is in correction mode. The original trend direction has not yet resumed. During the uptrend, further lows may occur, and in a downtrend, further highs may occur.

Phase 5:

The market is coming out of the correction and will resume its trend direction.

Phase 5+

The market is in Phase 5. In addition, the sub-trend is confirming a 1-2-3 pattern.

Phase 5+ (Prom Queen)

The term Prom Queen is also taken from the book series “Der Händler”. A 5+ trend phase is classified by an uptrend correction move running up to point 2. The correction zone is marked in grey in the following image.

Market phases 1, 2, 6, and 9 are not relevant for successful trading.

Depiction in the chart

No parameters are required.

Usage in AgenaScript

The indicator provides the following values for the market phases:

Phase 3: 3

Phase 4: 4

Phase 5: 5

Phase 5+ 5.1

Prom Queen 5.2

In a downtrend, the values are prefixed with a “-“ sign. If the market phase is not defined, then the value 0 is returned.

MarketPhases(int trendSize)[barsAgo]

Parameter

trendsize: trend size from 0 .. 3

Caution:

For a comparison of double values such as: if (MarketPhases(1)[0] == 5.1) ...we recommend that you use the following instead:

bool goLong = Math.Abs(MarketPhases(1)[0] - 5.1) <= Double.Epsilon;

Usage within the Condition Escort

When using market phases within AgenaScript, the indicator provides a data series that has the aforementioned values of +/-3, 4, 5, 5.1, 5.2.

You can use the indicator as a filter by using the signals of other indicators when they are inside the market phases 5.1 or 5.2(long):

Important tip The scanner and chart use a different history calculation. Since Dow Theory indicators are very bar sensitive we cannot guarantee 100% synchronization between results show in the chart and the scanner. We recommend to reload the data in the scanner from time to time to avoid to big discrepancies. If you want to use MarketPhases (also Pro and Advanced version) indicator in conjunction with the scanner, the following settings are required:

  • Chart settings:

  • Bars count

  • Time frame

  • Scanner column settings:

  • Bars required

  • Time frame

These chart and column settings should be identical.

MarketPhases Phase 4
MarketPhases Phase 5
MarketPhases Phase 6
MarketPhases Phase 5+ (Prom Queen)
MarketPhases in chart window
Condition Escort
MarketPhasesChart
MarketPhasesScanner