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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    30 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Yesterday, 02:41 AM
    0 responses
    13 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    22 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Working...
    X