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 ZenCortexCLICK, Today, 04:58 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 04:58 AM | ||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
172 responses
2,281 views
0 likes
|
Last Post
by sidlercom80
Today, 04:40 AM
|
||
Started by Irukandji, Yesterday, 02:53 AM
|
2 responses
18 views
0 likes
|
Last Post
by Irukandji
Today, 03:55 AM
|
||
Started by adeelshahzad, Today, 03:54 AM
|
0 responses
8 views
0 likes
|
Last Post
by adeelshahzad
Today, 03:54 AM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
3 responses
13 views
0 likes
|
Last Post Yesterday, 11:58 PM |
Comment