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 funk10101, Yesterday, 09:43 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by TheWhiteDragon, 01-21-2019, 12:44 PM
        5 responses
        551 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by rtwave, 04-12-2024, 09:30 AM
        5 responses
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by funk10101, Today, 12:02 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by GLFX005, Today, 03:23 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Erick  
        Working...
        X