Thanks,
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
plot Futures pair difference on NT chart
Collapse
X
-
Hello sukhob,
To compare two instruments or two sets of data and then plot them you would need to make a multi instrument indicator. You can find some examples and information about making multi instrument scripts in the following links:
nt7
nt8
After adding the secondary series and a plot, you could do various equations with the data and plot the result:
Code:double value = Closes[0][0] - Closes[1][0];
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by selu72, Today, 02:01 PM
|
1 response
4 views
0 likes
|
Last Post Today, 02:17 PM | ||
Started by WHICKED, Today, 02:02 PM
|
2 responses
10 views
0 likes
|
Last Post
by WHICKED
Today, 02:15 PM
|
||
Started by f.saeidi, Today, 12:14 PM
|
8 responses
21 views
0 likes
|
Last Post
by f.saeidi
Today, 01:55 PM
|
||
Started by Mikey_, 03-23-2024, 05:59 PM
|
3 responses
51 views
0 likes
|
Last Post
by Sam2515
Today, 01:47 PM
|
||
Started by Russ Moreland, Today, 12:54 PM
|
1 response
8 views
0 likes
|
Last Post Today, 01:01 PM |
Comment