|
kel
 New User
Posts: 2
Joined: 4/20/2006
Location: uk
User Profile |
Hi I'm trying to work on a code in setups so i can have the share price changing to green and red
as the price keeps changing any help .cheers kelvin
|
|
Jim Dean
 Sage
       Posts: 3433
Joined: 3/13/2006
Location: L'ville, GA
User Profile |
Rule for green:
C >= c[1]
Rule for red:
C < c[1]
Note that the change won’t occur print by print unless you are using Tick feed.
C[1] will always be the prior bar, not the prior print.
|
|
kel
 New User
Posts: 2
Joined: 4/20/2006
Location: uk
User Profile |
Hi Jim
Thank you very much for that and a very quick reply
Top Man
Cheers Kelvin
|