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 cmtjoancolmenero, Yesterday, 03:58 PM
        3 responses
        23 views
        0 likes
        Last Post cmtjoancolmenero  
        Started by Brevo, Today, 01:45 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by rjbtrade1, 11-30-2023, 04:38 PM
        2 responses
        72 views
        0 likes
        Last Post DavidHP
        by DavidHP
         
        Started by suroot, 04-10-2017, 02:18 AM
        5 responses
        3,021 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by Stanfillirenfro, Today, 07:23 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X