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 tradingnasdaqprueba, 05-07-2024, 03:42 AM
|
16 responses
61 views
0 likes
|
Last Post Today, 04:10 PM | ||
Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
|
55 responses
5,456 views
0 likes
|
Last Post
by BartMan
Today, 03:25 PM
|
||
Started by DawnTreader, 05-08-2024, 05:58 PM
|
16 responses
52 views
0 likes
|
Last Post
by DawnTreader
Today, 03:20 PM
|
||
Started by kevinenergy, Yesterday, 12:01 PM
|
8 responses
28 views
0 likes
|
Last Post
by kevinenergy
Today, 03:16 PM
|
||
Started by nightstalker, Today, 01:32 PM
|
1 response
12 views
0 likes
|
Last Post Today, 02:54 PM |
Comment