Thanks
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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:
Code:[Description("")] public class MyCustomIndicator: Indicator {
Please let me know if I may be of additional assistance.JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by andrewtrades, Today, 04:57 PM
|
1 response
10 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
6 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
9 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
19 views
0 likes
|
Last Post Today, 03:33 PM |
Comment