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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    105 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    53 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    35 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    38 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    74 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X