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 RookieTrader, Today, 07:41 AM
|
1 response
4 views
0 likes
|
Last Post Today, 07:59 AM | ||
Started by kujista, Today, 05:44 AM
|
1 response
9 views
0 likes
|
Last Post Today, 07:58 AM | ||
Started by elderan, Yesterday, 08:03 PM
|
1 response
12 views
0 likes
|
Last Post Today, 07:52 AM | ||
Started by samish18, Yesterday, 08:57 AM
|
8 responses
25 views
0 likes
|
Last Post
by samish18
Today, 07:51 AM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
3 responses
10 views
0 likes
|
Last Post Today, 07:41 AM |
Comment