|08-13-2009, 06:03 PM||#1|
Join Date: Aug 2009
Thanked 0 times in 0 posts
Uptrend/Downtrend Colors on Bar Chart
I am new to ninja script. I am looking to create an uptrend/downtrend indicator (using MACD as the basis) that turns the bars to green in an uptrend and to red in a downtrend. I am sure it is very simple for those who are expert at programming, which I am inept. I would appreciate any help. Thanks.
If MACD (Standard settings) is greater than 0 and the MACD Diff (Histogram) is greater than 0, then the bars (on the chart) turn green.
If MACD (Standard settings) is less than 0 and the MACD Diff (Histogram) is less than 0, then the bars (on the chart) turn red.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Special Bar Colors if Close on High or Low||Turtle21||Indicator Development||4||07-30-2009 03:52 PM|
|reading bar colors?||Burga1||Strategy Development||15||05-18-2008 10:49 PM|
|reference past bar colors?||Burga1||General Programming||4||04-24-2008 06:45 PM|
|bar colors||pgabriel||Charting||1||11-29-2007 11:12 AM|
|Custom Plot colors & Thresholds & Price marker colors||higler||General Programming||5||06-22-2007 07:47 AM|