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 athexinehowley, Today, 02:39 AM
|
0 responses
4 views
0 likes
|
Last Post Today, 02:39 AM | ||
Started by dtaylor, Today, 02:24 AM
|
0 responses
4 views
0 likes
|
Last Post
by dtaylor
Today, 02:24 AM
|
||
Started by RosaRichardow, Today, 12:21 AM
|
1 response
4 views
0 likes
|
Last Post
by marcus2300
Today, 01:40 AM
|
||
Started by ETFVoyageur, Today, 12:45 AM
|
1 response
8 views
0 likes
|
Last Post
by ETFVoyageur
Today, 01:34 AM
|
||
Started by TradeSaber, Yesterday, 10:33 PM
|
1 response
12 views
0 likes
|
Last Post
by TradeSaber
Today, 01:06 AM
|
Comment