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.

    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?

        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.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            94 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            49 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            31 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            34 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            70 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X