• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Email Trade Execution script

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

    Email Trade Execution script

    Hi,

    Can't seem to get the script posted here to work:

    http://www.ninjatrader.com/support/f...tid=-1&lpage=1

    I'm receiving test and platform notification emails sent from NT7 but although the email address is correctly configured in the Tools > Options > Misc... > Mail alert messages to: field, I'm not getting an email when a new order is filled. v7.0.1000.15 is issuing trades to a live account.

    Any ideas?

    #2
    ki1ian, could you please clarify - did you just input your email in the alert message box or was the full mail setup shown above (in Tools > Options > Misc) done and verified for your platform?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand,

      The full email settings were filled in and verified using the test button (screenshot below):



      The "Mail alert messages to:" field was filled in with an email address ending in @gmail.com which happens to be the same as the SMTP username... does that matter?

      Comment


        #4
        Looks good in my book, that would not matter, they are not connected for what you're trying to setup. If you then click 'ok' to persist / accept those new settings. Would the email still not be send on a new live execution from the indicator?
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Yes, that's correct. The indicator was installed and configured over a week ago. NT7 was restarted over the weekend and a new position was entered just this morning but no emails were received:

          Comment


            #6
            Hi Bertrand, haven't heard from you for over a week and I'm keen to find out what progress has been made (if any) in resolving this issue. I have found an alternative solution (at the broker's end) but I'd prefer to get this script working if at all possible?

            Many thanks

            Comment


              #7
              Sorry ki1ian for the non update, checked further into matters but could not offer more advise here unfortunately - the script was provided as beta and and 'as is', it's using quite a fair amount of non official NinjaScript methods to access those manual executions.
              BertrandNinjaTrader Customer Service

              Comment


                #8
                Accounts

                If I change the properties of the AccountName to the following

                [Description("Name of the Account")]
                [GridCategory("Parameters")]
                [TypeConverter(typeof(NinjaTrader.Gui.Design.Accoun tNameConverter))]
                [XmlIgnore()]
                public string AccountName
                {
                get { return (accountName); }
                set { accountName = "Eur"; }
                }

                would I be right in assuming that on startup it would automatically link any trades made on the Account named Eur? Seems silly but having to go in and change the indicator from blank to Eur every day is a pain.
                I ask because it seemed to work but when I traded this morning no emails were sent.
                Or is there any other way to get the combo box to have an account as default?

                Comment


                  #9
                  Originally posted by Mindset View Post
                  If I change the properties of the AccountName to the following

                  [Description("Name of the Account")]
                  [GridCategory("Parameters")]
                  [TypeConverter(typeof(NinjaTrader.Gui.Design.Accoun tNameConverter))]
                  [XmlIgnore()]
                  public string AccountName
                  {
                  get { return (accountName); }
                  set { accountName = "Eur"; }
                  }

                  would I be right in assuming that on startup it would automatically link any trades made on the Account named Eur? Seems silly but having to go in and change the indicator from blank to Eur every day is a pain.
                  I ask because it seemed to work but when I traded this morning no emails were sent.
                  Or is there any other way to get the combo box to have an account as default?
                  Why not just set the AccountName field when you declare it?

                  Comment


                    #10
                    Yes. You would think it would be that easy wouldn't you. I think this indicator is just flawed due to some internal issues with NT - it just randomly works and stops working. Worked yesterday - not working today.
                    Bit pointless providing beta indicators on a public platform IMHO. Very frustrating.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by sun0781, Today, 05:02 PM
                    0 responses
                    6 views
                    0 likes
                    Last Post sun0781
                    by sun0781
                     
                    Started by ronhb107, 09-12-2019, 10:09 AM
                    4 responses
                    41 views
                    0 likes
                    Last Post Mr.Trader  
                    Started by rwilliam, Today, 03:55 PM
                    0 responses
                    3 views
                    0 likes
                    Last Post rwilliam  
                    Started by asmmbillah, Today, 03:42 PM
                    2 responses
                    7 views
                    0 likes
                    Last Post asmmbillah  
                    Started by NT-Roland, Today, 03:25 PM
                    0 responses
                    7 views
                    0 likes
                    Last Post NT-Roland  
                    Working...
                    X