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 Mestor, 03-10-2023, 01:50 AM
|
13 responses
313 views
0 likes
|
Last Post Today, 07:29 AM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
7 responses
24 views
0 likes
|
Last Post Today, 07:25 AM | ||
Started by martini, Yesterday, 04:45 PM
|
2 responses
13 views
0 likes
|
Last Post
by martini
Today, 07:23 AM
|
||
Started by cre8able, 03-24-2024, 09:30 AM
|
2 responses
18 views
0 likes
|
Last Post
by cre8able
Today, 07:23 AM
|
||
Started by Adam Klaus, Yesterday, 08:21 PM
|
1 response
8 views
0 likes
|
Last Post Today, 07:18 AM |
Comment