Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 -

      BertrandNinjaTrader Customer Service

      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 giulyko00, Yesterday, 12:03 PM
        2 responses
        10 views
        0 likes
        Last Post giulyko00  
        Started by r68cervera, Today, 05:29 AM
        0 responses
        3 views
        0 likes
        Last Post r68cervera  
        Started by geddyisodin, Today, 05:20 AM
        0 responses
        6 views
        0 likes
        Last Post geddyisodin  
        Started by JonesJoker, 04-22-2024, 12:23 PM
        6 responses
        36 views
        0 likes
        Last Post JonesJoker  
        Started by GussJ, 03-04-2020, 03:11 PM
        12 responses
        3,241 views
        0 likes
        Last Post Leafcutter  
        Working...
        X