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 lorem, Yesterday, 09:18 AM
              3 responses
              13 views
              0 likes
              Last Post lorem
              by lorem
               
              Started by cmtjoancolmenero, Yesterday, 03:58 PM
              12 responses
              42 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by FrazMann, Today, 11:21 AM
              0 responses
              5 views
              0 likes
              Last Post FrazMann  
              Started by geddyisodin, Yesterday, 05:20 AM
              8 responses
              52 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by DayTradingDEMON, Today, 09:28 AM
              4 responses
              27 views
              0 likes
              Last Post DayTradingDEMON  
              Working...
              X