Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi Timeframe

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

    Multi Timeframe

    Hi all, i have a question regarding Multi Timeframe indicators, is it possible to have a default data series?
    for instance, suppose im in a 60 minutes timeframe and have a MTF stochastic applied to the 60 minutes data series, then when i right click > intervals > 15 minutes, the stochastic remains calculating from the 60 minute chart, mi question is: Is there a command or something that will take the "default data series" of the chart to calculate so i dont have to reconfigure the indicator?


    case KBTMACDMTFV1.Day:
    Add(PeriodType.Day, timeframePeriods);
    break;
    case KBTMACDMTFV1.Minute:
    Add(PeriodType.Minute, timeframePeriods);
    break;

    #2
    Hello kabott,

    Thank you for your note.

    It is not documented to use the primary series bar information for a secondary series as this can lead to unexpected behaviors during optimizations.

    However, to do so:
    Add(Instrument.FullName, BarsPeriod.Id, BarsPeriod.Value, MarketDataType.Last);

    Add(string instrumentName, PeriodType periodType, int period, MarketDataType marketDataType)
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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