Files
QuanTAlib/lib/reversals/ttm_scalper/TtmScalper.md
T
Miha Kralj 58f0812584 Add Vortex Indicator implementation and documentation
- Implemented Vortex Indicator in Vortex.cs, including calculation logic and event handling.
- Added detailed documentation for Vortex Indicator in Vortex.md, covering historical context, algorithm, outputs, and trading interpretation.
- Updated oscillators index to include TTM Wave indicator.
- Added TTM Wave documentation with algorithm and trading interpretation.
- Updated reversals index to include TTM Scalper Alert indicator.
- Added TTM Scalper Alert documentation with algorithm and trading strategy.
- Updated NDepend badges to reflect increased code metrics (classes, methods, lines of code, public types, comments, and complexity).
2026-02-06 07:43:40 -08:00

2.2 KiB

TTM_SCALPER: TTM Scalper Alert

Pending Implementation - Placeholder for John Carter's TTM Scalper Alert indicator

Historical Context

John Carter designed TTM Scalper Alert for quick identification of potential reversal points using a simple three-bar pattern recognition. The indicator marks pivot highs and lows that can serve as entry triggers for scalping strategies, particularly when combined with other TTM suite indicators.

Algorithm

Pivot High Detection

pivotHigh = high[1] > high[2] AND high[1] > high[0]
// Three consecutive bars where middle bar has highest high

Pivot Low Detection

pivotLow = low[1] < low[2] AND low[1] < low[0]
// Three consecutive bars where middle bar has lowest low

Alternative: Close-Based Version

pivotHigh = close[1] > close[2] AND close[1] > close[0]
pivotLow = close[1] < close[2] AND close[1] < close[0]

Default Parameters

Parameter Value Description
UseCloses false Use close prices instead of high/low
ShowPaintBars true Color bars at pivot points

Outputs

Output Type Description
PivotHigh bool True on confirmed pivot high (painted on bar-1)
PivotLow bool True on confirmed pivot low (painted on bar-1)
PivotHighPrice double Price level of pivot high
PivotLowPrice double Price level of pivot low

Visual Markers

  • ▼ (Down Triangle): Pivot high - potential short entry
  • ▲ (Up Triangle): Pivot low - potential long entry
  • Markers appear one bar after confirmation (on the middle bar of the 3-bar pattern)

Trading Strategy

  1. Long Entry: Pivot low signal + TTM Squeeze firing bullish + TTM Trend bullish
  2. Short Entry: Pivot high signal + TTM Squeeze firing bearish + TTM Trend bearish
  3. Stop Placement: Beyond the pivot point high/low

Category

Reversals - Detects potential trend reversal points using simple 3-bar pivot pattern.

See Also