Available Data Series

This article contains a list with short descriptions of all signals and data series provided by the TTP Divergence Analyst indicator. Currently, 67 data series are available, and they are divided into three main categories, which are the following:

  1. BarCodes (Divergence [1]Setups and [2]Triggers; SwingTrend [1]Trend, [2]TrendChange, [3]SwingTypes, [4]SwingConfirmations, [5]SwingRaysBreaks)
  2. Price Levels (Swing Rays, Profit Targets, and Stop Losses)
  3. Values (SwingTrend data series associated with the number of ticks, bars, or multiples of Average Range, Ticks, and Bars)

[1] BarCodes Category – the data series sets each price bar to an integer – either 0 (or null value) for non-signal bars or the integer assigned to the corresponding signal.

Example: The data series named AnyRegularDivSetup contains ten unique signals – five bearish and five bullish – each assigned its value. Suppose a particular bar moving into a swing low meets all the conditions for a BullishDoubleRegularDivergenceSetup signal. In that case, that bar will be set to a value of +2 within the AnyRegularDivSetup data series, as +2 is the value assigned to BullishDoubleRegularDivergenceSetups. And vice versa, if a particular bar moving into a swing high meets all the conditions for a BearishDoubleRegularDivergenceSetup signal, that bar will be set to a value of -2 within the AnyRegularDivSetup data series, as -2 is the value assigned to BearishDoubleRegularDivergenceSetups. If the DoubleDivergenceSetup is then canceled (rules are broken) on the subsequent bars, those bars are then set = 0, or null, for non-signals bars.

[2] Price Levels Category – the data series sets the bar equal to the associated price level. Within the Divergence Analyst, there are two groups of Price-Level data series: Group (1) contains all of the data series that set the prices of the stop-losses and profit targets calculated (when enabled) and drawn for every divergence signal found.

[3] Values Category – the data series sets a particular bar equal to a number resulting from a calculation based on some data gathered from that bar. The SwingTrend group contains different value-type data series, such as the MajorPotentialARPerBar and MajorPotentialTicksPerMinute data series.

1. BarCodes Data Series – Setups, Triggers, SwingTrend

Regular Divergence Setups

  1. AnyRegularDivSetup – Signals each bar that meets all the RegularDivergenceSetups requirements for every Single, Double, and Triple Regular Divergence Setup. Note: Each Bullish Divergence Setup must have its price bar making a lower low than the previous bar, and each Bearish Divergence Setup must have its price bar making a higher high than the previous bar.
    • 5 = BullishHiddenToDoubleRegularDivSetup
    • 4 = BullishHiddenToSingleRegularDivSetup
    • 3 = BullishTripleRegularDivSetup
    • 2 = BullishDoubleRegularDivSetup
    • 1 = BullishSingleRegularDivSetup
    • -1 = BearishSingleRegularDivSetup
    • -2 = BearishDoubleRegularDivSetup
    • -3 = BearishTripleRegularDivSetup
    • -4 = BearishHiddenToSingleRegularDivSetup
    • -5 = BearishHiddenToDoubleRegularDivSetup
  2. AnyRegularDivSetupUntilTrigger – Signals every single bar from the first bar that meets all the RegularDivergenceSetups requirements for every Single, Double, and Triple Regular Divergence Setup until its RegularDivergenceTrigger bar or until the bar on which the Setup is canceled.
    • 5 = BullishHiddenToDoubleRegularDivSetup
    • 4 = BullishHiddenToSingleRegularDivSetup
    • 3 = BullishTripleRegularDivSetup
    • 2 = BullishDoubleRegularDivSetup
    • 1 = BullishSingleRegularDivSetup
    • -1 = BearishSingleRegularDivSetup
    • -2 = BearishDoubleRegularDivSetup
    • -3 = BearishTripleRegularDivSetup
    • -4 = BearishHiddenToSingleRegularDivSetup
    • -5 = BearishHiddenToDoubleRegularDivSetup
  3. AnyExtremeRegularDivSetup – Signals each bar that meets all the ExtremeRegularDivergenceSetups requirements for every Single, Double, and Triple Regular Divergence Setup. Note: Each ExtremeRegularDivergenceSetup must have its StartSwing (the first swing high of the divergence pattern from which the trendline begins) Oscillator Value beyond a user-defined threshold (extremely overbought/oversold).
    • 5 = BullishHiddenToDoubleRegularDivSetup
    • 4 = BullishHiddenToSingleRegularDivSetup
    • 3 = BullishTripleRegularDivSetup
    • 2 = BullishDoubleRegularDivSetup
    • 1 = BullishSingleRegularDivSetup
    • -1 = BearishSingleRegularDivSetup
    • -2 = BearishDoubleRegularDivSetup
    • -3 = BearishTripleRegularDivSetup
    • -4 = BearishHiddenToSingleRegularDivSetup
    • -5 = BearishHiddenToDoubleRegularDivSetup
  4. AnyExtremeRegularDivSetupUntilTrigger – Signals every single bar from the first bar that meets all the ExtremeRegularDivergenceSetups requirements for every Single, Double, and Triple Regular Divergence Setup until its ExtremeRegularDivergenceTrigger bar or until the bar on which the Setup is canceled. Note: Each ExtremeRegularDivergenceSetup must have its StartSwing (the first swing high of the divergence pattern from which the trendline begins) Oscillator Value beyond a user-defined threshold (extremely overbought/oversold).
    • 5 = BullishHiddenToDoubleRegularDivSetup
    • 4 = BullishHiddenToSingleRegularDivSetup
    • 3 = BullishTripleRegularDivSetup
    • 2 = BullishDoubleRegularDivSetup
    • 1 = BullishSingleRegularDivSetup
    • -1 = BearishSingleRegularDivSetup
    • -2 = BearishDoubleRegularDivSetup
    • -3 = BearishTripleRegularDivSetup
    • -4 = BearishHiddenToSingleRegularDivSetup
    • -5 = BearishHiddenToDoubleRegularDivSetup

