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 jaybedreamin, Today, 05:56 PM
            0 responses
            3 views
            0 likes
            Last Post jaybedreamin  
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            18 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            1 view
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            6 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Working...
            X