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
When indicator parameters not in Parameters category
Collapse
X
-
When indicator parameters not in Parameters category
I have a proprietary third-party indicator that has some of its parameters in a grid category called Signal. I'd like to add this indicator to a chart from a strategy and then change some of the settings of the Signal parameters. Is that possible, or can I only specify Parameters when the indicator is added and subsequently access Plots and Lines? In other words, can I get at the values in the Signal grid category, or are they out of reach?Tags: None
-
Hello MikeInMA,
You can only access indicator plots from another script without having to do additional coding. It's possible to access other values, but you will need to be able to edit the code of your indicator. This sample demonstrates exposing values that aren't plots.Ryan M.NinjaTrader Customer Service
-
Doing a little more poking around, it actually looks like it's pretty simple to do what I was trying to do, and access to the indicator's code is not necessary. In this case I'm working with a 3rd-party proprietary indicator, so I can't access the code, anyway. However, I know this indicator has a parameter called SignalSize in a grid category called Signal. And it turns out that in my strategy's Initialize() routine I can directly reference indicator().SignalSize. Easy.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
4 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
12 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
13 views
0 likes
|
Last Post Yesterday, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,982 views
3 likes
|
Last Post
by jhudas88
Yesterday, 06:59 PM
|
Comment