• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 ahadari28, Today, 04:01 PM
    0 responses
    1 view
    0 likes
    Last Post ahadari28  
    Started by TazoTodua, Today, 06:00 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by TazoTodua, Today, 09:06 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by gbux11, Today, 02:36 AM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by NinjaCustomer, 05-09-2019, 08:54 AM
    4 responses
    67 views
    0 likes
    Last Post Harry
    by Harry
     
    Working...
    X