I'm running an efs script that paints a shape on a chart using the "drawShape()" function when certain criteria are met. When the criteria is just being met the shape should appear and disappear until the different criteria passes a certain point (more than just price). The problem I'm having is the shape gets drawn fine but when it should go away it is still on the chart leading to a false signal. I've tried using the "repaintChart()" function but it doesn't do anything. I have to click on the "Refresh" button on the toolbar on the chart to make the shape go away. Oh, by the way, I have many charts open so they are usually not the "active" chart.
Is there anyway to make an "inactive" chart refresh in efs?
Is there anyway to make an "inactive" chart refresh in efs?
Comment