Screen color changes frequently for Amibroker (AFL)
_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", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
for( i = 1; i < BarCount; i++ )
z = (GetPerformanceCounter()/100)%256;
Change=ColorHSB( ( i + z ) % 256, 255, 100 );
SetChartBkColor(Change);
RequestTimedRefresh(1);
No comments:
Post a Comment
Thanks