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 cls71, Today, 04:45 AM
            0 responses
            1 view
            0 likes
            Last Post cls71
            by cls71
             
            Started by mjairg, 07-20-2023, 11:57 PM
            3 responses
            213 views
            1 like
            Last Post PaulMohn  
            Started by TheWhiteDragon, 01-21-2019, 12:44 PM
            4 responses
            544 views
            0 likes
            Last Post PaulMohn  
            Started by GLFX005, Today, 03:23 AM
            0 responses
            3 views
            0 likes
            Last Post GLFX005
            by GLFX005
             
            Started by XXtrader, Yesterday, 11:30 PM
            2 responses
            12 views
            0 likes
            Last Post XXtrader  
            Working...
            X