Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Conditions and Actions

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

    Conditions and Actions

    How do I enter the following:

    Not to buy a stock that has gapped up or down by over 10 percent since the previous close?

    #2
    Hello cdnPATRIOT,

    Using the Strategy Wizard, you would only be able to tell NinjaTrader to do an action if a condition you have is met for example if you are in a position and you would like to exit your position if the market went down 10 percent.

    Would you be in a position at that time?

    Happy to be of further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      The strategy requires that I not buy stocks that have gapped up or down by over 10 percent. So no I would not be in a position at that time.

      Comment


        #4
        Thanks cdnPATRIOT, for the entries you would not be directly able to do the math needed from the wizard, you could reference a script like the attached GapDetect though that would do this math for you (intraday charts for this example needed).

        It's plot will give you a % value with a sign (depending on up / dn gap) that you can check as part of your conditions.

        Hope that helps.
        Attached Files

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        80 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        46 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        66 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X