This is a regular Period_Converter in the body of the indicator.
It should be in the indicators folder.
It has a filter for extra bars.
When he creates a new chart, he skips the bars from 23:55 to 01:10 (you can adjust the time yourself).
Thanks to this, the graphs are clean.
To prevent the terminal from spoiling them again, it creates its own timeframes (m5=m25, m15=m215).
He creates them from the bars that are on the screen, he cannot read from the file.
To create full-fledged weekly charts, you need to download the entire history of the m5, "maximum bars in the window", this requires a lot of operational memory.
How to quickly create a clean m5 chart.
Attach the indicator to the m5 window. It will open a new clean schedule.
Open the indicator, disable "Open_a_new_chart".
How to quickly create a clean m4 graph.
Attach the indicator to the m1 window. Change the "PeriodMultiplier" to 4. It will open a new clean chart.
Open the indicator, disable "Open_a_new_chart".
If you see strange bars on the right, you need to delete the modified history files (m21, m4, m25...).
I can't show you pictures (you are under sanctions).
I hope the moderators will add pictures and explain how to upload whole story.
PS
It seems to me that the bars appear on the right due to the fact that the file was created longer the previous time than when it was turned on again.
This will be fixed in the next version. And I will add a limit for the created graphs, it saves a lot of operational memory. And I will add the deletion of old files.
100 MB of productive memory is required to create full-fledged 1-Month schedules for the m5 (500 MB for the m1).
Maybe it's possible to use m15, they need 30 MB.
30*30=~ +1GB of RAM. And you will have 30 terminals with all TF of all currency pairs, No trash candles.
Attachments forums
Re: ⏱️ Alternative Simple Modification of Indicators and Time
andrei-1, Sat Sep 19, 2026 9:00 pm