Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

futures continuous data indicator on floor hours chart - is it possible

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

    futures continuous data indicator on floor hours chart - is it possible

    i've set up a hull ma with bollinger bands that i like based on a continuous 30min chart.
    the indicator calls/loads the 30min data so i can run the indicator on any time volume or other candle type chart
    i've been given a setup for the 5min floor hours charts that i really like but i would really like to move my 30min continuous hma to the floor hour chart. i can certainly tolerate the stair-step that would happen between closes and opens since i've grown accustom to the stair-step nature of a 30min indicator on a volume candle chart.

    i'm just using the basic dataseries call to load the 30min within the indicator

    else if (State == State.Configure)
    {
    AddDataSeries(BarsPeriodType.Minute, 30);

    is there a way when on a (TradingHours=CMEUSIndexFuturesRTH) chart to load the (TradingHours=CMEUSIndexFuturesETH) data for the indicator and have it plot when the floor hours chart is plotting but using the 30min continuous data with the inevitable plot jump between close and open...

    thanks,
    w


    #2
    Hello stafe, thanks for writing in.

    There are several overloads for AddDataSeries that accept a trading hours template name:

    Code:
    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, string tradingHoursName)
    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, string tradingHoursName, bool? isResetOn NewTradingDay)
    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName,  bool? isResetOnNewTradingDay)

    e.g. for a 30 minute series of ETH session:

    Code:
    BarsPeriod bp = new BarsPeriod { BarsPeriodType = BarsPeriodType.Minute, BarsPeriodTypeName = "30MinBars", Value = 30 };
    AddDataSeries("ES 12-20", bp, "CME US Index Futures RTH");
    Please let me know if I may provide any further information.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      thanks for the reply i would have never found my way to that solution - i'll give it a whirl.

      happy thursday holiday

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sidlercom80, Today, 02:40 AM
      0 responses
      7 views
      0 likes
      Last Post sidlercom80  
      Started by b16_aln, Today, 01:52 AM
      0 responses
      9 views
      0 likes
      Last Post b16_aln
      by b16_aln
       
      Started by junkone, Yesterday, 08:55 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by adaeiqendqw, 01-16-2021, 02:56 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by [email protected], Yesterday, 06:10 PM
      5 responses
      16 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Working...
      X