Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Retrieving Highest High for today

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

    Retrieving Highest High for today

    In Market analyzer I am scanning for setups that use daily bars and 10 min bars.

    So far I have completed the daily scan indicator but now I want to further filter by 10 minute bars within today.

    I would like to add in a check to see what the highest high is for todays 10 minute bars from the open to four bars ago. ( I don't care about bar 1,2,3)

    Is it possible to have a market analyzer scanning daily bars AND also further drill down when the daily information meets my criteria.

    Then when all that is met I would like to have ninja automatically enter into a posistion.

    Thanks

    #2
    All this can be built into a strategy...the downside, you can't run a strategy in the Market Analyzer.

    The Market Analyzer does allow indicator columns which does not support multi-time frame.

    To get the the highest high you should use the MAX() indicator. You can have an internal counter and check for the property FirstBarOfSession, when true, set the counter to a value of zero and increment on each new bar. Then on the current bar you could do -

    double highestHigh = MAX(High, CounterValue - 4)[4];

    Something like that.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by WHICKED, Today, 09:05 PM
    0 responses
    9 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by luislag14, Today, 06:29 PM
    0 responses
    8 views
    0 likes
    Last Post luislag14  
    Started by Protech, Today, 11:08 AM
    1 response
    23 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by guilhem, Today, 02:09 PM
    1 response
    24 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by Hyper, Today, 12:20 PM
    1 response
    23 views
    0 likes
    Last Post NinjaTrader_Jim  
    Working...
    X