Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Custom Indicator doesn't appear in the Stragety Builder
Collapse
X
-
Custom Indicator doesn't appear in the Stragety Builder
I have an indicator that I paid someone to Convert from Tradingview to Ninjatrader and it doesn't show up in the Indicator list when I use the Stragety Builder. From what I gathered via these forums I have to Add a Plot to make it public or something. But I'm not a coder, I don't really get the ins and out. However, I'm great at following directions. If someone could help me out step by step, I'd really appreciate it.Tags: None
-
Hello Zagaross,
Thanks for your post.
That is correct. A custom indicator can only be accessed in the Strategy Builder if the indicator contains a plot.
To add a plot to the custom indicator, you can use the AddPlot() method and assign a value to that plot. Once a plot is added to the indicator and a value is assigned to it, you could access that plot value in a Strategy Builder strategy.
See this help guide page for information about the AddPlot() method and sample code: https://ninjatrader.com/support/help...t8/addplot.htm
Here is a link to our publicly available training videos, 'Strategy Builder 301' and 'NinjaScript Editor 401', for you to view at your own convenience.
Strategy Builder 301 — https://www.youtube.com/watch?v=_KQF2Sv27oE&t=13s
NinjaScript Editor 401 - https://youtu.be/H7aDpWoWUQs?list=PL...We0Nf&index=14
I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript:
https://ninjatrader.com/support/help..._resources.htm
If you are new to C#, to get a basic foundation for the concepts and syntax used in NinjaScript I would recommend this section of articles in our help guide first:
https://ninjatrader.com/support/help...g_concepts.htm
Let me know if I may assist further.Brandon H.NinjaTrader Customer Service
-
Thank you Brandon
But besides the C# link I've already gone through everything you sent. I don't understand it. And it really doesn't seem to help with my particular problem. Like I don't know where put things without messing up the other code. I don't know what plots add. Everything here is basic but I want a quick and dirty way to solve my exact issue.
Can I send code to someonr and get some help?
Comment
-
Hello Zagaross,
Thanks for your note.
You would need to understand how the indicator is programmed to add a plot to the indicator and assign the value you want to it. Then, you could call the AddPlot() method in the State.SetDefaults section of the indicator and assign a value to that plot in the OnBarUpdate() section of the indicator.
Since this indicator was created by a third-party developer, not by NinjaTrader, we would not know how it is programmed to function.
Something you could consider is to reach out directly to the third-party developer who created this indicator and request that they add a plot to the indicator that could be accessed with the Strategy Builder.
Let me know if I may further assist.Brandon H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bortz, 11-06-2023, 08:04 AM
|
47 responses
1,606 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
9 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
19 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
6 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
15 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
Comment