• 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

ZOrderType Documentation Error

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

  • gregschr
    started a topic ZOrderType Documentation Error

    ZOrderType Documentation Error

    I believe there is an error in the NT8 documentation for ZOrderType.

    The documentation shows setting ZOrderType in State == State.SetDefaults. Setting it here does nothing.

    When I set ZOrderType in State == State.Configure instead, it works as expected.

    Also, in the NT8 editor, the Intelliprompt list box does not appear for DrawingToolZOrder.

  • gregschr
    replied
    Thanks Chelsea, closing the workspace is certainly quicker than shutting down NinjaTrader.

    Just an FYI,
    Code:
    ZOrderType = DrawingToolZOrder.AlwaysDrawnFirst
    draws the tool instances Behind the bars.

    Code:
    ZOrderType = DrawingToolZOrder.AlwaysDrawnLast
    draws the tool instances Above the bars.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello Greg,

    From my understanding the ZOrderType would affect how drawing tools are loaded as the workspace is loaded. (This does not set the actual ZOrder number of the drawing tool as the drawing object is drawn)

    http://ninjatrader.com/support/helpG...zordertype.htm

    This would mean the workspace would need to be closed and re-opened.

    Leave a comment:


  • gregschr
    replied
    Hi Chelsea,

    I am not sure how to remove an instance of a Drawing Tool script. I was thinking that removing the Drawing Tool from the Chart would do that, but evidently not, so I tried exiting NinjaTrader this time after the changes.

    On restarting NinjaTrader, ZOrderType then worked correctly in State == State.SetDefaults.

    Thanks,
    Greg

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello gregschr,

    Items that are set in State.SetDefaults only take affect when first adding the script.

    May I confirm you have removed the instance of the script and re-added this each time it is changed? (Reloading the script would not cause default settings to take affect)

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Rashid Garuba, Today, 11:37 AM
0 responses
7 views
0 likes
Last Post Rashid Garuba  
Started by elkhatabi, Today, 11:19 AM
0 responses
5 views
0 likes
Last Post elkhatabi  
Started by hurleydood, Today, 10:07 AM
0 responses
6 views
0 likes
Last Post hurleydood  
Started by Irukandji, Today, 09:43 AM
1 response
10 views
0 likes
Last Post NinjaTrader_ThomasC  
Started by TazoTodua, Today, 09:06 AM
0 responses
9 views
0 likes
Last Post TazoTodua  
Working...
X