Pivot Points: A Reliable Support & Resistance Indicator

Oct 27, 2021

Pivot points provide a convenient method to identify intraday support and resistance levels.

This post will first explain how pivot points are calculated and interpreted. I’ll then use them to program a simple mean reversion strategy for the EURCHF.

You can download this strategy in the Free Strategies section.

As algorithmic traders, identifying support and resistance levels can be a challenge. Market structures that are easily discernable by the human eye are sometimes tedious to program.

Fortunately, pivot points provide a simple mathematical definition of support and resistance levels.

In this post, I’ll explain how pivot points are calculated, and how you can combine them with limit orders to produce a simple intraday mean reversion strategy.

What are Pivot Points?

Pivot points appear as a series of horizontal levels overlaid on prices. By default, they are calculated at the start of the trading day, and remain fixed until the close.

The central pivot point (PP) is an indication of the previous day’s average price.

Surrounding the central pivot are the first three intraday support and resistance levels, termed S1-S3 and R1-R3.

Pivot points are not a standard indicator in MT4; you can download an excellent one here.

Pivot Points Calculations

Different types of pivot point calculations have appeared over the years, but I’ll use the most common version here: the classic or floor pivot.

The previous day’s high (H), low (L) and close (C) prices will be used.

If you’re trading off intraday price levels, daily pivots are a good choice. If you’re a longer-term swing or position trader, you can also use weekly or even monthly pivots.

Interpreting Pivot Points

The central pivot point is an indicator of market sentiment. The market is bullish when trading above the pivot point, and bearish when trading below it. Prices fluctuate around the pivot during flat markets.

Like standard support and resistance levels, the S1-S3 and R1-R3 levels indicate potential market turning points. If a price penetration occurs, resistance levels usually become supports, and vice versa.

The chart below shows USDCAD interacting with the pivot supports on multiple occasions.

These support and resistance levels are typically used to determine trade entries and exits.

For instance, trend followers can go long when price penetrates R1, with a stop loss placed at the central pivot.

Lastly, since the second and third support/resistance levels are calculated using the previous day’s price range, the spacing between these levels gives an indication of prevailing market volatility.

Pivot Points Forex Trading Strategy

Since I’ve uploaded many longer-term trend following strategies, I’ll try my hand at intraday mean reversion this time.

Let’s attempt to fade moves on the 5-minute EURCHF, a traditionally ranging market.

I’ll break down each aspect of the strategy below.

Trading Hours

It is crucial to select appropriate trading hours when developing a mean reversion strategy. Such strategies usually perform better during the quiet Asian hours, which is the trading window between the New York close and London open.

Within this low volatility window, random noise can cause temporary price extensions that quickly revert to the mean.

For this strategy, I’ll only open trades within the 0100-0900 hr (GMT +2/+3) window. Notice that I excluded the first hour after the New York close. This hour usually contains the largest spread and slippage, which can destroy the expectancy of intraday mean reversion strategies.

Entry Points

The idea is to expect a reversal when prices reach the support/resistance levels.

Recall that the pivot point and its associated support/resistance levels are calculated using daily prices. After some observation, it became apparent that the 5-minute EURCHF rarely reaches even the S1/R1 levels, especially during the quiet Asian hours.

To get more trades, I’ll use the midpoint between the pivot and S1 for long entries, and the midpoint between the pivot and R1 for shorts.

I’ll go long when price crosses above the PP-S1 midpoint, and short when price crosses below the PP-R1 midpoint.

Limit Orders

I like to experiment with limit orders when taking a mean reversion approach. With a limit order, you can get a more favourable price and reduce your risk of slippage.

I’ll place the limit order 3 pips below the midpoint for longs, and 3 pips above the midpoint for shorts.

When combined with the entry condition above, this limit order means I’m betting that prices will retest the midpoint support/resistance after breaking through.

This makes sense because quiet markets typically don’t exhibit strong rejections of price around support and resistance levels. Prices usually hover around these levels, before gradually moving away from them.

I’m hoping the moves will run out of steam after this retest and quickly revert towards the pivot point, much like an overstretched rubber band snapping back into place.

Trade Exits

Like day traders, I’ll reduce market exposure by closing any open trades at 2355 hr.

A 20-pip profit target and 60-pip stop loss will complete the strategy.

AlgoWizard Programming

The pivot points entry condition is shown below.

When configuring the pivot points indicator, the Start Hour and Start Minute fields let you specify the start of each trading day.

Since I’m taking the New York close to be the start of the next trading day, I’ve input a starting time of 0000 hr (GMT +2/+3 broker).

