Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Multi-TF Indicators & Incomplete Historical Reload

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

    Multi-TF Indicators & Incomplete Historical Reload

    When using multi-timeframe indicators, that Add() additional timeframes in the Initialize() section, I am experiencing an issue where 'Reload All Historical Data' only reloads data for the timeframe native to the chart.

    An example is as follows:

    Chart = $EURUSD(1min)

    Indicator uses Add(PeriodType.Tick, 40)

    So there are 2 different PeriodTypes involved. The native PeriodType is Minute, whereas the secondary PeriodType is Tick.

    When I perform 'Reload All Historical Data', only the Minute data is reloaded and refreshed. In order to get the Tick data up to date, I need to open a tick chart separately (or manually add a tick-based dataseries to the chart) and refresh.

    Is there a way around this?

    Thanks

    J

    #2
    j2496i, unfortunately this is a known limitation here of the framework, the workaround would be reloading the data for the series manually or adding it to the chart as well like you noted.

    We track this in our product enhancement lists as well under #125.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by j2496i View Post
      When I perform 'Reload All Historical Data', only the Minute data is reloaded and refreshed. In order to get the Tick data up to date, I need to open a tick chart separately (or manually add a tick-based dataseries to the chart) and refresh.

      Is there a way around this?

      Thanks

      J
      a useable workarrond is using the same calculation base datas for the primary chart and all used additional dataseries.

      Your can use primary timed chart only with seconds... a "60sec timeframe" as alternate to the currently 1min chart. Sec-Charts use and reload tick datas and your additional 40tick dataseries work correctly

      Comment


        #4
        ATMService - thank you!

        Perfect workaround.

        J

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by judysamnt7, 03-13-2023, 09:11 AM
        4 responses
        59 views
        0 likes
        Last Post DynamicTest  
        Started by ScottWalsh, Today, 06:52 PM
        4 responses
        36 views
        0 likes
        Last Post ScottWalsh  
        Started by olisav57, Today, 07:39 PM
        0 responses
        7 views
        0 likes
        Last Post olisav57  
        Started by trilliantrader, Today, 03:01 PM
        2 responses
        21 views
        0 likes
        Last Post helpwanted  
        Started by cre8able, Today, 07:24 PM
        0 responses
        10 views
        0 likes
        Last Post cre8able  
        Working...
        X