NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 06-22-2011, 07:21 PM   #1
Benluk
Member
 
Join Date: Mar 2011
Posts: 33
Thanks: 2
Thanked 0 times in 0 posts
Default HMA Color plotting

I am using HMA color from the following website:
http://www.greattradingsystems.com/H...raderindicator

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?
Benluk is offline  
Reply With Quote
Old 06-23-2011, 02:10 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 978 times in 961 posts
Default

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
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bar/Candle color change with HMA slope??? MiniDowTrader Charting 3 10-17-2012 09:00 AM
HOW to CHANGE HMA COLOR depend on up and down? xifenglie Indicator Development 6 12-09-2008 09:40 AM
Make an HMA or SMA change color based on slope? pclark Charting 1 10-01-2008 03:21 AM
Color Plotting Lambo General Programming 9 08-29-2008 03:46 PM
HMA (Hull Moving Average) color change Mexie Indicator Development 13 10-21-2007 08:58 AM


All times are GMT -6. The time now is 09:00 PM.