Pivot Points Daily Weekly Monthly
Info
The Pivot Points Daily Weekly Monthly is a Indicator for MetaTrader 5 that on gold (xauusd) many traders watch the same pivot levels, so price often reacts there. This indicator takes the high, low and close of the previous day, week or month and draws the pivot P with R1, R2, R3 above and S1, S2, S3 below, one set for each period, so you also see the levels that price respected on the days before.
Usage
This tool is typically used for enhancing chart analysis and decision making.
Platform
This Indicator works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Indicators folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use Pivot Points Daily Weekly Monthly
1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.
2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.
3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.
4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.
Frequently Asked Questions
Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."
Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).
Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.
What this tool does
On Gold (XAUUSD) many traders watch the same pivot levels, so price often reacts there.
Typical Use Case
This Indicator excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Indicator works on MetaTrader 5. Place the file in the MQL5/Indicators folder and restart the terminal.
Description & Settings
Related: Prior Period Levels and Pivot Points Indicator - another powerful indicator for MetaTrader 5 traders.
On Gold (XAUUSD) many traders watch the same pivot levels, so price often reacts there. This indicator takes the high, low and close of the previous day, week or month and draws the pivot P with R1, R2, R3 above and S1, S2, S3 below, one set for each period, so you also see the levels that price respected on the days before.
Also recommended: Confirmed Swing Pivots with Trend Moving Average - similar indicator with strong performance on MetaTrader 5.
Classic formula by default, or Fibonacci with the range at 0.382, 0.618 and 1.0 from P. Each line starts where its period starts and carries its name and price. An optional alert fires when a candle closes across any level of the current period.
A pivot is a reference, not an entry by itself. The levels come from your broker daily, weekly and monthly bars, so a broker with a short Sunday candle or a different server time will give slightly different numbers.
Settings
Pivot period
: daily (default), weekly or monthly. Use a chart timeframe lower than the pivot period.
Formula
: Classic (P = high + low + close / 3, R1 = 2P - low, S1 = 2P - high, R2 and S2 at P plus and minus the range, R3 and S3 one range beyond R1 and S1) or Fibonacci.
Periods to draw
: 5, the current one included.
Draw R3 and S3
: on.
Colours for P, resistance and support, line style, and the
name and price
at the start of each line.
Alerts
: when a candle closes across a level of the current period, off by default. Popup, push and sound.
Object prefix
: change it to run two copies on the same chart, for example one daily and one weekly.
What it needs
Any symbol. It reads the D1, W1 or MN1 bars of the symbol and draws trend line segments and text objects only. It has no buffers, it is redrawn once per new bar and it never trades. Push notifications need your MetaQuotes ID in the terminal options.
Make it yours
Run it on XAUUSD, XAGUSD, EURUSD, GBPUSD, US30 or NAS100, put a daily and a weekly copy together and see where the levels line up. Compare how often price turns at P against R1 and S1, and combine the pivots with Smart Money Concepts liquidity or support and resistance zones. XP_Calc holds both formulas in one function, so it is easy to add Camarilla or Woodie or to use the levels in an EA.
About this code
Open source. Use it as it is, adapt it, build your own version on top of it. Questions, suggestions and your own tests are welcome in the comments below. Provided as is, use at your own risk.
Related:
PDH PDL Sweep Levels
,
Round Number Levels Session Grid
,
Auto Fibonacci Retracement
,
Opening Range Breakout Box
.
Changelog
v1.0 (2026-12-05): initial release.
You may also like: Daily Pivot Points: Classic, Fibonacci, and Camarilla Levels - excellent alternative for indicator users on MetaTrader 5.
Source Code
#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version "1.00"
#property description "This code is educational. Feel free to use, modify and upgrade as you wish. Visit ROBOTFX.ORG for professional trading tools"
#property indicator_chart_window
#property indicator_buffers 0
#property indicator_plots 0
enum ENUM_XP_PIVOT_TF
{
XP_PIV_DAY = 0,
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.