Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Mismatch between programmatically retrieved data and displayed data

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Renorail
    replied
    Thank you for the reply. I'm not sure what was going on, but i restarted NT and the issue seems to be resolved. Thank you for the reply.

    Leave a comment:


  • NinjaTrader_Jim
    replied
    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.

    Leave a comment:


  • ansgrecho
    replied
    Hi Renorail.
    I solve almost the same problems as you. could you be so kind and send me your indicator code?may be without a your secrets, only how do you to get data OHLC.
    Thanks for advance.

    Leave a comment:


  • 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.
    Attached Files
    Last edited by Renorail; 09-24-2020, 12:12 AM.

Latest Posts

Collapse

Topics Statistics Last Post
Started by RobotSyndicate, Today, 09:20 AM
0 responses
1 view
0 likes
Last Post RobotSyndicate  
Started by fx.practic, Today, 08:22 AM
2 responses
5 views
0 likes
Last Post fx.practic  
Started by brownsfan019, Today, 08:01 AM
1 response
7 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by cmarkb, Today, 01:18 AM
2 responses
30 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by waldoalvarez, Today, 04:48 AM
1 response
11 views
0 likes
Last Post NinjaTrader_Jesse  
Working...
X