Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access Input Series in State.Configure

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

    Access Input Series in State.Configure

    Hello,

    how can I access value ES 06-23 in State.Configure block... I wan to add custom data series with this name - it requires ES 06-23. Is there a way to access it somehow...
    e.g. this.DataSeries.InputSeries.name ??

    Thanks for advice
    Paul


    Click image for larger version

Name:	image.png
Views:	134
Size:	128.1 KB
ID:	1256219

    #2
    Hello, thanks for writing in. It is not possible to access data from State.Configure. You must wait until at least State.DataLoaded to access data from any series you have on the chart or have added using AddDataSeries().

    Comment


      #3
      Well,

      How Can I add volumtetric chart same as my primary chart?
      Code:
       else if (State == State.Configure)
                  {
                      // Add Volumetric Time Frame [timeFrameVolumetric]
                      AddVolumetric("ES JUN23", BarsPeriodType.Range, iRangeBarSize, VolumetricDeltaType.BidAsk, 1);
      
                      // Add Entry Time Frame [timeFrameEntry]
                      AddDataSeries(BarsPeriodType.Range, iRangeBarSize);
      
                      // Add Daily Chart [timeFrameDaily]
                      AddVolumetric("ES JUN23", BarsPeriodType.Day, 1, VolumetricDeltaType.BidAsk, 1);
      ​
      Do I have to Change always first parameter ES JUN23? That does not seem probable

      Comment


        #4
        or do i havet call AddVolumetric in State.DataLoaded? that is non sense I guess

        Comment


          #5
          Hi, you will need to call AddVolumetric() within State.Configure, but it is not possible to get any data from State.Configure in any case.



          I have an example of how to use this here:



          Please note that the ES June contract will expire tomorrow, you can roll over your instruments by going to Tools>Database management.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          43 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          21 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          30 views
          1 like
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          50 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          40 views
          0 likes
          Last Post CarlTrading  
          Working...
          X