• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 pennywise, Yesterday, 04:14 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by MarthaClines, Today, 06:20 PM
    0 responses
    7 views
    0 likes
    Last Post MarthaClines  
    Started by Irukandji, 05-09-2019, 04:28 AM
    38 responses
    298 views
    0 likes
    Last Post nkhoi
    by nkhoi
     
    Started by manugarc, Today, 01:15 PM
    0 responses
    11 views
    0 likes
    Last Post manugarc  
    Started by JMont1, Today, 11:42 AM
    0 responses
    9 views
    0 likes
    Last Post JMont1
    by JMont1
     
    Working...
    X