And here are the trading actions.

The ConvertPipsToPrice function converts 3 pips to 0.0003.

Backtesting the Pivot Points Strategy

I decided to backtest with 1-minute OHLC prices for better precision because:

  • Short-term mean reversion strategies usually have small expectancies
  • Using limit orders means entries will occur within the 5-minute bars

Since the strategy trades during relatively quiet hours, I also specified a 1-pip slippage along with a 2-pip spread.

Here are the results from 2003-2021:

Nothing too impressive, but the equity curve shows the strategy has performed fairly consistently over the years.

Recall that this strategy only uses a single entry condition. It offers a good starting point for further development.

I recommend using the pivot points in conjunction with other indicators.

For example, taking mean reversion trades in the direction of a longer-term moving average can improve your win rate.

Wrapping Up

The pivot points indicator is a great tool when developing support and resistance-based strategies.

The central pivot point can be used as a barometer of market sentiment, while the surrounding support and resistance levels indicate potential turning points.

Look for impulsive breakouts around these levels if you’re a trend follower, or signs of overextension/weakness if you’re into mean reversion.

For higher probability trades, look for confluence between the pivot points and other indicators such as moving averages/Donchian channels/Fibonacci levels.

The strategy above can be downloaded in the Free Strategies section.

Powered By

Development Platform

Forex VPS

FXVM Forex VPS

Popular Posts

Laguerre RSI Trend Following Strategy

The Laguerre RSI attempts to improve the responsiveness of the regular RSI, whilst keeping whipsaw trades to a minimum. Let’s see how well it detects short-term pullbacks for a trend following strategy!

read more

What is Fixed Ratio Money Management?

Have you heard of fixed ratio money management? How does it compare to the popular fixed fractional approach? Here I’ll explain how fixed ratio works, and see how it stacks up against fixed fractional money management.

read more

Build a Diversified Portfolio With QuantAnalyzer

The ability to efficiently trade a diversified portfolio of strategies is one of the biggest advantages of algorithmic trading. Here we will use QuantAnalyzer’s Portfolio Master to build a portfolio consisting of high performing, uncorrelated strategies.

read more

What Is the QQE Indicator?

The QQE is a mysterious indicator that sometimes pops up in trading forums. Does it deserve a place alongside the more traditional momentum indicators like the RSI and CCI? Let’s add it to a trend following strategy to find out!

read more

Make your money work for you!

Get promotions, trading ideas and strategy development tips delivered to your inbox!

Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Trading Strategies

What’s the Best Time to Trade Forex?

What’s the Best Time to Trade Forex?

The forex markets are open 24/5, but not all hours are created equal. Here I dissect my broker data to determine the best time to trade forex.

Forex Weekend Gaps: Can You Exploit Them?

Forex Weekend Gaps: Can You Exploit Them?

Have you noticed that forex weekend gaps usually reverse within 3 days? Here I’ll program a mean reversion strategy to exploit gaps over the last 18 years!

Money Flow Index: An Improved RSI?

Money Flow Index: An Improved RSI?

The Money Flow Index is sometimes called the volume-weighted RSI. Can it outperform the RSI in this trend following strategy?

Automated Bollinger Bands Squeeze Forex Strategy

Automated Bollinger Bands Squeeze Forex Strategy

StrategyQuant’s BBWR indicator is the perfect tool to detect a Bollinger Bands squeeze. Here I explain how it’s calculated, and use it to program a breakout strategy for the AUDJPY!

Should You Use the Kelly Criterion for Forex Trading?

Should You Use the Kelly Criterion for Forex Trading?

The Kelly criterion is a famous mathematical formula that attempts to maximize your long-term capital growth. In this post, I’ll apply it to a EURUSD breakout strategy and explain some of its potential shortcomings when applied to forex trading.

Can a Trading Pause Improve Your Trend Following Results?

Can a Trading Pause Improve Your Trend Following Results?

A temporary trading pause can improve your win rate if you’re trend following a volatile market. Here I’ll program a trading pause into a simple breakout strategy, and test its effectiveness on the Widow Maker – the GBPJPY.

Laguerre RSI Trend Following Strategy

Laguerre RSI Trend Following Strategy

The Laguerre RSI attempts to improve the responsiveness of the regular RSI, whilst keeping whipsaw trades to a minimum. Let’s see how well it detects short-term pullbacks for a trend following strategy!

How to Use the Supertrend Indicator

How to Use the Supertrend Indicator

Despite its cool name, the Supertrend indicator often seems to slip under the radar. Here I explain how it’s calculated, and combine it with moving averages to produce a simple trend following strategy.

