Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IsValidDataPoint()

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

  • NinjaTrader_Jesse
    replied
    Hello,

    I just wanted to follow up on this topic.

    The Base series such as Close are all by default Infinite and always will be, so calling either IsValidDataPoint or IsValidDataPointAt should not report an error when called even if you set a indicator to MaximumBarsLookBack256 in an indicator.

    This message would apply to any custom series you define though or indicators, so you could get the error if you set the property and define a custom Series<double> as an example.

    This item has been added to be reviewed for expanded documentation.

    I look forward to being of further assistance.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello,

    Thank you for the post on this.

    I am currently reviewing this topic to check what the expectation is versus the actions to ensure everything is correct.

    Once I have further information on this I will reply back here.

    I look forward to being of further assistance.

    Leave a comment:


  • DaveE
    started a topic IsValidDataPoint()

    IsValidDataPoint()

    Using NT 8.0.0.11
    I was concerned to see that current documentation says
    Warning: Calling IsValidDataPoint() will only work a MaximumBarsLookBackInfinite series. Attempting to check IsValidDataPoint() MaximumBarsLookBack256 series throw an error. Please check the Log tab of the Control Center
    I tried it out on a MaximumBarsLookBack256 series an found it works OK (no exception or entry in Log tab).
    I assume the quoted warning is just documenting a bug present in an earlier beta version, that has subsequently been fixed.
    Can this warning about MaximumBarsLookBack256 be removed please since users need something to check for nulls in default 256 series also.

    p.s. same applies to IsValidDataPointAt()

Latest Posts

Collapse

Topics Statistics Last Post
Started by Holligoly, Today, 05:13 PM
0 responses
3 views
0 likes
Last Post Holligoly  
Started by Raginpower, Today, 01:53 PM
0 responses
11 views
0 likes
Last Post Raginpower  
Started by andrewjoseph939, Today, 12:55 PM
0 responses
21 views
0 likes
Last Post andrewjoseph939  
Started by NT-Roland, Yesterday, 04:44 AM
4 responses
16 views
0 likes
Last Post NT-Roland  
Started by szferi, Yesterday, 02:04 AM
4 responses
32 views
0 likes
Last Post bltdavid  
Working...
X