Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Series.SetValueAt(Index) and Series.ResetAt(Index)
Collapse
X
-
Series.SetValueAt(Index) and Series.ResetAt(Index)
The Series template class e.g. Series<double> foo = new Series<double>(this); allows the usage of .IsValidValueAt(index) and .GetValueAt(index) to avoid synchronization problems by using the indices directly. However, the .Set and .Reset methods only allow a "bars back" argument, which means there is no way to write into these series without synchronizing e.g. a custom event, which has performance considerations. It would be nice if there were provided a .SetValueAt(index) and .ResetAt(index) method to address this and for completeness.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by jclose, Today, 09:37 PM
|
0 responses
5 views
0 likes
|
Last Post
by jclose
Today, 09:37 PM
|
||
Started by WeyldFalcon, 08-07-2020, 06:13 AM
|
10 responses
1,413 views
0 likes
|
Last Post Today, 09:12 PM | ||
Started by firefoxforum12, Today, 08:53 PM
|
0 responses
11 views
0 likes
|
Last Post Today, 08:53 PM | ||
Started by stafe, Today, 08:34 PM
|
0 responses
11 views
0 likes
|
Last Post
by stafe
Today, 08:34 PM
|
||
Started by sastrades, 01-31-2024, 10:19 PM
|
11 responses
169 views
0 likes
|
Last Post Today, 07:13 PM |
Comment