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

EntrySignals

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

    EntrySignals

    Dear Experts,

    I use a strategy only for signalizing me possible entries. So I use the EntryLong() method as I need the result of the strategy in the performance window where I can filter out these shares who give me entry signals.

    Unfortunately the EntryLong() method only performed by start of the next day (EOD-Data) but I need the signal at that day the conditions become true...means one day before.

    Is there a way to send an alert or a textmessage showing in the performance window whith e.g. "LongSignal detected" ?

    Thanks a lot for helping me out.
    Mho

    #2
    Mho, what you should be able to do in realtime monitoring is running the strategy with CalculateOnBarClose = false and then check for a signal to be present a few minutes before your instrument's closing time and then issue you an alert / email for your needs. This way you should get the developing signal before it's being executed on the next bar open.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      [QUOTE=...then issue you an alert / email for your needs...[/QUOTE]

      I only have the free EOD-version of NT. Is it possible to write alerts and save the alert window as excel sheet?

      Comment


        #4
        Yes, this is still possible to write alerts in the free simulation edition of NinjaTrader - however you would need to have access to realtime data to drive the updating over the alerts in realtime with calculation of your studies set to updating on each tick so you could issue them before the daily session ends, so you're getting the signal before the next day.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Hm, I am not really satisfied with the approach...because I need the close of the current day for an entry signal. Is it possible to call the EntryLong() for a bar one day before?

          Another approach -but more difficult- is populating a datagrid in a additinal winform with the result of the stocks giving entry signals. Any other ideas?

          Comment


            #6
            Hello,

            This is Brett jumping in here for Bertrand who is out for rest of the day.

            Sorry not sure I understand why you would want to do this: Strategies should work realtime going forward you couldn't submit an order in the past.

            Hm, I am not really satisfied with the approach...because I need the close of the current day for an entry signal. Is it possible to call the EntryLong() for a bar one day before?

            Comment


              #7
              Originally posted by NinjaTrader_Brett View Post
              Hello,

              Sorry not sure I understand why you would want to do this: Strategies should work realtime going forward you couldn't submit an order in the past.
              Hi Brett,

              I use a strategy like a screener, showing me possible candidates for a long or short position. Lets say the strategy discovers a reversal bar in an downtrend. The condition for a long entry (the next day of course) is true. I actually start the strategy after market closing time so I would need the signals in the result window. The only way I saw is to generate an EntryLong() or EntryShort() so that the result window will show me the candidates.

              Another approach would be the marketanalyzer but I had no chance to get the closing prices for all of the S&P 500 stocks at once. Only the Dow 30 performed with the Yahoo oder Kinetick Datafeed.

              That is why I am thinking a strategy would meet my request.

              Comment


                #8
                Mho, you would need to work with intraday data here to be able to get the result very close to the actual close of the day - as NinjaTrader is an event based framework your daily bar candle would update when the opening of the next bar is received when CalculateOnBarClose = true is used, which is too late for your use to get prepared for the day with the new signals triggered.
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Aviram Y, Today, 05:29 AM
                0 responses
                2 views
                0 likes
                Last Post Aviram Y  
                Started by quantismo, 04-17-2024, 05:13 PM
                3 responses
                25 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by ScottWalsh, 04-16-2024, 04:29 PM
                7 responses
                34 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by cls71, Today, 04:45 AM
                0 responses
                6 views
                0 likes
                Last Post cls71
                by cls71
                 
                Started by mjairg, 07-20-2023, 11:57 PM
                3 responses
                217 views
                1 like
                Last Post PaulMohn  
                Working...
                X