Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

I need to figure how to disable two consecutive entries from same type

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

    I need to figure how to disable two consecutive entries from same type

    Hi,
    I am developing a strategy via the wizard that uses SMA, offset and aroon in order to identify overbought/oversought entry points.

    I however need to disable consecutive entries from the same type, as sometimes when there is a stronger trend, this could result in several "long" entries that could fail.

    I prefer to have only one failed long entry, and the only possible entrie after that to be short.

    I need to ask if it would be possible to add such a rule via the wizard.

    Thanks

    #2
    Hello Nikolaax,

    Thank you for your post.

    Yes, you would want to use a variable switch essentially.

    You can use the 'User Defined Variable' to set and test the value between different conditions.

    I have screenshots of how thisis done with the Wizard

    Let me know if I can be of further assistance.
    Attached Files
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hi,
      Thanks, I managed to set the user variable!
      Last edited by nikolaalx; 04-26-2014, 03:00 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      651 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      370 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
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      577 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X