Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to create own ShareService in NinjaScript?

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

    How to create own ShareService in NinjaScript?

    Hi, I want to send messages and screenshots from my indicator to Telegram group. I read in help guide: , and it is possible for developers to create their own ShareService in NinjaScript to access other social media outlets.
    Can you explane me, how can I do it?

    #2
    Hello handlar,

    Thank you for the post.

    For this task, I would suggest looking at the existing twitter share service that is included with the platform.

    Because each service has a different and unique API, this is not really something where there is a one fits all solution. The ShareService type in NinjaScript simply gives you the ability to implement your own service in the existing menus of the platform. How that service works will be dependent on the API you want to connect with.

    There are 4 existing examples included with the platform that demonstrate different services, I would suggest reviewing those and also the Telegram API documentation to see how you could create a similar structure.

    You can also find the descriptions of the default share service properties here: https://ninjatrader.com/support/help...re_service.htm

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    82 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    43 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    56 views
    0 likes
    Last Post CarlTrading  
    Working...
    X