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 Taddypole, Yesterday, 02:25 PM
|
3 responses
17 views
0 likes
|
Last Post Today, 07:55 AM | ||
Started by NM_eFe, 04-30-2024, 06:14 AM
|
6 responses
36 views
0 likes
|
Last Post Today, 07:54 AM | ||
Started by trilliantrader, Today, 07:50 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 07:50 AM | ||
Started by cmtjoancolmenero, Yesterday, 05:05 PM
|
3 responses
33 views
0 likes
|
Last Post Today, 07:49 AM | ||
Decrease the size of the RegionHIghLightY on each tick when the price touches it
by cmtjoancolmenero
Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
|
27 responses
88 views
0 likes
|
Last Post Today, 07:46 AM |
Comment