Pivot Point Moving Averages
Sep 13, 2017

The Pivot Point Moving Averages indicator calculates two simple moving averages based on the arithmetic mean of the high, low, and close prices to help traders identify short-term trend shifts and momentum based on the entire price range of a bar.
Usage
The Usage section describes how the script can be used to identify market direction. Traders typically look for crossovers between the two moving averages to determine entry or exit points. For example, a bullish signal occurs when the fast-period PPMA (defaulting to period 1) crosses above the slow-period PPMA (defaulting to period 3). This suggests that the average price is trending higher relative to its recent history.
Because these averages utilize the pivot point—the average of the high, low, and close—rather than just the closing price, they provide a more comprehensive view of the session's price action. This can be particularly useful in volatile markets where closing prices might not fully represent the session's overall sentiment.
Details
The concept behind this indicator is derived from Chapter 6 of the book Candlestick and Pivot Point Trading Triggers: Setups for Stock, Forex, and Futures Markets by John L. Person. The core calculation involves determining the "Pivot Point" for every bar, which is defined as:
Pivot = (High + Low + Close) / 3
The indicator then applies a Simple Moving Average (SMA) to these pivot values. By focusing on the median price range of the candle, the indicator aims to reduce the "noise" associated with closing-price fluctuations and offers a smoother trend-following perspective.
Settings
- Period 1: Determines the lookback length for the first simple moving average.
- Period 2: Determines the lookback length for the second simple moving average.
FAQ
What is the benefit of using the pivot point instead of the closing price for a moving average? Using the pivot point (HLC/3) incorporates the entire range of the trading session, which can offer a more balanced view of market value compared to the closing price, which only represents the final transaction.
Can this indicator be used for trend-following strategies? Yes, the crossover of the two PPMAs is a common trend-following technique used to identify shifts in momentum and potential trend reversals.
How can I access the Pivot Point Moving Averages tool? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

