Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Text in line with price

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

    Text in line with price

    Hi,

    I have some data which currently plots to the bottom right of the panel 1 (same as input series), in fact, in the indicator parameters it is possible to chose from a drop down menu where the text will be placed... top right, top left, bottom right, bottom left and even "center".

    I actually want the text to be displayed to the right of current price. How can I add that to the choices for where the text displays?

    Thanks.

    #2
    ScottieDog, this could unfortunately not be done with the DrawTextFixed you're using here, however with the regular DrawText you can place text exactly at the desired bar / price value, so my suggestion would be looking to change over to user that in your script.

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks.

      I´d like to have a go at this myself, is it difficult to do for a new coder?

      Could you talk me through it?

      Comment


        #4
        Sure, if you're not familiar with those aspects of our NinjaScript then this would be for example a good start - http://www.ninjatrader.com/support/f...ead.php?t=3419 This should cover the basics and help you get going modifying your code. With the DrawTextFixed you just have one object basically which you modify, with the more general DrawText you can create as many as you want (provided a new tag id is supplied) and you can designate what to plot, at which bar and which price level.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bmartz, 03-12-2024, 06:12 AM
        4 responses
        31 views
        0 likes
        Last Post bmartz
        by bmartz
         
        Started by Aviram Y, Today, 05:29 AM
        4 responses
        12 views
        0 likes
        Last Post Aviram Y  
        Started by algospoke, 04-17-2024, 06:40 PM
        3 responses
        28 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by gentlebenthebear, Today, 01:30 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by cls71, Today, 04:45 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X