Anyway to get it right ...shift somehow?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Stock bars and 2nd instrument ^sp500 dont match up
Collapse
X
-
Stock bars and 2nd instrument ^sp500 dont match up
Stock bars and 2nd instrument ^sp500 dont match up off about 1/2 a bar width... kind of a pain.
Anyway to get it right ...shift somehow?
Tags: None
-
I dont understand what you mean "Which session templates". I went to file/new/chart window opened chose a stock... IBM and ^sp500 enter... the bars dont line up. about 1/2 bar width off to me... oh I changed bar width on both to 4 from default 3.
Not a huge deal but should somehow be fixable or get fixed in program final version.
Also, remember I'm new and an old guy 63yrs..., can an idicator/strategy be written using data from both charts? ie if the daily bar for IBM is (green)up and on SP500 is (red) down put an arrow or ring a bell in panel1?
Thanks
Comment
-
The session template chosen defines what session begin / end times to use for the chart created (can be changed in the Format Data Series box dialogue if you press Ctrl + F on the chart) - which timeframes are you using in this example here as you see the misalignment?
So called MultiSeries indicators and strategies are possible in NinjaScript, however this will need to be custom coded in the NinjaScript editor - an overview over the concept can be reviewed here -
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
599 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
344 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
558 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
557 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment