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
Indicator values from one chart to another
Collapse
X
-
Indicator values from one chart to another
I know if you draw a line or Fibs on one chart you can transfer those values to another chart of the same symbol by selection that option from the properties drop down. So I'd like to know if the same can be accomplished with an indicator ? I have one that colors the background on a higher time frame and I'd like it to do the same on a smaller time frame. Can this be done ?
ThanksTags: None
-
Sorry, I guess I wasn't clear what I meant. What you suggest transfers the indicators to a smaller time frame but not the values of the higher time frame. If you apply this formula for example to a 4 tick range bar chart it's going to change the background color at a different time then if you applied it to a 12 tick range bar chart .
example :
if(Close[0] >= (Close[Displacement])+0.2)
BackColorAll = Color.FromArgb(opacity,ColorAbove);
Comment
-
Originally posted by NinjaTrader_Cameron View PostHello,
Thank you for the clarification.
Within NinjaScript you can access other time frames with the Add command.
Additionally, please take the time to review our reference guide on Multi-Time Frame scripts.
http://www.ninjatrader.com/support/h...nstruments.htm
Comment
-
Hello,
They will work on custom bar types, however, you need to know the underlying custom bar type slot.
Within NinjaTrader, custom bar types use a custom number Custom0 through Custom9 to hold certain custom bar types.
For example, if your custom bar type was using Custom2 you would use something along the lines of Add(PeriodType.Custom2, 16)
You can ask the developer of the bar type which custom slot they are using.CameronNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Felix Reichert, Today, 02:12 PM
|
0 responses
1 view
0 likes
|
Last Post Today, 02:12 PM | ||
Started by Tim-c, Today, 02:10 PM
|
0 responses
1 view
0 likes
|
Last Post
by Tim-c
Today, 02:10 PM
|
||
Started by cre8able, Today, 01:16 PM
|
2 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 01:40 PM
|
||
Started by chbruno, 04-24-2024, 04:10 PM
|
3 responses
48 views
0 likes
|
Last Post Today, 01:29 PM | ||
Started by samish18, Today, 01:01 PM
|
1 response
7 views
0 likes
|
Last Post Today, 01:25 PM |
Comment