Ichimoku Trend Following Strategy

Ichimoku Trend Following Strategy

Like candlesticks, the Ichimoku indicator is a fine Japanese creation. Here I’ll explain how the Ichimoku is plotted, and use it to build a trend following strategy for the USDJPY.

Strategy Development

Do You Know Your System Quality Number?

Do You Know Your System Quality Number?

The System Quality Number measures the profitability & consistency of your trading system. Here’s how to calculate your SQN and use it to improve your trading!

How to Get a Realistic Backtest Spread

How to Get a Realistic Backtest Spread

Your choice of backtest spread can certainly make or break a strategy. This post will show you how to study the intraday spread variations of your market, and suggest several ways to avoid paying ridiculous spreads.

Do You Know Your Strategy’s Optimization Profile?

Do You Know Your Strategy’s Optimization Profile?

Your strategy’s optimization profile often reveals its robustness, helping you select strategies that will remain profitable in live trading. Here I explain why an optimization profile is important, and how you can easily obtain one using StrategyQuant’s optimizer.

Which MT4 Backtest Report Metrics Should You Use?

Which MT4 Backtest Report Metrics Should You Use?

Understanding your backtest report is an essential part of being a successful strategy developer. Here I explain what the numbers mean, and how you can make use of each metric during strategy development.

Out-of-sample Testing Using Monte Carlo Simulations

Out-of-sample Testing Using Monte Carlo Simulations

Traders often use Monte Carlo simulations to estimate worst-case drawdowns, but did you know they can be used for out-of-sample testing too? This post demonstrates the use of StrategyQuant’s Monte Carlo simulator to randomize historical prices and strategy parameters, helping you select robust strategies for live trading.

How Many Trades Should Your Backtest Have?

How Many Trades Should Your Backtest Have?

We all want a large sample of trades in our backtests, but practical limitations such as data availability often get in the way. Here I’ll explain why 30 trades is insufficient, and how you can use standard error to quantify the uncertainty arising from a small sample size.

Build a Diversified Portfolio With QuantAnalyzer

Build a Diversified Portfolio With QuantAnalyzer

The ability to efficiently trade a diversified portfolio of strategies is one of the biggest advantages of algorithmic trading. Here we will use QuantAnalyzer’s Portfolio Master to build a portfolio consisting of high performing, uncorrelated strategies.

Strategy Optimization Using MT4

Strategy Optimization Using MT4

How do you improve your trading strategy in MT4? This post will show you how to optimize the entry and exit parameters for a moving average crossover strategy. Finally, an intraday time filter will be added to help avoid false breakouts.

Debugging & Backtesting Using MT4

Debugging & Backtesting Using MT4

With a fresh algorithm at your fingertips, how do you verify that it has been programmed correctly? This guide will show you how to use Metatrader 4’s visual backtester to debug and backtest your strategy.

Create Your Trading Algorithm in 15 Minutes (FREE)

Create Your Trading Algorithm in 15 Minutes (FREE)

Converting your trading idea into an algorithm is the first step towards reaping the benefits of automated trading. This guide will cover the creation of a simple moving average crossover algorithm, without any actual programming.

What Is Drawdown in Trading?

What Is Drawdown in Trading?

Are you getting a comprehensive assessment of your strategy’s downside? This post will discuss several methods to measure drawdowns, helping you build and select strategies that better suit your risk appetite.

Live Trading

What’s the Best Time to Trade Forex?

What’s the Best Time to Trade Forex?

The forex markets are open 24/5, but not all hours are created equal. Here I dissect my broker data to determine the best time to trade forex.

How to Find a Real Trading Guru

How to Find a Real Trading Guru

Every day I come across a trading guru offering educational content on the internet. Many of them speak of huge returns with minimal effort. Should these be trusted? Here’s some tips on how to separate the wheat from the chaff.

How to Enjoy Stress-Free Trading

How to Enjoy Stress-Free Trading

Trading is a great way to make some additional income, but not if you’re constantly pulling your hair out. Here I offer 7 tips to help make your trading profitable and stress-free.

How to Select the Best Forex VPS

How to Select the Best Forex VPS

A virtual private server (VPS) is a virtual computer that you can rent and access remotely. It provides a reliable platform on which to execute your forex strategies. This post will help you decide whether you need a VPS, and show you how to select an optimal VPS.

Make your money work for you!

Make your money work for you!

 

Get trading ideas and strategy development tips delivered to your inbox!

Thanks for subscribing!

Pin It on Pinterest

Share This