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 giulyko00, 04-24-2024, 12:03 PM
|
9 responses
43 views
0 likes
|
Last Post
by giulyko00
Today, 05:13 AM
|
||
Started by memonic, Yesterday, 01:23 PM
|
2 responses
25 views
0 likes
|
Last Post
by memonic
Today, 04:26 AM
|
||
Started by merc410, Today, 03:41 AM
|
2 responses
16 views
0 likes
|
Last Post
by merc410
Today, 04:16 AM
|
||
Started by sugalt, 04-30-2024, 04:02 AM
|
2 responses
13 views
0 likes
|
Last Post
by sugalt
Today, 03:42 AM
|
||
Started by Ndakotan1313, 03-14-2024, 05:02 PM
|
2 responses
64 views
0 likes
|
Last Post
by blaise_code
Today, 03:16 AM
|
Comment