Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can i know how to prompt message in the alert log ?

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

    Can i know how to prompt message in the alert log ?

    How to prompt message in the alert log ?
    ** I need some code example

    Attached Files

    #2
    Hello soon123,

    Thanks for your post.

    Please see the help guide for the Alert() method, which includes an example of use: https://ninjatrader.com/support/help...nt8/?alert.htm

    Paul H.NinjaTrader Customer Service

    Comment


      #3
      I have tried this before, but didnt show on my Alert Log there.
      Is that my program got problem ??

      Or is that other way ??

      Comment


        #4
        Hello soon123,

        Thanks for your reply.

        It would only send an alert() to the alerts panel during real time or playback with market replay.

        From the help guide: Notes: 1. This method can only be called once the State has reached State.Realtime. Calls to this method in any other State will be silently ignored. This means then when applied to a chart, the alerts would not be sent while it processes historical data. Once the chart begins processing real-time data, if the alert conditions occur, the alert would be sent.

        Did you test using real-time or playback with market replay data?

        Paul H.NinjaTrader Customer Service

        Comment


          #5
          I see......

          Just used the playback with market replay data and it work.

          Thanks

          Comment


            #6
            Can i know is that any code to clear the Alert Log there ??
            NinjaTrader_PaulH

            Comment


              #7
              Hello soon123,

              Thanks for your reply.

              There are no means to clear the Alerts Log through Ninjascript.

              You can purposefully clear the log through a manual means of a right mouse click on the window and select clear.
              Paul H.NinjaTrader Customer Service

              Comment


                #8
                OK, Thank you.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by ganeshkhere, Yesterday, 08:46 AM
                3 responses
                17 views
                0 likes
                Last Post NinjaTrader_Jason  
                Started by REI140205, Yesterday, 06:17 PM
                3 responses
                19 views
                0 likes
                Last Post NinjaTrader_Jason  
                Started by prodigaltrader, Today, 12:18 AM
                0 responses
                11 views
                0 likes
                Last Post prodigaltrader  
                Started by owenwong, Yesterday, 06:34 PM
                2 responses
                30 views
                0 likes
                Last Post owenwong  
                Started by Gathem, Yesterday, 06:06 PM
                1 response
                24 views
                0 likes
                Last Post Gathem
                by Gathem
                 
                Working...
                X