mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 04:58:08 +00:00
Update calculations, indicators, strategies, and tests for trends
This commit is contained in:
@@ -80,7 +80,7 @@ public class Tulip_Test
|
||||
double[][] arrin = { inhigh, inlow, inclose };
|
||||
double[][] arrout = { outdata };
|
||||
|
||||
ATR_Series QL = new(bars, period, false);
|
||||
ATR_Series QL = new(bars, period:period, useNaN:false);
|
||||
Tulip.Indicators.atr.Run(inputs: arrin, options: new double[] { period }, outputs: arrout);
|
||||
//Tulip ATR doesn't use warm-up SMA, compensating with 200 warming bars
|
||||
for (int i = QL.Length - 1; i > 200+skip; i--)
|
||||
|
||||
Reference in New Issue
Block a user