InSync - Multi Ribbon Indicator for Amibroker (AFL)
Copy & Paste Friendly
// Multi Ribbon Indicator "InSync" By Panos 19-SEP-2010
SetChartOptions( Mode = 0, Flags = 0, gridFlags = 0, ymin = 0, ymax = 110, blankbars = 0 );
SetChartBkColor(ParamColor("Φόντο ",background=colorGrey40));
textoffset= Status( "firstvisiblebar" )+1; // Define label bar (x) position location
Sellcolor = 20; // shapeSmallSquare Color
Buycolor=10; // color of the shapeSmallSquare
TextColor=ParamColor("Φόντο1",background=colorGrey40);
_SECTION_BEGIN("CCI 14"); //ok
CCIn=Param( "CCI 14", 12, 9, 28, 1 );
Ccn=CCI(CCIn);
CCIColor=IIf (Ccn > 100,Sellcolor,IIf(Ccn < -100,Buycolor,background));
Plot( 100, "", CCIColor, styleNoLabel);
PlotText("CCI ", textoffset, 101, TextColor);
PlotShapes(shapeSmallSquare,CCIColor,0,100,0);
_SECTION_END();
the rest is missing :-(