Stock Codes and Names on Chart for Amibroker (AFL)
dtv over 10 years ago Amibroker (AFL)
Plot Stock Codes and Full Names on Chart
Screenshots
Indicator / Formula
Copy & Paste Friendly
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() );
GfxSelectFont("Tahoma", Status("pxheight")/8 );
GfxSetTextAlign( 6 );// center alignment
GfxSetTextColor( ParamColor( "Warna Tulisan Background", colorLightGrey ) );
GfxSetBkMode(1); // transparent
//GfxTextOut(Name(),Status("pxwidth")/2 , Status("pxheight")/12 );
GfxSetTextAlign( 0 );
GfxSelectFont("Tahoma", Status("pxheight")/40 );
GfxTextOut( FullName() +"("+Name()+")", 10, Status("pxheight") - 50);
GfxSelectFont("Tahoma", Status("pxheight")/28 );
GfxSetBkMode(1); // transparent
GfxSetTextAlign( 0 | 0 );0 comments
Leave Comment
Please login here to leave a comment.