• 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 vevbarrq, Today, 12:11 AM
    0 responses
    2 views
    0 likes
    Last Post vevbarrq  
    Started by johnnybegoode, Yesterday, 10:16 PM
    0 responses
    4 views
    0 likes
    Last Post johnnybegoode  
    Started by reedstickets, Yesterday, 07:53 PM
    0 responses
    9 views
    0 likes
    Last Post reedstickets  
    Started by Atilla, Yesterday, 04:05 PM
    0 responses
    31 views
    0 likes
    Last Post Atilla
    by Atilla
     
    Started by Displacer, Yesterday, 02:57 PM
    2 responses
    17 views
    0 likes
    Last Post Displacer  
    Working...
    X