Regular Divergence Triggers

  1. AnyRegularDivTrigger – Signals the bar that meets all the RegularDivergenceTriggers requirements for every Single, Double, and Triple Regular Divergence Trigger.
    • 5 = BullishHiddenToDoubleRegularDivTrigger
    • 4 = BullishHiddenToSingleRegularDivTrigger
    • 3 = BullishTripleRegularDivTrigger
    • 2 = BullishDoubleRegularDivTrigger
    • 1 = BullishSingleRegularDivTrigger
    • -1 = BearishSingleRegularDivTrigger
    • -2 = BearishDoubleRegularDivTrigger
    • -3 = BearishTripleRegularDivTrigger
    • -4 = BearishHiddenToSingleRegularDivTrigger
    • -5 = BearishHiddenToDoubleRegularDivTrigger
  2. AnyExtremeRegularDivTrigger – Signals the bar that meets all the ExtremeRegularDivergenceTriggers requirements for every Single, Double, and Triple Regular Divergence Trigger. Note: Each ExtremeRegularDivergenceSetup must have its StartSwing (the first swing high of the divergence pattern from which the trendline begins) Oscillator Value beyond a user-defined threshold (extremely overbought/oversold).
    • 5 = BullishHiddenToDoubleRegularDivTrigger
    • 4 = BullishHiddenToSingleRegularDivTrigger
    • 3 = BullishTripleRegularDivTrigger
    • 2 = BullishDoubleRegularDivTrigger
    • 1 = BullishSingleRegularDivTrigger
    • -1 = BearishSingleRegularDivTrigger
    • -2 = BearishDoubleRegularDivTrigger
    • -3 = BearishTripleRegularDivTrigger
    • -4 = BearishHiddenToSingleRegularDivTrigger
    • -5 = BearishHiddenToDoubleRegularDivTrigger

Regular Divergence Setups & Triggers

  1. SingleRegularDivergence – Signals each bar that meets all the SingleRegularDivergenceSetups requirements and each bar that meets all the SingleRegularDivergenceTriggers requirements (see Divergence Analyst Features for information on types of Regular Divergence).
    • 2 = BullishSingleRegularDivTrigger
    • 1 = BullishSingleRegularDivSetup
    • -1 = BearishSingleRegularDivSetup
    • -2 = BearishSingleRegularDivTrigger
  2. DoubleRegularDivergence – Signals each bar that meets all the DoubleRegularDivergenceSetups requirements and each bar that meets all the DoubleRegularDivergenceTriggers requirements (see Divergence Analyst Features for information on types of Regular Divergence).
    • 2 = BullishDoubleRegularDivTrigger
    • 1 = BullishDoubleRegularDivSetup
    • -1 = BearishDoubleRegularDivSetup
    • -2 = BearishDoubleRegularDivTrigger
  3. TripleRegularDivergence – Signals each bar that meets all the TripleRegularDivergenceSetups requirements and each bar that meets all the TripleRegularDivergenceTriggers requirements (see Divergence Analyst Features for information on types of Regular Divergence).
    • 2 = BullishTripleRegularDivTrigger
    • 1 = BullishTripleRegularDivSetup
    • -1 = BearishTripleRegularDivSetup
    • -2 = BearishTripleRegularDivTrigger

