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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        60 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        145 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        161 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        97 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        283 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X