![]() |
Multiple colours on single indicator line |
Post Reply ![]() |
Page <12 |
Author | |
Brendon ![]() BullCharts Staff ![]() ![]() Joined: 10 Sep 2004 Location: Australia Posts: 126 |
![]() ![]() ![]() ![]() |
This is the closest we can can up with - needs to be Bar style to make it easier to read. [horzline=0] n := input("Time periods",14,1); [color=rgb(000,000,255);name=up; Linestyle=Bar] if(cci(n)>=0,cci(n),0); [color=rgb(255,000,000);name=down; Linestyle=Bar] if(cci(n)<=0,cci(n),0);
|
|
![]() |
|
![]() |
|
IT-Trader ![]() Regular ![]() Joined: 10 Nov 2005 Posts: 23 |
![]() ![]() ![]() ![]() |
Thanks Brendon, that would really be appreciated.
Along similar lines possibly, I'd like the volume histogram to be blue on days when price closes up and red when price closes down. (...and maybe variations like C versus O, or today's H vs yest. H, but they are wish list rather than having an immediate use). My mind is a little addled today so I can't seem to work it out. Many thanks for your continued support, ITT. Edited by IT-Trader |
|
![]() |
|
Brendon ![]() BullCharts Staff ![]() ![]() Joined: 10 Sep 2004 Location: Australia Posts: 126 |
![]() ![]() ![]() ![]() |
Shall do a sample for you.
|
|
![]() |
|
![]() |
|
IT-Trader ![]() Regular ![]() Joined: 10 Nov 2005 Posts: 23 |
![]() ![]() ![]() ![]() |
Take a simple indicator such as CCI(14) and plot it.
I'd like to set it so that when it's above 0 the line is green and when it's below 0 the line is red. Is this possible? Thanks, ITT. |
|
![]() |
Post Reply ![]() |
Page <12 |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |