All indicators

CPR with MAs, Super Trend & VWAP

Sep 22, 2022

Static chart image
Support and ResistanceVolume BasedSignalsMoving AveragesPivot Based (Retrospective)

The CPR with MAs, Super Trend & VWAP indicator provides a comprehensive technical analysis suite combining Central Pivot Range (CPR), Standard Pivots, and multiple trend-following overlays. It aims to assist traders in identifying key support and resistance levels across various timeframes while confirming trend direction through Moving Averages, VWAP, and SuperTrend.

Usage

The tool can be used to identify intraday and long-term pivot points that act as potential reversal or breakout zones. By combining CPR with indicators like SuperTrend, traders can look for confluence between structural price levels and momentum signals.

  • CPR & Daily Levels: Used primarily for intraday trading to identify the "Golden Zone" and daily support/resistance (S1-R3).
  • Weekly & Monthly Pivots: These levels provide higher-timeframe context, helping traders identify significant supply and demand zones that may not be visible on lower timeframes.
  • Trend Overlays: The inclusion of SMA, EMA, and VWAP allows for trend filtering, while the SuperTrend provides visual buy and sell signals via plot shapes.

Details

The script calculates the Central Pivot Range using the standard Pivot, Bottom Central (BC), and Top Central (TC) formulas. The Standard Pivots follow traditional floor pivot calculations for 9 levels of support and resistance. Higher timeframe data (Daily, Weekly, Monthly) is fetched using request.security to ensure accuracy regardless of the chart's current resolution.

Settings

Pivots & CPR

  • Plot CPR?: Toggles the visibility of the Central Pivot Range (Pivot, BC, and TC).
  • Plot Daily S1/R1 - S3/R3: Individually enable or disable daily support and resistance levels.
  • Plot Weekly/Monthly Pivot: Toggles the main pivot line for weekly or monthly intervals.
  • Plot Weekly/Monthly S1/R1 - S3/R3: Toggles higher timeframe support and resistance levels.

Moving Averages

  • Plot SMA/EMA?: Toggles the visibility of the Simple and Exponential Moving Averages.
  • Length: Sets the lookback period for the respective moving average.
  • Source: Determines the price data used for the MA calculation (e.g., Close).

VWAP & SuperTrend

  • Plot VWAP?: Toggles the Volume Weighted Average Price line.
  • Plot Super Trend?: Toggles the SuperTrend line and signal arrows.
  • Factor: The multiplier used for the SuperTrend ATR calculation.
  • Length: The ATR period for the SuperTrend calculation.

FAQ

How do I access CPR with MAs, Super Trend & VWAP?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Can I use multiple timeframes of pivots at once?

Yes, the indicator allows you to enable daily, weekly, and monthly levels simultaneously to find overlapping areas of interest.

What do the different line styles represent?

Daily levels are represented by solid lines, Weekly levels use cross (+) markers, and Monthly levels use circle (o) markers to help distinguish them visually on the chart.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.