Can anyone show me how to plot a dot above or below a bar? I want to plot a dot above the bar when h>h[1] and plot a dot below the bar when l<l[1] and be able to see them historically too.
Thank you.
Plot a dot above/below a bar. [SOLVED]
- TJ
- Posts: 7774
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
First, you need to decide the "Offset" -- the distance between the H and the dot.
Try this:
ps. This is a start; I have not verified the code.
Try this:
Code: Select all
var: offset(1);
if H > H[1] then
PLOT1 ( H + offset, "NewHigh") // set plot type to POINT
ELSE
Noplot(1);
ps. This is a start; I have not verified the code.
- TJ
- Posts: 7774
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
The setting is applied to the chart as it is drawn on the screen.