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.Text not working correctly when used in a strategy

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

    Draw.Text not working correctly when used in a strategy

    When you use Draw.Text in the script of a NinjaTrader strategy, it may or may not work, depending on how the strategy is started.

    (1) When the strategy is added to a chart and enabled through the strategy dialogue box of the chart, Draw.Text will work.

    (2) When the same strategy is added to a chart but enabled through the NinjaTrader Control Center, Draw.Text will not work and the draw objects will not be drawn by the strategy.

    I believe that other NinjaScript Draw methods behave in a similar way (not tested).

    #2
    Hello Harry,

    Thank you for the post.

    I can confirm that I am seeing the same behavior. I will let my supervisor know of this behavior.

    Please let me know if I can assist further.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hello Chris, will the bug be fixed?

      Comment


        #4
        Hello Harry,

        Thanks for the follow up.

        This bug is reported as fixed in R17 and up. Please ensure you are running revision 17.2 of NinjaTrader 8 by going to Help>About.

        If you are not on this version, please update using the steps below:
        • First, copy your license key from NinjaTrader under Help> License Key then exit NinjaTrader
        • Click on the link: http://ninjatrader.com/PlatformDirect
        • Enter your license key and press Submit
        • Select 'NinjaTrader 8'
        • Select 'Download'
        • Critical: Before running the installer, ensure NinjaTrader is closed.
        If you are already on the latest version. I will need to test the script you are using. Please export it, then either post it here, or you may send the script to platformsupport[at]ninjatrader[dot]com referencing the link to this forum thread in the body of the email.

        I look forward to hearing of your results.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kevinenergy, 02-17-2023, 12:42 PM
        115 responses
        2,699 views
        1 like
        Last Post kevinenergy  
        Started by prdecast, Today, 06:07 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by Christopher_R, Today, 12:29 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by chartchart, 05-19-2021, 04:14 PM
        3 responses
        577 views
        1 like
        Last Post NinjaTrader_Gaby  
        Started by bsbisme, Yesterday, 02:08 PM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X