Skip to main content

NMN Chart Stamp for Amibroker (AFL)

dayTrader almost 12 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 2)
  • Tags:
    amibroker

This code allows to print important relevant information of the selected Ticker on the chart.

OverlayMode should be set to 0 for the text to display on the chart.

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN( "NMN Chart Stamp" );
SetFormulaName("NMN Chart Stamp");
GfxFont	= ParamList("Chosen font", "Tahoma,Monaco,Arial,Times New Roman,Trebuchet MS,",3);
GfxSetOverlayMode( 0 );
GfxSelectFont( GfxFont, Status( "pxheight" ) / 8 );
GfxSetTextAlign( 6 );								// center alignment
GfxSetTextColor( GfxColor = ParamColor("Font color",ColorRGB( 200, 200, 200 )) );
GfxSetBkMode( 0 ); 									// transparent
GfxTextOut( Name(), Status( "pxwidth" ) / 2, Status( "pxheight" ) / 12 );
GfxSelectFont( GfxFont, Status( "pxheight" ) / 28 );
GfxTextOut( "("+FullName()+" /"+ RoundLotSize +"/"+ C * RoundLotSize +")", Status( "pxwidth" ) / 2, Status( "pxheight" ) / 4);
GfxSelectFont( GfxFont, Status( "pxheight" ) / 18 );
GfxTextOut( "Group '" + GroupID( 1 ) + "' | " + IndustryID( 1 ), Status( "pxwidth" ) / 2, Status( "pxheight" ) / 3.25 );
GfxSelectFont( "Tahoma", Status( "pxheight" ) / 36 );
GfxTextOut( "Script by - S M NUMAN", Status( "pxwidth" ) / 2, Status( "pxheight" ) / 2.5 );
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.