Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 NM_eFe, Today, 06:14 AM
    0 responses
    1 view
    0 likes
    Last Post NM_eFe
    by NM_eFe
     
    Started by sgordet, Today, 06:04 AM
    0 responses
    4 views
    0 likes
    Last Post sgordet
    by sgordet
     
    Started by bc24fl, 08-30-2019, 01:58 PM
    4 responses
    260 views
    0 likes
    Last Post PaulMohn  
    Started by sugalt, Today, 04:02 AM
    0 responses
    6 views
    0 likes
    Last Post sugalt
    by sugalt
     
    Started by tradingnasdaqprueba, 04-09-2024, 09:52 AM
    6 responses
    30 views
    0 likes
    Last Post tradingnasdaqprueba  
    Working...
    X