Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy name
Collapse
X
-
Hello kiss987,
Thanks for the question.
I wanted to clarify with you, are you trying to make MyCustomStrategy so that an indicator can see this strategy?
Or are you trying to access a indicator by name from the Strategy similar to how you would access any of the stock indicators from a strategy?
If you are trying to accomplish the first option there is not really a documented way to do this.
If you are trying to access a indicator by name from a strategy, you don’t have to do anything additional because as soon as you save the indicator it would be able to be called from another indicator or strategy.
When you create a indicator you have this line of code at the top:
By giving it a unique name "MyCustomIndicator" you could then call this from another indicator or strategy by using its name MyCustomIndicator() followed by ( )Code:[Description("")] public class MyCustomIndicator: Indicator {
Please let me know if I may be of additional assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
28 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
183 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
337 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
261 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment