gringoh Posted April 20, 2011 Report Share Posted April 20, 2011 Hello, Just a short question, I would like to add a font size option to the code bellow but I cannot manage to make it work, I tried the following code but it is not working: SetLabel ("iProfit12", DoubleToStr (tu/MathPow(10,DecPts()), DecPts()), ColorOnSign(tp), eiX0Row, eiOffsetY+2*eiStepY, fontsize ); Here the source code: extern int FontSize = 8; //+--------------------------------------------------------------------------+ //| Options positions | //+--------------------------------------------------------------------------+ extern int eiOffsetY = 25; // (Y) Offset text vertically extern int eiStepY = 14; // (Y) Step displacements of the text vertically extern int eiX0Row = 3 ; // (X) Coordinate of the first column //+--------------------------------------------------------------------------+ //| Color Settings | //+--------------------------------------------------------------------------+ extern color ecText = White; // Text Color extern color ecProfit = Lime; // Color profit extern color ecLoss = Red; // Color loss SetLabel ("iProfit12", DoubleToStr (tu/MathPow(10,DecPts()), DecPts()), ColorOnSign(tp), eiX0Row, eiOffsetY+2*eiStepY ); Help needed I am sure it is not that complicated... Thank you very much for who will help me, Best regards Quote Link to comment Share on other sites More sharing options...
gringoh Posted April 21, 2011 Author Report Share Posted April 21, 2011 I am sure it is not so complicated, I tried to move the "fontsize" option, but the indicator was not displayed at all, then it was but on the wrong corner, then whithout the good color... Arffff help needed pleaaaseeeee, Be sure I will share what I am preparing, Best regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.