- Is there a way my indicator can programmatically change the input series params (Period params such as value, value2 & BaseBarsPeriodType), including changing the current bar chart display?
- How can I get the current input dataseries param (instrument, BarsPeriodType, value, value2 & BaseBarsPeriodType) on State State.SetDefaults (to set the indicator defaults)?
- How can I get the current input dataseries param (instrument, BarsPeriodType, value, value2 & BaseBarsPeriodType) on State.Configure to update the current input series and to add additional Higher Timeframe series using AddDataSeries()?
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
Impacting input dataseries from indicator
Collapse
X
-
Impacting input dataseries from indicator
Hi, regarding the current input series:Tags: None
-
Hello Shai Samuel,
It is not supported to change any Data Series information for a chart.
You can use unsupported code to send keys.
Below is a link to a script that does this.
Shows a button on the chart to roll the expiry to the next available contract month. Option to hide button until a number of days before or on roll date. Another option to confirm by opening the instrument overlay selector or automatically rollover without confirmation. (Update June 27th, 2019 – Added an option to show […]
You cannot get primary data series information in State.SetDefaults. The BarsArray, BarsPeriod, and Instrument will not be available until State.DataLoaded.
When adding an additional time frame, you will not be able to base this off the primary series. But you can use null as the instrument to add a series using the same instrument as the primary.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by PaulMohn, Today, 03:49 AM
|
0 responses
7 views
0 likes
|
Last Post
by PaulMohn
Today, 03:49 AM
|
||
Started by inanazsocial, Today, 01:15 AM
|
1 response
9 views
0 likes
|
Last Post Today, 02:18 AM | ||
Started by rocketman7, Today, 02:12 AM
|
0 responses
10 views
0 likes
|
Last Post
by rocketman7
Today, 02:12 AM
|
||
Started by dustydbayer, Today, 01:59 AM
|
0 responses
4 views
0 likes
|
Last Post
by dustydbayer
Today, 01:59 AM
|
||
Started by trilliantrader, 04-18-2024, 08:16 AM
|
5 responses
23 views
0 likes
|
Last Post Today, 12:32 AM |
Comment