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 eduardodipp7, Today, 10:29 AM
|
0 responses
1 view
0 likes
|
Last Post
by eduardodipp7
Today, 10:29 AM
|
||
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
39 responses
272 views
0 likes
|
Last Post
by f.saeidi
Today, 10:23 AM
|
||
Started by ninza33, Today, 09:10 AM
|
1 response
10 views
0 likes
|
Last Post Today, 09:46 AM | ||
Started by goodknight777, Today, 08:43 AM
|
1 response
6 views
0 likes
|
Last Post Today, 09:25 AM | ||
Started by kramnor2001, Yesterday, 02:30 PM
|
3 responses
21 views
0 likes
|
Last Post
by kramnor2001
Today, 09:20 AM
|
Comment