Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

HMA Color plotting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HMA Color plotting

    I am using HMA color from the following website:


    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?

    #2
    Ben, I would suggest looking into the code to ensure the coloring logic is inline with the concepts offered here: http://www.ninjatrader.com/support/f...ead.php?t=3227

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    29 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    227 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    309 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X