• 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 newuser, Today, 08:37 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by bc24fl, Today, 06:51 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by U0000999, Yesterday, 05:17 AM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by asmmbillah, Today, 05:03 AM
    5 responses
    32 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by lordvader34, Today, 06:18 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Working...
    X