Last active
August 29, 2015 14:05
-
-
Save smnuman/96547134473e44facddc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_SECTION_BEGIN( "Name" ); | |
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( 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(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment