source code for who ever wanted.JohnL33 wrote: Tue Jul 22, 2025 12:13 am The Fix
You've correctly identified a common issue in MQL4 indicators that manage their own graphical objects. When the indicator re-initializes (which happens when you change timeframes, edit settings, or recompile the code), the OnInit() function runs again.
NOW no more old objects,Only new one is drawn.
Attachments forums
Re: Something interesting from Chatgpt/AI please post here
JohnL33, Thu Jul 31, 2025 1:19 am