Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stochastic lines crossover check - how to ?

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

    Stochastic lines crossover check - how to ?

    Is there an easy way of chacking stochastic lines crossover ?

    Let's say i wanna go long when stochastic %k goes above %d.

    #2
    danhoff,

    I am happy to assist you.

    You can use the function "CrossAbove()" or "CrossBelow()". For more information, please see the following link.





    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      OK i got it .
      Last edited by danhoff; 11-14-2011, 12:50 PM.

      Comment


        #4
        danhoff,

        Something like this would work :

        Code:
        CrossAbove(Stochastics(periodD,periodK,smooth).K,Stochatics(periodD,periodK,smooth).D,1)
        Please let me know if I may assist further.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          How can i check crossever let's say 3 bars back from the current bar?

          Comment


            #6
            danhoff, for this purpose the CrossAbove / CrossBelow methods would have a lookback input.

            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
            109 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            573 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            575 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X