Hidden Divergence Setups & Triggers

  1. HiddenDivergence – Signals each bar that meets all the HiddenDivergenceSetups requirements and each bar that meets all the HiddenDivergenceTriggers requirements
    • 2 = BullishHiddenDivTrigger
    • 1 = BullishHiddenDivSetup
    • -1 = BearishHiddenDivSetup
    • -2 = BearishHiddenDivTrigger

Hidden Divergence Setups

  1. HiddenDivSetupsUntilTrigger – Signals every single bar from the first bar that meets all the HiddenDivergenceSetups requirements until its HiddenDivergenceTrigger bar or until the bar on which the Setup is canceled.
    • 2 = BullishExtremeHiddenDivSetupUntilTrigger
    • 1 = BullishHiddenDivSetupUntilTrigger
    • -1 = BearishHiddenDivSetupUntilTrigger
    • -2= BearishExtremeHiddenDivSetupUntilTrigger

Hidden-to-Regular Divergence Setups & Triggers

  1. HiddenToSingleRegularDiv – Signals each bar that meets all the HiddenToSingleRegularDivergenceSetups requirements and each bar that meets all the HiddenToSingleRegularDivergenceTriggers requirements. (see Divergence Analyst Features for information on types of Regular Divergence).
    • 2 = BullishHiddenToSingleRegularDivTrigger
    • 1 = BullishHiddenToSingleRegularDivSetup
    • -1 = BearishHiddenToSingleRegularDivSetup
    • -2 = BearishHiddenToSingleRegularDivTrigger
  2. HiddenToDoubleRegularDiv – Signals each bar that meets all the HiddenToDoubleRegularDivergenceSetups requirements and each bar that meets all the HiddenToDoubleRegularDivergenceTriggers requirements. (see Divergence Analyst Features for information on types of Regular Divergence).
    • 2 = BullishHiddenToDoubleRegularDivTrigger
    • 1 = BullishHiddenToDoubleRegularDivSetup
    • -1 = BearishHiddenToDoubleRegularDivSetup
    • -2 = BearishHiddenToDoubleRegularDivTrigger

