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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    47 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    15 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X