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 Christopher_R, Today, 12:29 AM
            0 responses
            7 views
            0 likes
            Last Post Christopher_R  
            Started by sidlercom80, 10-28-2023, 08:49 AM
            166 responses
            2,235 views
            0 likes
            Last Post sidlercom80  
            Started by thread, Yesterday, 11:58 PM
            0 responses
            3 views
            0 likes
            Last Post thread
            by thread
             
            Started by jclose, Yesterday, 09:37 PM
            0 responses
            7 views
            0 likes
            Last Post jclose
            by jclose
             
            Started by WeyldFalcon, 08-07-2020, 06:13 AM
            10 responses
            1,415 views
            0 likes
            Last Post Traderontheroad  
            Working...
            X