Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
How to assign colors to indicators
Here is an example to change the color of the price bar. However, it can be adapted to volume, etc.
x:=mov(c,21,s);
up:=if(x>ref(x,-1),x,0);
dn:= if(x<ref(x,-1),x,0);
flat:= if(x=ref(x,-1),x,0);
up {color me green};
dn {color me red};
flat {color me black};
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
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.