Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi Condition MRO

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

    Multi Condition MRO

    How can I create a multi Condition MRO?

    Example:
    I want to get the Bar Number for the Most Recent Occurence that StochasticsFast.D was below 20 AND Rising.

    This does not work

    int barsAgo = MRO(delegate {return StochasticsFast(3, 8).D < 20 && Rising( StochasticsFast(3, 8).D ) ;}, 1, 20);

    #2
    See if this works
    Code:
    int barsAgo = MRO(delegate {return StochasticsFast(3, 8).D[COLOR=Red][0][/COLOR] < 20 && Rising(StochasticsFast(3, 8).D);}, 1, 20);
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    601 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    347 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    559 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    558 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X