• 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 behindthewheel, Today, 10:39 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by Newtrader101, Today, 10:46 AM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by tecmisc1, Today, 10:42 AM
    2 responses
    10 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by ballboy11, Today, 10:35 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by fredfred, Today, 10:30 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Working...
    X