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 ghoul, Today, 06:02 PM
              3 responses
              14 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by jeronymite, 04-12-2024, 04:26 PM
              3 responses
              44 views
              0 likes
              Last Post jeronymite  
              Started by Barry Milan, Yesterday, 10:35 PM
              7 responses
              20 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by AttiM, 02-14-2024, 05:20 PM
              10 responses
              180 views
              0 likes
              Last Post jeronymite  
              Started by DanielSanMartin, Yesterday, 02:37 PM
              2 responses
              13 views
              0 likes
              Last Post DanielSanMartin  
              Working...
              X