Need to display text over every candle

#1
Hi all,

I have a number generated for each candle. How do I display this number over a candle using AFL?

I already have the chart generated using PlotOHLC. Now just need a method to display those numbers.
 

travi

Well-Known Member
#2
Hi all,

I have a number generated for each candle. How do I display this number over a candle using AFL?

I already have the chart generated using PlotOHLC. Now just need a method to display those numbers.
This is a code from TD System which plots numbers

PlotShapes(IIf(Buy9Bars==1, shapeDigit1,
IIf(Buy9Bars==2, shapeDigit2,
IIf(Buy9Bars==3, shapeDigit3,
IIf(Buy9Bars==4, shapeDigit4,
IIf(Buy9Bars==5, shapeDigit5,
IIf(Buy9Bars==6, shapeDigit6,
IIf(Buy9Bars==7, shapeDigit7,
IIf(Buy9Bars==8, shapeDigit8,
IIf(Buy9Bars >9, shapeDigit8,shapeNone))))))))),colorGreen, 0, H, H*.0015);

You can modify Buy9Bars variable and assign it the number you want.
 

Similar threads