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
Mismatch between programmatically retrieved data and displayed data
Collapse
X
-
Mismatch between programmatically retrieved data and displayed data
Attached is a 4 range volumetric chart for the ES 12-20. I programmatically retrieved Open[0], High[0], Low[0], and Close[0] information and then printed below the bar. Each of the bars with an arrow should be green according to the OHLC info, but appear red. The arrow and text are only displayed where Close[0] > Open[0]. Do you have any suggestions for resolving this discrepancy? The indicator calculates OHLC onbarclose. The bar on the bottom right has a close of 3216 which does not make sense when looking at the next bar to the right.Last edited by Renorail; 09-24-2020, 01:12 AM.Tags: None
-
Hello Renorail,
Thanks for your post.
We can only guess what you are doing with your script which would produce incorrect values, so please provide a simplified version of your script that demonstrates the issue so we can give further insight to debug or correct.
Exporting as source code - https://ninjatrader.com/support/help...tAsSourceFiles
We look forward to assisting.JimNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
57 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
19 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment