Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need Help with MACD and Sto Indicator

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

    Need Help with MACD and Sto Indicator

    I'm wondering if someone can help me with the following:

    Code to determine when the MACD is above/below (not necessarily crossing) the centerline and all three stochastics (20,50,100) have crossed below the 20 and/or above the 80.

    I want to set a flag when the stos are all below the 20 AND the MACD is below the centerline.

    Thanx in advance.
    b15s0h9 is offline Report Post

    #2
    Hello b15s0h9,

    It sounds like all of this can be done inside of the Strategy Wizard using the Condition Builder. Since you all want them to be in the true to set this flag you can place them all in the same "Set" condition so they all must be true before doing the following action.

    If you have never created a strategy before here is a link to a recently recorded 'Automated Strategy Development Webinar' video for you to view at your own convenience that will help greatly in this.


    We also have a Help Guide that goes over the Condition Builder also that you may view as well.


    Let us know if we can be of further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    574 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X