Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Ninjatrader Alert auto trading Prior Day Close

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

    Ninjatrader Alert auto trading Prior Day Close

    Hello Team,
    I have build and alert (code is last price - cross below Prior day OLHC 1 minute) and I have attached an Action to short the stock .I only want the alert to trigger when the stock is in a downward trend and not on pullbacks when the price goes slightly above the close again and the does a second cross.I have been trying all day to find the correct code .Please help

    Thanks in advance

    #2
    Hello Behungr101,

    Thank you for your note.

    Are you creating this as an Alert using the Alerts window? Could you provide a screenshot example of a place you would and would not want it to take a trade?

    The logic you're wanting sounds like it would be too complex for an alert and would likely need to be an automated strategy using NinjaScript, however, I'd really need a better idea of the logic you're wanting to implement.

    Thanks in advance; I look forward to assisting you further.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Hello Kate ,
      Thanks for the quick reply! I have attached the screenshot : Where I have drawn 1 and 2 on the chart is where I would like the alert to activate because the stock is in a downtrend , the spot on the chart 3 and 4 are pullbacks but I don't want the alerts to trigger here because they could turn in to reversals.
      Is there anyway around this ? I don't mind using the automated strategy because the intention is to go live with it anyway.

      Thanks in advance
      Attached Files

      Comment


        #4
        Hello Behungr101,

        Thank you for your reply.

        This does look to be complex - what constitutes a downtrend for you exactly? A certain number of ticks down over a certain number of bars?

        Thanks in advance; I look forward to assisting you further.
        Kate W.NinjaTrader Customer Service

        Comment


          #5
          Hello Kate,
          I really just want to short the stock when it crosses the Prior Close for the first or second time and not every time the price touches the prior day close. I guess I will just have to turn off rearmed on the alert so as the trigger one alert a Day.

          Thanks and regards

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Halmix, Today, 07:12 AM
          0 responses
          3 views
          0 likes
          Last Post Halmix
          by Halmix
           
          Started by Bobin, Today, 06:39 AM
          0 responses
          7 views
          0 likes
          Last Post Bobin
          by Bobin
           
          Started by KirkHammett, Today, 03:23 AM
          0 responses
          5 views
          0 likes
          Last Post KirkHammett  
          Started by eleven, Yesterday, 10:06 PM
          0 responses
          39 views
          0 likes
          Last Post eleven
          by eleven
           
          Started by ezrollin, Yesterday, 08:12 PM
          7 responses
          73 views
          0 likes
          Last Post bltdavid  
          Working...
          X