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 llanqui, Today, 03:51 PM
|
0 responses
4 views
0 likes
|
Last Post
by llanqui
Today, 03:51 PM
|
||
Started by Quanto, 04-17-2024, 10:43 AM
|
2 responses
23 views
0 likes
|
Last Post
by Quanto
Today, 03:08 PM
|
||
Started by Irukandji, Today, 03:06 PM
|
0 responses
7 views
0 likes
|
Last Post
by Irukandji
Today, 03:06 PM
|
||
Started by cmtjoancolmenero, 04-25-2024, 03:58 PM
|
17 responses
95 views
0 likes
|
Last Post Today, 03:02 PM | ||
Started by nleitman, Today, 11:46 AM
|
8 responses
20 views
0 likes
|
Last Post
by nleitman
Today, 02:58 PM
|
Comment