Indicators: Swap Fee Monitor Panel

 

Swap Fee Monitor Panel:

Real-time swap & rollover monitor panel for all MarketWatch symbols. Displays long/short swap rates, daily and weekly costs per lot with color-coded values.

Swap Fee Monitor Panel

Author: Kayode Michael Oyetunde

 
thx for sharing; please check / revise ONDEINIT since "SWP_" objects stays on screen
 
Mustafa Nail Sertoglu #:
thx for sharing; please check / revise ONDEINIT since "SWP_" objects stays on screen

For some reason, the custom defined PREFIX does not seem to be working in DeleteAllObjects() nor in OnDeinit().

I added ObjectsDeleteAll() to OnDeinit() in the attached file which works. Just be aware that this "thermonuclearly" deletes all objects whatsoever from the chart.

Files:
 
Mustafa Nail Sertoglu #:
thx for sharing; please check / revise ONDEINIT since "SWP_" objects stays on screen
thank, the code has been updated.
Files:
 
Kayode Michael Oyetunde #:
thank, the code has been updated.

Thank you for removing the nuke.

I guess that MQL5 doesn't allow a custom define to be reused in another custom define.