Optimized versions 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/
The indicator shows the High, Close and Low of the previous day, week or month. These levels are very commonly used as support and resistance among traders, so the indicator will draw them and leave a gap between periods to make it easy to distinguish when a new one started.
Update 1.1: Added some optimizations.
Update 1.1.1: Fixed compilation error in newer metatrader compilers.
Settings:
IMPORTANT: When timeshift and precision settings are used, the indicator may display the incorrect levels for a few seconds, this is because MetaTrader is downloading the required bars. So, if you use the H1 for precision, check if the bars were downloaded.
The following image shows High, Close and Low for: Previous day(Green), Previous week(Blue) and Previous month(Red). 3 instances of the indicator were attached to the chart and as you can see, only the month lines shows the value tag at the end of it(Probe settings). This template can be downloaded.

The function of program operation by time
The function allows the execution of the specific code in the specified time interval.
Levels with Trail
The Expert Advisor trades based on the support/resistance levels set by the user, while trailing the Stop Loss order.
iPulsar - indicator of critical price levels
The indicator registers the price level breakout moments and the significance of these levels.
Divergence
Implementation of a trading system based on divergence detection.