Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi Timeframe

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

    Multi Timeframe

    1. Is BarsSinceEntry always with respect to the primary bars object? Currently, 5 min is primary and 1 min is secondary. BarsSinceEntry(1, "", 0) is always in terms of the 5 min object.

    2. Is the look back period for CrossAbove/CrossBelow with respect to each data point? e.g. on the previously stated bars object config,

    CrossAbove(MACD(Closes[0], 12, 26, 9), MACD(Closes[1], 12, 26, 9).Avg, 10)

    would look at 50 min of MACD(Closes[0], 12, 26, 9) and 10 min of MACD(Closes[1], 12, 26, 9).Avg

    3. On a multi bars object strat, if the input is not specified (i.e. MACD(12, 26, 9)), will both bars objects' data be run through the indicator?

    All the best,
    Taylor Block

    #2
    Hi Taylor,

    1. It would be tied to the specified BIP object - to which series did you submit the referenced entry order?

    2. For the Cross Above / Below it would be important in which BIP context this is called - http://www.ninjatrader-support.com/H...BarSeries.html

    3. No, if you don't specify the bars array explicitly (or call in BIP context like 2), the primary one is used.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, Yesterday, 01:02 PM
    0 responses
    29 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    21 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    160 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    95 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    148 views
    2 likes
    Last Post CaptainJack  
    Working...
    X