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

How to Add a 7 EMA + Stochastics

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

    How to Add a 7 EMA + Stochastics

    Hi

    How does one do this using the wizard?

    I want to have a 7 EMA + Stochastics (Period D = 3)

    So

    IF bar > 7 EMA && bar > then the 80 line on the Stochastics indicator go long

    and

    IF bar < 7 EMA && bar < then the 20 line on the Stochastics indicator go short

    Hope this helps?

    Thankyou

    #2
    I'm Looking for the same thing !
    Tried to build it in the Wizard & I get errors about MA.

    Comment


      #3
      Hello,

      I am not sure if I follow your condition regarding the 80 stochastics line.

      You do intend the following:
      Once the D line of stochastics > 80 line?

      Current bar > 80 line, would be true when price of Close[0] is greater than 80.
      JasonNinjaTrader Customer Service

      Comment


        #4
        chamza, thats easy, I'll send u the code later today.

        NinjaTrader_Jason - yes what yousaid is true, i dont know how to do it, can you please help me?

        Thanks

        Comment


          #5
          ninjamouse,

          In the Condition Builder you want to do this:

          Left hand side: select Indicators -> Stochastics. In the Parameters select D for the Plot parameter.

          Right hand side: select Misc -> Numeric value. Type in 80

          Middle: select >
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by eladlevi, Today, 08:41 AM
          3 responses
          5 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by FAQtrader, 04-25-2024, 12:00 PM
          9 responses
          149 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by ETFVoyageur, Yesterday, 02:10 AM
          5 responses
          51 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by ETFVoyageur, 05-07-2024, 07:05 PM
          20 responses
          163 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by Ludwik, Today, 03:52 AM
          4 responses
          28 views
          0 likes
          Last Post Ludwik
          by Ludwik
           
          Working...
          X