Hi All,
I'm trying to work out how to draw two shapes on one bar. They are on different positions on the bar, but for some reason only one shows up.
I'm using the drawShapeRelative function.
e.g. this only shows one of the shapes:
drawShapeRelative(0, close(0), Shape.UPTRIANGLE, "", Color.RGB(0,255,0), Shape.UPTRIANGLE);
drawShapeRelative(0, open(0), Shape.SQUARE, "", Color.RGB(128,0,0), Shape.SQUARE);
Any ideas?
Cheers,
- Will
I'm trying to work out how to draw two shapes on one bar. They are on different positions on the bar, but for some reason only one shows up.
I'm using the drawShapeRelative function.
e.g. this only shows one of the shapes:
drawShapeRelative(0, close(0), Shape.UPTRIANGLE, "", Color.RGB(0,255,0), Shape.UPTRIANGLE);
drawShapeRelative(0, open(0), Shape.SQUARE, "", Color.RGB(128,0,0), Shape.SQUARE);
Any ideas?
Cheers,
- Will
Comment