Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can I add specified session to an indicator

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

    How can I add specified session to an indicator

    Hey
    How do I get a specific plot output(not have to be a plot can either be a variable) from an indicator that i made to my strategy that gets the specified custom session time I made?

    #2
    asielad, this would unfortunately not be possible, the indicator called from the strategy would use the session definitions the bars series is using which the strategy was started from.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks

      just to be sure...
      what i want is to do something like that:

      MyIndicator("ES 12-11(60 Min) <Default 24/7> ", input1,input2).Plot[10];

      or something with "add" :

      Add("ES 12-11(60 Min) <Default 24/7> ", PeriodType.Min, 60);

      and then

      MyIndicator(input1,input2).Plot[1][10];


      even if is there a way to just get the data from another opened chart...
      i'll happy to hear any other idea or something similar to my example


      Originally posted by NinjaTrader_Bertrand View Post
      asielad, this would unfortunately not be possible, the indicator called from the strategy would use the session definitions the bars series is using which the strategy was started from.

      Comment


        #4
        So, in other words : you would for example run a chart on the cash hours and wish to access the 24 hrs data on it as well for your calcs?
        BertrandNinjaTrader Customer Service

        Comment


          #5
          yes please

          yes please

          Comment


            #6
            That would only be possible if you work with the Default 24/7 template for the primary series and then limit the data to use in your custom calculations, as if you add a timeframe of the same symbol it would use the primary series data including the sessions to limit memory usage. Specifying a template to use here programmatically to enhance flexibility in on our suggestion list for future consideration though.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by kulwinder73, Today, 10:31 AM
            0 responses
            0 views
            0 likes
            Last Post kulwinder73  
            Started by terofs, Yesterday, 04:18 PM
            1 response
            22 views
            0 likes
            Last Post terofs
            by terofs
             
            Started by CommonWhale, Today, 09:55 AM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by Gerik, Today, 09:40 AM
            2 responses
            7 views
            0 likes
            Last Post Gerik
            by Gerik
             
            Started by RookieTrader, Today, 09:37 AM
            3 responses
            13 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X