_SECTION_BEGIN("Ulta_Sulta");
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
bkcolor = ParamColor("Bk Color",colorBlack);
SetChartBkColor(bkcolor) ;
reverse = ParamToggle("Rerverse Chart","NO|YES",1);
if(reverse) {
GraphXSpace =-100;
BarCol = IIf(C > O, colorRed, colorBlue);
SetBarFillColor(IIf(C > O, colorRed, bkcolor));
}
else {
BarCol = IIf(C < O, colorRed, colorBlue);
SetBarFillColor(IIf(C < O, colorRed, bkcolor));
}
Plot( C, "Close", BarCol, styleCandle | styleNoTitle);
_SECTION_END();