Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do i get NT to email me my system traded

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

    How do i get NT to email me my system traded

    I have this right now.. but not working...

    EnterLong(Contracts);
    SendMail("[email protected]", "[email protected]", "System Signal: Enter LONG", "System Signal: Enter LONG");

    TIA

    #2
    wprosser,

    Could you please clarify? I see nothing wrong with your code just from that little snippet other than it won't send an email to anyone unless you really have an email address of "[email protected]".

    What sort of issue is being reported when you compile the strategy, if any? Is this strategy just not placing orders?

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      thanks. i think it has something to do with the mail setup (i used xxx to hide my email : )

      or i guess i need to input my server stuff under options?

      TIA

      Comment


        #4
        wprosser,

        You just need to make sure that in the second field, it has a real email address.

        Suppose my email address is [email protected] and I want the Sendmail() to send to it. I would use the following Syntax :

        SendMail("[email protected]", "[email protected]", "Trade Alert", "Buy!!!");
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          ya must be something with the connection, not the code

          Comment


            #6
            wprosser,

            It depends, perhaps your trading logic that tells your strategy to enter a long position never occurs, so a long position isn't generated which also won't trigger the SendMail() since its located in the same block of code.

            Or, the emails could be being sent and then your email server puts it in your spam folder or rejects it.

            Please let me know if I may assist further.
            Adam P.NinjaTrader Customer Service

            Comment


              #7
              ya the "test" email is not working under

              tools/goptions/misc

              so i presume i am not doing something correctly with the server

              thanks for your help

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by traderqz, Today, 12:06 AM
              5 responses
              8 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by Mongo, Today, 11:05 AM
              2 responses
              7 views
              0 likes
              Last Post Mongo
              by Mongo
               
              Started by guillembm, Today, 11:25 AM
              0 responses
              3 views
              0 likes
              Last Post guillembm  
              Started by Tim-c, Today, 10:58 AM
              1 response
              3 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by traderqz, Yesterday, 09:06 AM
              4 responses
              27 views
              0 likes
              Last Post traderqz  
              Working...
              X