i am trying to do plot text of the study line to see what it is. in
this code, if i draw a study line RE, it shows the text Resistance and
disappears quickly. i dont understand why the text disappears. how do
i make it visible all the time?
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g,
Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC(
C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |
ParamStyle("Style") | GetPriceStyle() );
ZZ=LastValue(Study("RE",GetChartID()));
Title=Title+BarIndex();
PlotText("RESISTANCE",Status
("firstvisiblebarindex"),ZZ,colorRed,colorBlue);
_SECTION_END();