• 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 pulpiwapi, 03-04-2019, 11:18 PM
        11 responses
        143 views
        0 likes
        Last Post music_p13  
        Started by indy73, Yesterday, 10:52 PM
        3 responses
        17 views
        0 likes
        Last Post sledge
        by sledge
         
        Started by priceisking, Today, 12:51 PM
        1 response
        18 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by chartish, Today, 10:33 AM
        3 responses
        26 views
        0 likes
        Last Post chartish  
        Started by casabella, Today, 11:51 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X