I want to implement a traffic light in the upper right hand corner of my streaming chart. I can not get my mind around the cosmetic chart functions. Some are bar,price based and some are x,y co-ordinate based. I would like to use x,y co-ords but the circle function does not support this.
If i go price,bar how do I calculate the top (price) of the screen?
thanks
Size:
Color:
Instead of drawing your traffic lights yourself, it would be much more efficient and easy to get images of traffic lights and then use DrawImage.
Size:
Color:
QUOTE:
I would like to use x,y co-ords but the circle function does not support this.
But
DrawText does:
CODE:
Please log in to see this code.
Size:
Color:
DrawImage is still the right way to go here, but fwiw, expanding on Eugene's idea -
CODE:
Please log in to see this code.
Size:
Color: