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
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,228 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    440 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    12 views
    0 likes
    Last Post FAQtrader  
    Working...
    X