• 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

Can indicator get name of workspace?

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

    Can indicator get name of workspace?

    Hello.

    Most of my indicators determine instrument and timeftrame in OnStartUp() and autoset parametres.

    But now I have same charts in some different workspaces.

    That's why Intrument.Full.Name and Bars.Period is not enough. I have to know to what workspace chart belongs.

    Is the way to get it?
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #2
    Hello fx.practic,

    Viewing / switching the open workspace in NinjaTrader 7 is not supported by NinjaTrader support to do.

    As a tip, the NinjaTrader.Gui.WorkspaceOptions should contain what you are looking for.

    This thread will remain open for any community members that would like to assist.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      How can the name of the workspace that contains the indicator's host chart be accessed in NT8?

      Just want to find the property value, not change it.

      Can't find it under Ninjatrader.Gui.

      Thanks.

      Comment


        #4
        Hello Ricam,

        For NinjaTrader 8, this is undocumented but you can loop through the NinjaTrader.Gui.Tools.WorkspaceOptions.SavedWorksp aces collection.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by tecmisc1, Today, 09:57 AM
        0 responses
        2 views
        0 likes
        Last Post tecmisc1  
        Started by mbesha, Today, 09:26 AM
        0 responses
        1 view
        0 likes
        Last Post mbesha
        by mbesha
         
        Started by Brillo, Today, 08:58 AM
        0 responses
        6 views
        0 likes
        Last Post Brillo
        by Brillo
         
        Started by avrege, Today, 01:48 AM
        2 responses
        14 views
        0 likes
        Last Post avrege
        by avrege
         
        Started by markbb10, Today, 07:14 AM
        0 responses
        7 views
        0 likes
        Last Post markbb10  
        Working...
        X