Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stochastic values

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

    Stochastic values

    Trying to create an indicator that reads two stochastics values from two different data series. When I add to the current chart (which is different from the two series), i was hoping to see the arrows if the K,D values are above 90 or below 10. But, it is not working.

    The commented code seem to work but the values seem incorrect. Attached is the code. Can you please advise?

    Attached Files

    #2
    Hello ark321,

    The built in stochastics indicator does not actually take an input due to how its programmed. To get those values you would need to use BarsInProgress conditions like the attached script.

    Attached Files

    Comment


      #3
      thanks. But it is still not displaying arrows for the condition

      Comment


        #4
        Any idea what could be the issue?

        Comment


          #5
          Hello ark321,

          You would need to use prints to see what the values of the indicators are to know if the conditions should be true or not. https://support.ninjatrader.com/s/ar...language=en_US

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          593 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          343 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          556 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          554 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X