Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Way to compare symbols?
Collapse
X
-
Way to compare symbols?
I want to be able to compare 2 symbols and plot the result as a line. For example NYSE ATHI divided by ATLO or ES divided by SPX. Is there a way to do this in NT8? If it helps, I'm just trying to replicate the Compare functionality in Tradingview.Tags: None
-
The is a 'Correlation' indicator available in 8.0.19.0 and later which accomplishes some of what you desire. The definition of the 'Correlation' indicator is:
"plots the correlation of the data series to a desired instrument. Values close to 1 indicate movement in the same direction. Values close to -1 indicate movement in opposite directions. Values near 0 indicate no correlation"
Here is an example of EURUSD 'correlated' to USDJPY:
To make a comparison which includes a third instrument or variable, custom programming would be required. I could not locate any indicator which seemed to meet your exact needs, however, I recommend that you browse the user app share section of our publicly available NinjaTrader Ecosystem website.
Additionally, I encourage other forums users to provide any relevant resources.
Finally, if you're interested in creating this indicator yourself via custom NinjaScript programming, please make a post over in the NinjaScript sub-forums and a NinjaScript technician will provide educational resources to assist you.
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by rocketman7, Today, 01:00 AM
|
0 responses
1 view
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
||
Started by wzgy0920, 04-23-2024, 09:53 PM
|
2 responses
74 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
193 views
0 likes
|
Last Post
by Hasadafa
Yesterday, 10:19 PM
|
Comment