• 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

Program Strategy Analyzer Question

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

    Program Strategy Analyzer Question

    Hope someone can give me an idea on this. I have 2 moving averages, type dosen't matter for this discusion(faster & slower periods). How does one state a condition that when the faster MA slopes up or positive from either flat or sloping down from the previous bar? I understand how to input the MA is greater than the previous bar, but it must 1st be either flat or sloping down before it starts sloping up. It has to slope up or in other words the bar would turn green if so coded. This is for a long with the slower MA also having to be sloping up at bar close. The opposite condition for a short.

    So if this makes sense, at an exit condition the fast MA must 1st go back to flat or sloping down before it turns up again to look for a long. And it has to be on the 1st hook sloping up, no additional bars past the 1st positive slope up, that agrees with the slower MA sloping up.

    #2
    Since you know how to create a condition to check when the MA is greater than the previous bar....just extend this concept. Check if the MA of the prior bar is less than or equal to the MA of 2 bars ago.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by spamula, Today, 03:00 PM
    0 responses
    0 views
    0 likes
    Last Post spamula
    by spamula
     
    Started by johng964, Today, 02:57 PM
    0 responses
    1 view
    0 likes
    Last Post johng964  
    Started by MARTIN MARTIN, Today, 01:01 PM
    0 responses
    6 views
    0 likes
    Last Post MARTIN MARTIN  
    Started by bouncetherubble, Today, 10:21 AM
    2 responses
    12 views
    1 like
    Last Post bouncetherubble  
    Started by tcbarrow, Today, 10:53 AM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X