Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

LRO/MRO in multi-time frame

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

    LRO/MRO in multi-time frame

    These two are very useful, particularly in pattern type of analysis. However not being supported in multi-time frame basically render them useless...

    Will it be too much to ask to have them supported in multi-timeframe??

    A typical usage case will be,

    I need to find out, in the past, the 2nd crossabove of a certain value and the value is not fixed (if it's fixed then I can just do a counter on each onbarupdate).

    Unfortunately corssabove/below does not return 'index/offset' to point out where the condition occurs.

    #2
    A related question is, is it possible to get the 'position' (forward or backward, i.e., normal array type of index, or barsago type) of where the MIN() occurs?

    For example, MIN(Low, 100)[0] returns the MIN of Low for the past 100 bars, but how do I know which bar is it?

    Comment


      #3
      Thanks for sharing your thoughts balancenv, this is on our feedback list for future consideration in product management (#1061), I've just added your vote in as well.

      For your second item, you can look into using LowestBar -

      Comment


        #4
        Originally posted by NinjaTrader_Bertrand View Post

        For your second item, you can look into using LowestBar -

        http://www.ninjatrader.com/support/h...tsub=LowestBar
        LowestBar does not work since it does not return array.
        Pattern matching type of operations require going backward maybe not for the 1st occurrence but the 2nd, 3rd, or even more.

        Since LowestBar only returns the lowestbar from the currentbar, I can't find the 2nd lowest going backward easily...

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        152 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        87 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        131 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        127 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        106 views
        0 likes
        Last Post CarlTrading  
        Working...
        X