• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problems with DrawText()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problems with DrawText()

    I'm trying to draw text using DrawText() wiht its parameters but I can't get it. Could anyone show me an example with all the parameters, please?

    DrawText(string tag, bool autoScale, string text, int barsAgo, double y, int yPixelOffset, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)

    Thanks in advance.

    #2
    Hello soyjesus,

    Thank you for your post.

    An example would be the following:
    Code:
    DrawText("textTag1", true, "Hello World!", 0, Close[0], 4, Color.Black, new Font("Arial", 12), StringAlignment.Center, Color.Black, Color.Transparent, 10);
    Please review the information at the following link for DrawText(): http://www.ninjatrader.com/support/h...7/drawtext.htm

    Please let me know if I may be of further assistance.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Seeker of Alpha, Today, 06:17 PM
    0 responses
    9 views
    0 likes
    Last Post Seeker of Alpha  
    Started by gtheaded, Today, 03:47 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Tyler  
    Started by TAJTrades, Today, 03:25 PM
    0 responses
    6 views
    0 likes
    Last Post TAJTrades  
    Started by DTSSTS, Today, 01:26 PM
    0 responses
    13 views
    0 likes
    Last Post DTSSTS
    by DTSSTS
     
    Started by RFrosty, Today, 01:20 PM
    0 responses
    26 views
    0 likes
    Last Post RFrosty
    by RFrosty
     
    Working...
    X