Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

High, low and closing prices of the previous day, week or month - MetaTrader 4 Script - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

High, Low and Close of the previous day, week or month - indicator for MetaTrader 4

Optimized version available for free:

MetaTrader 4:
https://www.mql5.com/en/market/product/71842

MetaTrader 5: https://www.mql5.com/en/market/product/71834

Follow on Instagram: https://www.instagram.com/borelatech/


This indicator shows the high, closing and low prices of the previous day, week or month. These levels are very commonly used among traders as support and resistance levels, so the indicator will plot these levels and leave gaps between cycles to make it easy to distinguish when a new cycle begins.

Update 1.1: Added some optimizations.

Update 1.1.1: Fixed compilation errors in newer Metatrader compilers.

Important: When using timeshift and precision settings, the indicator may display incorrect levels for a few seconds as MetaTrader downloads the required bars. So if you are using H1 to improve accuracy, check if the bar chart has been downloaded.

The chart below shows the high, close, and low prices for the previous day (green), last week (blue), and last month (red). 3 instances of the indicator are attached to the chart, and as you can see, only the month line shows value labels (probe settings) at its end. The template is available for download.

High, Low and Close of the previous day, week or month - indicator for MetaTrader 4


Attachment download

📎screenshot_template.tpl (4.08 KB)

📎 common_sr.mq4 (18.98 KB)

Source: MQL5 #14410

Verification code Refresh