SwingTrend

  1. MajorPotentialSwingTypes – Signals every bar that passes the strength requirements for MajorSwings according the six different types (HL = HigherLow, DB = DoubleBottom, LL = LowerLow, HH = HigherHigh, DT = DoubleTop, LH = LowerHigh)
    • 3 = Major HL
    • 2 = Major DB
    • 1 = Major LL
    • -1 = Major HH
    • -2 = Major DT
    • -3 = Major LH
  2. MajorSwingConfirmations – Signals the bar that passes the MajorSwingConfirmation requirements
    • 3 = Major HL
    • 2 = Major DB
    • 1 = Major LL
    • -1 = Major HH
    • -2 = Major DT
    • -3 = Major LH
  3. MajorTrend – Signals the direction of the intermediate trend
    • 1 = uptrend
    • -1 = downtrend
  4. MajorTrendChange – Signals the bar on which the MajorTrend changes from one direction to the other. MajorTrend changes from Uptrend to Downtrend once a Major Lower-High is confirmed.
    • 1 = the bar that changes from downtrend to uptrend
    • -1 = the bar that changes from uptrend to downtrend
  5. MajorRaysBreaks – Signals the bar that breaks any of the MajorSwingRays
    • 3 = MajorRaysBreaks LH
    • 2 = MajorRaysBreaks DT
    • 1 = MajorRaysBreaks HH
    • -1 = MajorRaysBreaks LL
    • -2 = MajorRaysBreaks DB
    • -3 = MajorRaysBreaks HL
  6. MajorRaysBreaksForemost – Signals the bar that breaks only the first MajorSwingRay to the left of each bar
    • 3 = MajorRaysBreaksForemost LH
    • 2 = MajorRaysBreaksForemost DT
    • 1 = MajorRaysBreaksForemost HH
    • -1 = MajorRaysBreaksForemost LL
    • -2 = MajorRaysBreaksForemost DB
    • -3 = MajorRaysBreaksForemost HL
  7. IntermediatePotentialSwingTypes – Signals every bar that passes the strength requirements for IntermediateSwings – while excluding the bars of MajorSwings – according the six different types (HL = HigherLow, DB = DoubleBottom, LL = LowerLow, HH = HigherHigh, DT = DoubleTop, LH = LowerHigh)
    • 3 = Intermediate HL
    • 2 = Intermediate DB
    • 1 = Intermediate LL
    • -1 = Intermediate HH
    • -2 = Intermediate DT
    • -3 = Intermediate LH
  8. IntermediateRaysBreaks – Signals the bar that breaks any of the IntermediateSwingRays
    • 3 = IntermediateRaysBreaks LH
    • 2 = IntermediateRaysBreaks DT
    • 1 = IntermediateRaysBreaks HH
    • -1 = IntermediateRaysBreaks LL
    • -2 = IntermediateRaysBreaks DB
    • -3 = IntermediateRaysBreaks HL
  9. IntermediateRaysBreaksForemost – Signals the bar that breaks only the first Intermediate SwingRay to the left of each bar
    • 3 = IntermediateRaysBreaksForemost LH
    • 2 = IntermediateRaysBreaksForemost DT
    • 1 = IntermediateRaysBreaksForemost HH
    • -1 = IntermediateRaysBreaksForemost LL
    • -2 = IntermediateRaysBreaksForemost DB
    • -3 = IntermediateRaysBreaksForemost HL
  10. IntermediateSwingConfirmations – Signals the bar that passes the Intermediate Swing confirmation requirements
    • 3 = Intermediate HL
    • 2 = Intermediate DB
    • 1 = Intermediate LL
    • -1 = Intermediate HH
    • -2 = Intermediate DT
    • -3 = Intermediate LH
  11. IntermediateTrend – Signals the direction of the intermediate trend
    • 1 = uptrend
    • -1 = downtrend
  12. IntermediateTrendChange – Signals the bar on which the IntermediateTrend changes from one direction to the other. IntermediateTrend changes from Uptrend to Downtrend once an Intermediate Lower-High is confirmed.
    • 1 = the bar that changes from downtrend to uptrend
    • -1 = the bar that changes from uptrend to downtrend

2. Price Levels Data Series – Targets, Stop-Losses, RaysPrices

Divergence Profit Targets & Stop Losses

  1. RegularDivStoploss – Returns the price level of the associated stop-loss line from the very first bar of its divergence setup until the bar after its divergence trigger.
  2. RegularDivTarget1 – Returns the price level of the associated profit-target1 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  3. RegularDivTarget2 – Returns the price level of the associated profit-target2 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  4. DoubleRegularDivStoploss – Returns the price level of the associated stop-loss line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  5. DoubleRegularDivTarget1 – Returns the price level of the associated profit-target1 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  6. DoubleRegularDivTarget2 – Returns the price level of the associated profit-target2 line from the very first bar of its divergence setup until the bar after its divergence trigger.
  7. TripleRegularDivStoploss – Returns the price level of the associated stop-loss line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  8. TripleRegularDivTarget1 – Returns the price level of the associated profit-target1 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  9. TripleRegularDivTarget2 – Returns the price level of the associated profit-target2 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  10. HiddenDivStoploss – Returns the price level of the associated stop-loss line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  11. HiddenDivTarget1 – Returns the price level of the associated profit-target1 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  12. HiddenDivTarget2 – Returns the price level of the associated profit-target2 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  13. HiddenToSingleRegularDivStoploss – Returns the price level of the associated stop-loss line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  14. HiddenToSingleRegularDivTarget1 – Returns the price level of the associated profit-target1 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  15. HiddenToSingleRegularDivTarget2 – Returns the price level of the associated profit-target2 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  16. HiddenToDoubleRegularDivStoploss – Returns the price level of the associated stop-loss line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  17. HiddenToDoubleRegularDivTarget1 – Returns the price level of the associated profit-target1 line from the very first bar of its divergence setup and until the bar after its divergence trigger.
  18. HiddenToDoubleRegularDivTarget1 – Returns the price level of the associated profit-target2 line from the very first bar of its divergence setup and until the bar after its divergence trigger.

Swing Rays Prices

  1. MajorRaysPricesHighs – Returns the price level of the nearest MajorSwingHigh
  2. MajorRaysPricesLows – Returns the price level of the nearest MajorSwingLow
  3. IntermediateRaysPricesHighs – Returns the price level of the nearest IntermediateSwingHigh
  4. IntermediateRaysPricesLows – Returns the price level of the nearest IntermediateSwingLow

