The script uses Rising and Falling to paint the HMA Curve.
When I use smaller number like HMA6 or HMA8 in 3-min chart, the following scenario happens:
1st min: when HMA is rising, it paints green.
2nd min: when HMA is falling, it paints red, but the green drawing line is still there.
End of 3rd min: there may have both green and red lines appeared on the screen.
If I hit F5 to refresh the chart, the chart will be cleared up and no confusion.
What do I need to change the script to refresh the screen by itself?
Comment