_SECTION_BEGIN("BUG on 0 or NULL");
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()
);
Haut= IIf(Interval()==3600, Ref(HHV(C,20),-1),
IIf(Interval()==1800, Ref(HHV(C,40),-1),
IIf(Interval()==900, Ref(HHV(C,80),-1),
0 /* 0 or Null NOT THE SAME FOR THE
GRAPHE */ ))) ;
Bas= IIf(Interval()==3600, Ref(LLV(C,10),-1),
IIf(Interval()==1800, Ref(LLV(C,20),-1),
IIf(Interval()==900, Ref(LLV(C,40),-1),
0 /* 0 or Null NOT THE SAME FOR THE
GRAPHE */ ))) ;
Plot(Haut,"HautP",colorBlue,styleLine);
Plot(Bas,"BasP",colorRed,styleLine);
_SECTION_END();