3. Values Data Series – SwingTrend & Oscillator

SwingTrend

  1. MajorPotentialBars – Number of bars to the previous ConfirmedMajorSwing on the opposite side (e.g., a PotentialMajorHigh references the nearest ConfirmedMajorLow)
  2. MajorPotentialMinutes – Number of minutes to the previous ConfirmedMajorSwing on the opposite side (e.g., a PotentialMajorHigh references the nearest ConfirmedMajorLow)
  3. MajorPotentialAR – Distance – measured in multiples of AverageRange – to the previous ConfirmedMajorSwing on the opposite side (e.g., a PotentialMajorHigh references the nearest ConfirmedMajorLow)
  4. MajorPotentialARPerBar – Speed, or rather, velocity when including up/down direction of swing – measured in multiples of AverageRange per bar – to the previous ConfirmedMajorSwing on the opposite side (e.g., a PotentialMajorHigh references the nearest ConfirmedMajorLow)
  5. MajorPotentialARPerMinute – Speed, or rather, velocity when including up/down direction of swing – measured in multiples of AverageRange per minute – to the previous ConfirmedMajorSwing on the opposite side (e.g., a PotentialMajorHigh references the nearest ConfirmedMajorLow)
  6. MajorPotentialTicks – Distance – measured in ticks – to the previous ConfirmedMajorSwing on the opposite side (e.g., a PotentialMajorHigh references the nearest ConfirmedMajorLow)
  7. MajorPotentialTicksPerBar – Speed, or rather, velocity when including up/down direction of swing – measured in ticks per bar – to the previous ConfirmedMajorSwing on the opposite side (e.g., a PotentialMajorHigh references the nearest ConfirmedMajorLow)
  8. MajorPotentialTicksPerMinute – Speed, or rather, velocity when including up/down direction of swing – measured in ticks per minute – to the previous ConfirmedMajorSwing on the opposite side (e.g., a PotentialMajorHigh references the nearest ConfirmedMajorLow)
  9. IntermediatePotentialBars – Number of bars to previous ConfirmedIntermediateSwing on opposite side (e.g., a PotentialIntermediateHigh references the nearest ConfirmedIntermediateLow)
  10. IntermediatePotentialMinutes – Number of minutes to previous ConfirmedIntermediateSwing on opposite side (e.g., a PotentialIntermediateHigh references the nearest ConfirmedIntermediateLow)
  11. IntermediatePotentialAR – Distance – measured in multiples of AverageRange – to the previous ConfirmedIntermediateSwing on the opposite side (e.g., a PotentialIntermediateHigh references the nearest ConfirmedIntermediateLow)
  12. IntermediatePotentialARPerBar – Speed, or rather, velocity when including up/down direction of swing – measured in multiples of AverageRange per bar – to the previous ConfirmedIntermediateSwing on the opposite side (e.g., a PotentialIntermediateHigh references the nearest ConfirmedIntermediateLow)
  13. IntermediatePotentialARPerMinute – Speed, or rather, velocity when including up/down direction of swing – measured in multiples of AverageRange per minute – to the previous ConfirmedIntermediateSwing on the opposite side (e.g., a PotentialIntermediateHigh references the nearest ConfirmedIntermediateLow)
  14. IntermediatePotentialTicks – Distance – measured in ticks – to previous ConfirmedIntermediateSwing on opposite side (e.g., a PotentialIntermediateHigh references the nearest ConfirmedIntermediateLow)
  15. IntermediatePotentialTicksPerBar – Speed, or rather, velocity when including up/down direction of swing – measured in ticks per bar – to the previous ConfirmedIntermediateSwing on the opposite side (e.g., a PotentialIntermediateHigh references the nearest ConfirmedIntermediateLow)
  16. IntermediatePotentialTicksPerMinute – Speed, or rather, velocity when including up/down direction of swing – measured in ticks per minute – to the previous ConfirmedIntermediateSwing on the opposite side (e.g., a PotentialIntermediateHigh references the nearest ConfirmedIntermediateLow)

Oscillator

  1. Value1stOscillatorPlot – Returns the value of the first oscillator plot.
  2. Value2ndOscillatorPlot – Returns the value of the second oscillator plot.
  3. Value3rdOscillatorPlot – Returns the value of the third oscillator plot.
  4. Value – [Do not use] This is a “dummy” series for internal purposes, which returns a null value.
Like this article?