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

Draw.TextFixed

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

    Draw.TextFixed

    how do I use Draw.TextFixed or equivalent to draw on a sub panel?

    #2
    Hello pman777,

    Thanks for your post.

    In the indicator, you would need to set the property DrawOnPricePanel = false in State.SetDefaults.

    Here is the DrawOnPricePanel Help Guide to assist you further.

    Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.
    Shawn B.NinjaTrader Customer Service

    Comment


      #3
      i have that set as 'false' but still displaying on the price panel

      Comment


        #4
        these are my 'SetDafault' parameters:

        Name = this.GetType().Name;
        Calculate = Calculate.OnBarClose;
        IsOverlay = false;
        DisplayInDataBox = true;
        DrawOnPricePanel = false;
        DrawHorizontalGridLines = true;
        DrawVerticalGridLines = true;
        PaintPriceMarkers = true;
        ScaleJustification = NinjaTrader.Gui.Chart.ScaleJustification.Right;
        MaximumBarsLookBack = MaximumBarsLookBack.Infinite;

        Comment


          #5
          Hello pman777,

          Could you please reply with your script attached, so that I may investigate this behavior further?

          You can attach your script to your response by going to Tools > Export NinjaScript > Export selected source files > select your script > select the right arrow > Export. The file will be located under (My) Documents\NinjaTrader 8\bin\Custom\ExportNinjaScript.

          You could post the script to your forum reply, or send an email to platformsupport [at] ninjatrader [dot] com with the script as an attachment. In the email please include a link to this forum thread.
          Shawn B.NinjaTrader Customer Service

          Comment


            #6
            fixed it ... needed to reload the indicator ... thanks for your help!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Graci117, Today, 09:02 PM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by ETFVoyageur, Today, 07:55 PM
            0 responses
            7 views
            0 likes
            Last Post ETFVoyageur  
            Started by janio973, Today, 07:24 PM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by aligator, 01-06-2022, 12:14 PM
            4 responses
            248 views
            0 likes
            Last Post john_44573  
            Started by reynoldsn, Today, 05:56 PM
            0 responses
            15 views
            0 likes
            Last Post reynoldsn  
            Working...
            X