• 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

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 rickyblah12, Today, 09:57 AM
        0 responses
        1 view
        0 likes
        Last Post rickyblah12  
        Started by pecunianonolet, 11-28-2016, 03:34 AM
        4 responses
        3,135 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by contrax, Today, 08:20 AM
        2 responses
        12 views
        0 likes
        Last Post contrax
        by contrax
         
        Started by brownsfan019, Today, 07:54 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by Amitabha, Today, 04:50 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Marco  
        Working...
        X