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 geddyisodin, Yesterday, 05:20 AM
|
8 responses
49 views
0 likes
|
Last Post
by geddyisodin
Today, 10:34 AM
|
||
Started by DayTradingDEMON, Today, 09:28 AM
|
3 responses
19 views
0 likes
|
Last Post Today, 10:23 AM | ||
Started by Stanfillirenfro, Today, 07:23 AM
|
9 responses
23 views
0 likes
|
Last Post Today, 10:16 AM | ||
Started by George21, Today, 10:07 AM
|
0 responses
8 views
0 likes
|
Last Post
by George21
Today, 10:07 AM
|
||
Started by navyguy06, Today, 09:28 AM
|
1 response
7 views
0 likes
|
Last Post Today, 09:54 AM |
Comment