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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        67 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X