mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-26 06:18:05 +00:00
feat: add new indicators (Decay, Edecay, MinusDi, MinusDm, PlusDi, PlusDm, Maxindex, Minindex, Sarext) and update pine scripts, core libs, validation tests, and python bindings
This commit is contained in:
@@ -217,12 +217,10 @@ public sealed class HtDcphase : AbstractBase
|
||||
}
|
||||
else
|
||||
{
|
||||
// Same-bar update: restore previous state and return cached result from Last
|
||||
_state = _p_state;
|
||||
Array.Copy(_p_circBuffer, _circBuffer, CIRC_BUFFER_SIZE);
|
||||
Array.Copy(_p_smoothPrice, _smoothPrice, SMOOTH_PRICE_SIZE);
|
||||
Array.Copy(_p_priceHistory, _priceHistory, PRICE_HISTORY_SIZE);
|
||||
return Last.Value;
|
||||
}
|
||||
|
||||
var s = _state;
|
||||
|
||||
Reference in New Issue
Block a user