Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Setting K on stoch for execution problems

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

    Setting K on stoch for execution problems

    Hi guys,

    I am having a little problem with setting conditions. I only have a couple, but they are quite exact.

    For long entries I want the stoch K "only" to be greater than 80 on the stoch indicator
    also for this to happen...price must currently be above 50 EMA

    For short entried I want the stoch K "only" to be less than 20 on the stoch indicator
    also for this to happen...price must be below 50 EMA

    What I doing wrong? for the K only....I can't get it to work?

    #2
    another problem

    I think I may have fixed the first problem by setting K to plot...however....have another problem....as you can see in picture....there are several long trades that were not taken with my strategy? any ideas?
    Attached Files

    Comment


      #3
      Hello usdivers,

      Thank you for your post.

      I would recommended enabling Trace Orders to track the orders and utilizing the Print statements to confirm the conditions are working as intended.

      For information on Trace Orders please visit the following link: https://ninjatrader.com/support/foru...ead.php?t=3627

      For more information on debugging please visit the following link: https://ninjatrader.com/support/foru...ead.php?t=3418

      Please let me know if you have any questions.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      56 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      132 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      73 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      45 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X