Can you explane me, how can I do it?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to create own ShareService in NinjaScript?
Collapse
X
-
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?Tags: None
-
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.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
73 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
152 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
100 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
288 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment