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:
Miha Kralj
2026-03-09 13:45:46 -07:00
parent 8e43d62cbb
commit 031f1b5fe6
491 changed files with 6156 additions and 5590 deletions
+6
View File
@@ -213,6 +213,12 @@ public class TSeries : IReadOnlyList<TValue>, ITValuePublisher
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Add(DateTime time, double value, bool isNew = true) => Add(new TValue(time, value), isNew);
/// <remarks>
/// <b>Synthetic timestamps:</b> Each element receives a fabricated timestamp starting at
/// <see cref="DateTime.UtcNow"/> (captured once at call time) and incrementing by one minute
/// per item. These timestamps do not reflect real market time. Use the typed overloads
/// (<see cref="Add(TValue)"/>, <see cref="Add(DateTime,double,bool)"/>) when real timestamps matter.
/// </remarks>
public void Add(IEnumerable<double> values)
{
long t = DateTime.UtcNow.Ticks;