• 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

"Share" in AddOn Not Working

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

    "Share" in AddOn Not Working

    Is there a reason why this..

    Code:
    Share("Email", "Test Message", new Object[] {"[email protected]", "Test Subject Line"});
    works just fine in an Indicator, But..

    Does Not Work in an AddOn???

    It compiles just fine, never receive any errors when it's called, print statement just below this line prints out as if the line was executed.. But nothing..

    Am I missing something here?


    -=Edge=-
    NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

    #2
    Hello -=Edge=-,

    Thanks for your post.

    We are investigating and will update when we have further information.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Paul View Post
      We are investigating and will update when we have further information.
      Thanks Paul

      It seems that sending email attachments/pics is also broken when using SendMail..
      Code:
       NinjaTrader.Core.Globals.SendMail( "[email protected]", "", "Subject", "Message", new string[]{myPicPathString} ) ;
       
      This will send an email just fine, but for the life of me can't get it to attach an image.. Can you confirm this is currently a problem, or am I again just possibly missing something..


      -=Edge=-
      NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

      Comment


        #4
        Hello -=Edge=-,

        Thanks for your post.

        Regarding SendMail(), it is recommended to use the method in the NinjaScript namespace (the one reflected in the HG), the method in Core is used internally.

        I do not have an update on the Add() share issue at this time.
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bomanpbm, Yesterday, 09:27 PM
        0 responses
        2 views
        0 likes
        Last Post bomanpbm  
        Started by tgn55, Yesterday, 08:47 AM
        0 responses
        8 views
        0 likes
        Last Post tgn55
        by tgn55
         
        Started by ballboy11, 05-04-2019, 10:26 AM
        6 responses
        58 views
        0 likes
        Last Post Kermit
        by Kermit
         
        Started by mrlucky1x, 06-14-2019, 10:01 PM
        0 responses
        15 views
        0 likes
        Last Post mrlucky1x  
        Started by roger556, 06-14-2019, 09:22 PM
        0 responses
        8 views
        0 likes
        Last Post roger556  
        Working...
        X