wickra-wasm 0.6.6 → 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/wickra_wasm_bg.js CHANGED
@@ -5020,6 +5020,105 @@ export class Camarilla {
5020
5020
  }
5021
5021
  if (Symbol.dispose) Camarilla.prototype[Symbol.dispose] = Camarilla.prototype.free;
5022
5022
 
5023
+ export class CandleVolume {
5024
+ __destroy_into_raw() {
5025
+ const ptr = this.__wbg_ptr;
5026
+ this.__wbg_ptr = 0;
5027
+ CandleVolumeFinalization.unregister(this);
5028
+ return ptr;
5029
+ }
5030
+ free() {
5031
+ const ptr = this.__destroy_into_raw();
5032
+ wasm.__wbg_candlevolume_free(ptr, 0);
5033
+ }
5034
+ /**
5035
+ * @param {Float64Array} open
5036
+ * @param {Float64Array} close
5037
+ * @param {Float64Array} volume
5038
+ * @returns {Float64Array}
5039
+ */
5040
+ batch(open, close, volume) {
5041
+ try {
5042
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5043
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
5044
+ const len0 = WASM_VECTOR_LEN;
5045
+ const ptr1 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
5046
+ const len1 = WASM_VECTOR_LEN;
5047
+ const ptr2 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
5048
+ const len2 = WASM_VECTOR_LEN;
5049
+ wasm.candlevolume_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
5050
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5051
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5052
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5053
+ if (r2) {
5054
+ throw takeObject(r1);
5055
+ }
5056
+ return takeObject(r0);
5057
+ } finally {
5058
+ wasm.__wbindgen_add_to_stack_pointer(16);
5059
+ }
5060
+ }
5061
+ /**
5062
+ * @returns {boolean}
5063
+ */
5064
+ isReady() {
5065
+ const ret = wasm.candlevolume_isReady(this.__wbg_ptr);
5066
+ return ret !== 0;
5067
+ }
5068
+ /**
5069
+ * @param {number} period
5070
+ */
5071
+ constructor(period) {
5072
+ try {
5073
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5074
+ wasm.candlevolume_new(retptr, period);
5075
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5076
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5077
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5078
+ if (r2) {
5079
+ throw takeObject(r1);
5080
+ }
5081
+ this.__wbg_ptr = r0;
5082
+ CandleVolumeFinalization.register(this, this.__wbg_ptr, this);
5083
+ return this;
5084
+ } finally {
5085
+ wasm.__wbindgen_add_to_stack_pointer(16);
5086
+ }
5087
+ }
5088
+ reset() {
5089
+ wasm.candlevolume_reset(this.__wbg_ptr);
5090
+ }
5091
+ /**
5092
+ * @param {number} open
5093
+ * @param {number} close
5094
+ * @param {number} volume
5095
+ * @returns {any}
5096
+ */
5097
+ update(open, close, volume) {
5098
+ try {
5099
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5100
+ wasm.candlevolume_update(retptr, this.__wbg_ptr, open, close, volume);
5101
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5102
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5103
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5104
+ if (r2) {
5105
+ throw takeObject(r1);
5106
+ }
5107
+ return takeObject(r0);
5108
+ } finally {
5109
+ wasm.__wbindgen_add_to_stack_pointer(16);
5110
+ }
5111
+ }
5112
+ /**
5113
+ * @returns {number}
5114
+ */
5115
+ warmupPeriod() {
5116
+ const ret = wasm.candlevolume_warmupPeriod(this.__wbg_ptr);
5117
+ return ret >>> 0;
5118
+ }
5119
+ }
5120
+ if (Symbol.dispose) CandleVolume.prototype[Symbol.dispose] = CandleVolume.prototype.free;
5121
+
5023
5122
  export class CenterOfGravity {
5024
5123
  __destroy_into_raw() {
5025
5124
  const ptr = this.__wbg_ptr;
@@ -9868,6 +9967,105 @@ export class Engulfing {
9868
9967
  }
9869
9968
  if (Symbol.dispose) Engulfing.prototype[Symbol.dispose] = Engulfing.prototype.free;
9870
9969
 
9970
+ export class Equivolume {
9971
+ __destroy_into_raw() {
9972
+ const ptr = this.__wbg_ptr;
9973
+ this.__wbg_ptr = 0;
9974
+ EquivolumeFinalization.unregister(this);
9975
+ return ptr;
9976
+ }
9977
+ free() {
9978
+ const ptr = this.__destroy_into_raw();
9979
+ wasm.__wbg_equivolume_free(ptr, 0);
9980
+ }
9981
+ /**
9982
+ * @param {Float64Array} high
9983
+ * @param {Float64Array} low
9984
+ * @param {Float64Array} volume
9985
+ * @returns {Float64Array}
9986
+ */
9987
+ batch(high, low, volume) {
9988
+ try {
9989
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9990
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
9991
+ const len0 = WASM_VECTOR_LEN;
9992
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
9993
+ const len1 = WASM_VECTOR_LEN;
9994
+ const ptr2 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
9995
+ const len2 = WASM_VECTOR_LEN;
9996
+ wasm.equivolume_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
9997
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9998
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9999
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10000
+ if (r2) {
10001
+ throw takeObject(r1);
10002
+ }
10003
+ return takeObject(r0);
10004
+ } finally {
10005
+ wasm.__wbindgen_add_to_stack_pointer(16);
10006
+ }
10007
+ }
10008
+ /**
10009
+ * @returns {boolean}
10010
+ */
10011
+ isReady() {
10012
+ const ret = wasm.equivolume_isReady(this.__wbg_ptr);
10013
+ return ret !== 0;
10014
+ }
10015
+ /**
10016
+ * @param {number} period
10017
+ */
10018
+ constructor(period) {
10019
+ try {
10020
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10021
+ wasm.equivolume_new(retptr, period);
10022
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10023
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10024
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10025
+ if (r2) {
10026
+ throw takeObject(r1);
10027
+ }
10028
+ this.__wbg_ptr = r0;
10029
+ EquivolumeFinalization.register(this, this.__wbg_ptr, this);
10030
+ return this;
10031
+ } finally {
10032
+ wasm.__wbindgen_add_to_stack_pointer(16);
10033
+ }
10034
+ }
10035
+ reset() {
10036
+ wasm.equivolume_reset(this.__wbg_ptr);
10037
+ }
10038
+ /**
10039
+ * @param {number} high
10040
+ * @param {number} low
10041
+ * @param {number} volume
10042
+ * @returns {any}
10043
+ */
10044
+ update(high, low, volume) {
10045
+ try {
10046
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10047
+ wasm.equivolume_update(retptr, this.__wbg_ptr, high, low, volume);
10048
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10049
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10050
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10051
+ if (r2) {
10052
+ throw takeObject(r1);
10053
+ }
10054
+ return takeObject(r0);
10055
+ } finally {
10056
+ wasm.__wbindgen_add_to_stack_pointer(16);
10057
+ }
10058
+ }
10059
+ /**
10060
+ * @returns {number}
10061
+ */
10062
+ warmupPeriod() {
10063
+ const ret = wasm.equivolume_warmupPeriod(this.__wbg_ptr);
10064
+ return ret >>> 0;
10065
+ }
10066
+ }
10067
+ if (Symbol.dispose) Equivolume.prototype[Symbol.dispose] = Equivolume.prototype.free;
10068
+
9871
10069
  export class EveningDojiStar {
9872
10070
  __destroy_into_raw() {
9873
10071
  const ptr = this.__wbg_ptr;
@@ -13565,6 +13763,110 @@ export class HeikinAshi {
13565
13763
  }
13566
13764
  if (Symbol.dispose) HeikinAshi.prototype[Symbol.dispose] = HeikinAshi.prototype.free;
13567
13765
 
13766
+ export class HeikinAshiOscillator {
13767
+ __destroy_into_raw() {
13768
+ const ptr = this.__wbg_ptr;
13769
+ this.__wbg_ptr = 0;
13770
+ HeikinAshiOscillatorFinalization.unregister(this);
13771
+ return ptr;
13772
+ }
13773
+ free() {
13774
+ const ptr = this.__destroy_into_raw();
13775
+ wasm.__wbg_heikinashioscillator_free(ptr, 0);
13776
+ }
13777
+ /**
13778
+ * @param {Float64Array} open
13779
+ * @param {Float64Array} high
13780
+ * @param {Float64Array} low
13781
+ * @param {Float64Array} close
13782
+ * @returns {Float64Array}
13783
+ */
13784
+ batch(open, high, low, close) {
13785
+ try {
13786
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
13787
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
13788
+ const len0 = WASM_VECTOR_LEN;
13789
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
13790
+ const len1 = WASM_VECTOR_LEN;
13791
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
13792
+ const len2 = WASM_VECTOR_LEN;
13793
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
13794
+ const len3 = WASM_VECTOR_LEN;
13795
+ wasm.heikinashioscillator_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
13796
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13797
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
13798
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
13799
+ if (r2) {
13800
+ throw takeObject(r1);
13801
+ }
13802
+ return takeObject(r0);
13803
+ } finally {
13804
+ wasm.__wbindgen_add_to_stack_pointer(16);
13805
+ }
13806
+ }
13807
+ /**
13808
+ * @returns {boolean}
13809
+ */
13810
+ isReady() {
13811
+ const ret = wasm.heikinashioscillator_isReady(this.__wbg_ptr);
13812
+ return ret !== 0;
13813
+ }
13814
+ /**
13815
+ * @param {number} period
13816
+ */
13817
+ constructor(period) {
13818
+ try {
13819
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
13820
+ wasm.heikinashioscillator_new(retptr, period);
13821
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13822
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
13823
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
13824
+ if (r2) {
13825
+ throw takeObject(r1);
13826
+ }
13827
+ this.__wbg_ptr = r0;
13828
+ HeikinAshiOscillatorFinalization.register(this, this.__wbg_ptr, this);
13829
+ return this;
13830
+ } finally {
13831
+ wasm.__wbindgen_add_to_stack_pointer(16);
13832
+ }
13833
+ }
13834
+ reset() {
13835
+ wasm.heikinashioscillator_reset(this.__wbg_ptr);
13836
+ }
13837
+ /**
13838
+ * @param {number} open
13839
+ * @param {number} high
13840
+ * @param {number} low
13841
+ * @param {number} close
13842
+ * @returns {number | undefined}
13843
+ */
13844
+ update(open, high, low, close) {
13845
+ try {
13846
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
13847
+ wasm.heikinashioscillator_update(retptr, this.__wbg_ptr, open, high, low, close);
13848
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13849
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
13850
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
13851
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
13852
+ if (r5) {
13853
+ throw takeObject(r4);
13854
+ }
13855
+ return r0 === 0 ? undefined : r2;
13856
+ } finally {
13857
+ wasm.__wbindgen_add_to_stack_pointer(32);
13858
+ }
13859
+ }
13860
+ /**
13861
+ * @returns {number}
13862
+ */
13863
+ warmupPeriod() {
13864
+ const ret = wasm.heikinashioscillator_warmupPeriod(this.__wbg_ptr);
13865
+ return ret >>> 0;
13866
+ }
13867
+ }
13868
+ if (Symbol.dispose) HeikinAshiOscillator.prototype[Symbol.dispose] = HeikinAshiOscillator.prototype.free;
13869
+
13568
13870
  export class HiLoActivator {
13569
13871
  __destroy_into_raw() {
13570
13872
  const ptr = this.__wbg_ptr;
@@ -28375,6 +28677,109 @@ export class Skewness {
28375
28677
  }
28376
28678
  if (Symbol.dispose) Skewness.prototype[Symbol.dispose] = Skewness.prototype.free;
28377
28679
 
28680
+ export class SmoothedHeikinAshi {
28681
+ __destroy_into_raw() {
28682
+ const ptr = this.__wbg_ptr;
28683
+ this.__wbg_ptr = 0;
28684
+ SmoothedHeikinAshiFinalization.unregister(this);
28685
+ return ptr;
28686
+ }
28687
+ free() {
28688
+ const ptr = this.__destroy_into_raw();
28689
+ wasm.__wbg_smoothedheikinashi_free(ptr, 0);
28690
+ }
28691
+ /**
28692
+ * @param {Float64Array} open
28693
+ * @param {Float64Array} high
28694
+ * @param {Float64Array} low
28695
+ * @param {Float64Array} close
28696
+ * @returns {Float64Array}
28697
+ */
28698
+ batch(open, high, low, close) {
28699
+ try {
28700
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
28701
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
28702
+ const len0 = WASM_VECTOR_LEN;
28703
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
28704
+ const len1 = WASM_VECTOR_LEN;
28705
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
28706
+ const len2 = WASM_VECTOR_LEN;
28707
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
28708
+ const len3 = WASM_VECTOR_LEN;
28709
+ wasm.smoothedheikinashi_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
28710
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
28711
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
28712
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
28713
+ if (r2) {
28714
+ throw takeObject(r1);
28715
+ }
28716
+ return takeObject(r0);
28717
+ } finally {
28718
+ wasm.__wbindgen_add_to_stack_pointer(16);
28719
+ }
28720
+ }
28721
+ /**
28722
+ * @returns {boolean}
28723
+ */
28724
+ isReady() {
28725
+ const ret = wasm.smoothedheikinashi_isReady(this.__wbg_ptr);
28726
+ return ret !== 0;
28727
+ }
28728
+ /**
28729
+ * @param {number} period
28730
+ */
28731
+ constructor(period) {
28732
+ try {
28733
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
28734
+ wasm.smoothedheikinashi_new(retptr, period);
28735
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
28736
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
28737
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
28738
+ if (r2) {
28739
+ throw takeObject(r1);
28740
+ }
28741
+ this.__wbg_ptr = r0;
28742
+ SmoothedHeikinAshiFinalization.register(this, this.__wbg_ptr, this);
28743
+ return this;
28744
+ } finally {
28745
+ wasm.__wbindgen_add_to_stack_pointer(16);
28746
+ }
28747
+ }
28748
+ reset() {
28749
+ wasm.smoothedheikinashi_reset(this.__wbg_ptr);
28750
+ }
28751
+ /**
28752
+ * @param {number} open
28753
+ * @param {number} high
28754
+ * @param {number} low
28755
+ * @param {number} close
28756
+ * @returns {any}
28757
+ */
28758
+ update(open, high, low, close) {
28759
+ try {
28760
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
28761
+ wasm.smoothedheikinashi_update(retptr, this.__wbg_ptr, open, high, low, close);
28762
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
28763
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
28764
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
28765
+ if (r2) {
28766
+ throw takeObject(r1);
28767
+ }
28768
+ return takeObject(r0);
28769
+ } finally {
28770
+ wasm.__wbindgen_add_to_stack_pointer(16);
28771
+ }
28772
+ }
28773
+ /**
28774
+ * @returns {number}
28775
+ */
28776
+ warmupPeriod() {
28777
+ const ret = wasm.smoothedheikinashi_warmupPeriod(this.__wbg_ptr);
28778
+ return ret >>> 0;
28779
+ }
28780
+ }
28781
+ if (Symbol.dispose) SmoothedHeikinAshi.prototype[Symbol.dispose] = SmoothedHeikinAshi.prototype.free;
28782
+
28378
28783
  export class SortinoRatio {
28379
28784
  __destroy_into_raw() {
28380
28785
  const ptr = this.__wbg_ptr;
@@ -29981,6 +30386,276 @@ export class T3 {
29981
30386
  }
29982
30387
  if (Symbol.dispose) T3.prototype[Symbol.dispose] = T3.prototype.free;
29983
30388
 
30389
+ export class TDCamouflage {
30390
+ __destroy_into_raw() {
30391
+ const ptr = this.__wbg_ptr;
30392
+ this.__wbg_ptr = 0;
30393
+ TDCamouflageFinalization.unregister(this);
30394
+ return ptr;
30395
+ }
30396
+ free() {
30397
+ const ptr = this.__destroy_into_raw();
30398
+ wasm.__wbg_tdcamouflage_free(ptr, 0);
30399
+ }
30400
+ /**
30401
+ * @param {Float64Array} open
30402
+ * @param {Float64Array} high
30403
+ * @param {Float64Array} low
30404
+ * @param {Float64Array} close
30405
+ * @returns {Float64Array}
30406
+ */
30407
+ batch(open, high, low, close) {
30408
+ try {
30409
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
30410
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
30411
+ const len0 = WASM_VECTOR_LEN;
30412
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
30413
+ const len1 = WASM_VECTOR_LEN;
30414
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
30415
+ const len2 = WASM_VECTOR_LEN;
30416
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
30417
+ const len3 = WASM_VECTOR_LEN;
30418
+ wasm.tdcamouflage_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
30419
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
30420
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
30421
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
30422
+ if (r2) {
30423
+ throw takeObject(r1);
30424
+ }
30425
+ return takeObject(r0);
30426
+ } finally {
30427
+ wasm.__wbindgen_add_to_stack_pointer(16);
30428
+ }
30429
+ }
30430
+ /**
30431
+ * @returns {boolean}
30432
+ */
30433
+ isReady() {
30434
+ const ret = wasm.tdcamouflage_isReady(this.__wbg_ptr);
30435
+ return ret !== 0;
30436
+ }
30437
+ constructor() {
30438
+ const ret = wasm.tdcamouflage_new();
30439
+ this.__wbg_ptr = ret;
30440
+ TDCamouflageFinalization.register(this, this.__wbg_ptr, this);
30441
+ return this;
30442
+ }
30443
+ reset() {
30444
+ wasm.tdcamouflage_reset(this.__wbg_ptr);
30445
+ }
30446
+ /**
30447
+ * @param {number} open
30448
+ * @param {number} high
30449
+ * @param {number} low
30450
+ * @param {number} close
30451
+ * @returns {number | undefined}
30452
+ */
30453
+ update(open, high, low, close) {
30454
+ try {
30455
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
30456
+ wasm.tdcamouflage_update(retptr, this.__wbg_ptr, open, high, low, close);
30457
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
30458
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
30459
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
30460
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
30461
+ if (r5) {
30462
+ throw takeObject(r4);
30463
+ }
30464
+ return r0 === 0 ? undefined : r2;
30465
+ } finally {
30466
+ wasm.__wbindgen_add_to_stack_pointer(32);
30467
+ }
30468
+ }
30469
+ /**
30470
+ * @returns {number}
30471
+ */
30472
+ warmupPeriod() {
30473
+ const ret = wasm.tdcamouflage_warmupPeriod(this.__wbg_ptr);
30474
+ return ret >>> 0;
30475
+ }
30476
+ }
30477
+ if (Symbol.dispose) TDCamouflage.prototype[Symbol.dispose] = TDCamouflage.prototype.free;
30478
+
30479
+ export class TDClop {
30480
+ __destroy_into_raw() {
30481
+ const ptr = this.__wbg_ptr;
30482
+ this.__wbg_ptr = 0;
30483
+ TDClopFinalization.unregister(this);
30484
+ return ptr;
30485
+ }
30486
+ free() {
30487
+ const ptr = this.__destroy_into_raw();
30488
+ wasm.__wbg_tdclop_free(ptr, 0);
30489
+ }
30490
+ /**
30491
+ * @param {Float64Array} open
30492
+ * @param {Float64Array} high
30493
+ * @param {Float64Array} low
30494
+ * @param {Float64Array} close
30495
+ * @returns {Float64Array}
30496
+ */
30497
+ batch(open, high, low, close) {
30498
+ try {
30499
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
30500
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
30501
+ const len0 = WASM_VECTOR_LEN;
30502
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
30503
+ const len1 = WASM_VECTOR_LEN;
30504
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
30505
+ const len2 = WASM_VECTOR_LEN;
30506
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
30507
+ const len3 = WASM_VECTOR_LEN;
30508
+ wasm.tdclop_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
30509
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
30510
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
30511
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
30512
+ if (r2) {
30513
+ throw takeObject(r1);
30514
+ }
30515
+ return takeObject(r0);
30516
+ } finally {
30517
+ wasm.__wbindgen_add_to_stack_pointer(16);
30518
+ }
30519
+ }
30520
+ /**
30521
+ * @returns {boolean}
30522
+ */
30523
+ isReady() {
30524
+ const ret = wasm.tdclop_isReady(this.__wbg_ptr);
30525
+ return ret !== 0;
30526
+ }
30527
+ constructor() {
30528
+ const ret = wasm.tdclop_new();
30529
+ this.__wbg_ptr = ret;
30530
+ TDClopFinalization.register(this, this.__wbg_ptr, this);
30531
+ return this;
30532
+ }
30533
+ reset() {
30534
+ wasm.tdclop_reset(this.__wbg_ptr);
30535
+ }
30536
+ /**
30537
+ * @param {number} open
30538
+ * @param {number} high
30539
+ * @param {number} low
30540
+ * @param {number} close
30541
+ * @returns {number | undefined}
30542
+ */
30543
+ update(open, high, low, close) {
30544
+ try {
30545
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
30546
+ wasm.tdclop_update(retptr, this.__wbg_ptr, open, high, low, close);
30547
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
30548
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
30549
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
30550
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
30551
+ if (r5) {
30552
+ throw takeObject(r4);
30553
+ }
30554
+ return r0 === 0 ? undefined : r2;
30555
+ } finally {
30556
+ wasm.__wbindgen_add_to_stack_pointer(32);
30557
+ }
30558
+ }
30559
+ /**
30560
+ * @returns {number}
30561
+ */
30562
+ warmupPeriod() {
30563
+ const ret = wasm.tdclop_warmupPeriod(this.__wbg_ptr);
30564
+ return ret >>> 0;
30565
+ }
30566
+ }
30567
+ if (Symbol.dispose) TDClop.prototype[Symbol.dispose] = TDClop.prototype.free;
30568
+
30569
+ export class TDClopwin {
30570
+ __destroy_into_raw() {
30571
+ const ptr = this.__wbg_ptr;
30572
+ this.__wbg_ptr = 0;
30573
+ TDClopwinFinalization.unregister(this);
30574
+ return ptr;
30575
+ }
30576
+ free() {
30577
+ const ptr = this.__destroy_into_raw();
30578
+ wasm.__wbg_tdclopwin_free(ptr, 0);
30579
+ }
30580
+ /**
30581
+ * @param {Float64Array} open
30582
+ * @param {Float64Array} high
30583
+ * @param {Float64Array} low
30584
+ * @param {Float64Array} close
30585
+ * @returns {Float64Array}
30586
+ */
30587
+ batch(open, high, low, close) {
30588
+ try {
30589
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
30590
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
30591
+ const len0 = WASM_VECTOR_LEN;
30592
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
30593
+ const len1 = WASM_VECTOR_LEN;
30594
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
30595
+ const len2 = WASM_VECTOR_LEN;
30596
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
30597
+ const len3 = WASM_VECTOR_LEN;
30598
+ wasm.tdclopwin_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
30599
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
30600
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
30601
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
30602
+ if (r2) {
30603
+ throw takeObject(r1);
30604
+ }
30605
+ return takeObject(r0);
30606
+ } finally {
30607
+ wasm.__wbindgen_add_to_stack_pointer(16);
30608
+ }
30609
+ }
30610
+ /**
30611
+ * @returns {boolean}
30612
+ */
30613
+ isReady() {
30614
+ const ret = wasm.tdclopwin_isReady(this.__wbg_ptr);
30615
+ return ret !== 0;
30616
+ }
30617
+ constructor() {
30618
+ const ret = wasm.tdclopwin_new();
30619
+ this.__wbg_ptr = ret;
30620
+ TDClopwinFinalization.register(this, this.__wbg_ptr, this);
30621
+ return this;
30622
+ }
30623
+ reset() {
30624
+ wasm.tdclopwin_reset(this.__wbg_ptr);
30625
+ }
30626
+ /**
30627
+ * @param {number} open
30628
+ * @param {number} high
30629
+ * @param {number} low
30630
+ * @param {number} close
30631
+ * @returns {number | undefined}
30632
+ */
30633
+ update(open, high, low, close) {
30634
+ try {
30635
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
30636
+ wasm.tdclopwin_update(retptr, this.__wbg_ptr, open, high, low, close);
30637
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
30638
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
30639
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
30640
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
30641
+ if (r5) {
30642
+ throw takeObject(r4);
30643
+ }
30644
+ return r0 === 0 ? undefined : r2;
30645
+ } finally {
30646
+ wasm.__wbindgen_add_to_stack_pointer(32);
30647
+ }
30648
+ }
30649
+ /**
30650
+ * @returns {number}
30651
+ */
30652
+ warmupPeriod() {
30653
+ const ret = wasm.tdclopwin_warmupPeriod(this.__wbg_ptr);
30654
+ return ret >>> 0;
30655
+ }
30656
+ }
30657
+ if (Symbol.dispose) TDClopwin.prototype[Symbol.dispose] = TDClopwin.prototype.free;
30658
+
29984
30659
  export class TDCombo {
29985
30660
  __destroy_into_raw() {
29986
30661
  const ptr = this.__wbg_ptr;
@@ -30187,6 +30862,106 @@ export class TDCountdown {
30187
30862
  }
30188
30863
  if (Symbol.dispose) TDCountdown.prototype[Symbol.dispose] = TDCountdown.prototype.free;
30189
30864
 
30865
+ export class TDDWave {
30866
+ __destroy_into_raw() {
30867
+ const ptr = this.__wbg_ptr;
30868
+ this.__wbg_ptr = 0;
30869
+ TDDWaveFinalization.unregister(this);
30870
+ return ptr;
30871
+ }
30872
+ free() {
30873
+ const ptr = this.__destroy_into_raw();
30874
+ wasm.__wbg_tddwave_free(ptr, 0);
30875
+ }
30876
+ /**
30877
+ * @param {Float64Array} high
30878
+ * @param {Float64Array} low
30879
+ * @param {Float64Array} close
30880
+ * @returns {Float64Array}
30881
+ */
30882
+ batch(high, low, close) {
30883
+ try {
30884
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
30885
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
30886
+ const len0 = WASM_VECTOR_LEN;
30887
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
30888
+ const len1 = WASM_VECTOR_LEN;
30889
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
30890
+ const len2 = WASM_VECTOR_LEN;
30891
+ wasm.tddwave_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
30892
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
30893
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
30894
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
30895
+ if (r2) {
30896
+ throw takeObject(r1);
30897
+ }
30898
+ return takeObject(r0);
30899
+ } finally {
30900
+ wasm.__wbindgen_add_to_stack_pointer(16);
30901
+ }
30902
+ }
30903
+ /**
30904
+ * @returns {boolean}
30905
+ */
30906
+ isReady() {
30907
+ const ret = wasm.tddwave_isReady(this.__wbg_ptr);
30908
+ return ret !== 0;
30909
+ }
30910
+ /**
30911
+ * @param {number} strength
30912
+ */
30913
+ constructor(strength) {
30914
+ try {
30915
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
30916
+ wasm.tddwave_new(retptr, strength);
30917
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
30918
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
30919
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
30920
+ if (r2) {
30921
+ throw takeObject(r1);
30922
+ }
30923
+ this.__wbg_ptr = r0;
30924
+ TDDWaveFinalization.register(this, this.__wbg_ptr, this);
30925
+ return this;
30926
+ } finally {
30927
+ wasm.__wbindgen_add_to_stack_pointer(16);
30928
+ }
30929
+ }
30930
+ reset() {
30931
+ wasm.tddwave_reset(this.__wbg_ptr);
30932
+ }
30933
+ /**
30934
+ * @param {number} high
30935
+ * @param {number} low
30936
+ * @param {number} close
30937
+ * @returns {number | undefined}
30938
+ */
30939
+ update(high, low, close) {
30940
+ try {
30941
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
30942
+ wasm.tddwave_update(retptr, this.__wbg_ptr, high, low, close);
30943
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
30944
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
30945
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
30946
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
30947
+ if (r5) {
30948
+ throw takeObject(r4);
30949
+ }
30950
+ return r0 === 0 ? undefined : r2;
30951
+ } finally {
30952
+ wasm.__wbindgen_add_to_stack_pointer(32);
30953
+ }
30954
+ }
30955
+ /**
30956
+ * @returns {number}
30957
+ */
30958
+ warmupPeriod() {
30959
+ const ret = wasm.tddwave_warmupPeriod(this.__wbg_ptr);
30960
+ return ret >>> 0;
30961
+ }
30962
+ }
30963
+ if (Symbol.dispose) TDDWave.prototype[Symbol.dispose] = TDDWave.prototype.free;
30964
+
30190
30965
  export class TDDeMarker {
30191
30966
  __destroy_into_raw() {
30192
30967
  const ptr = this.__wbg_ptr;
@@ -30471,6 +31246,102 @@ export class TDLines {
30471
31246
  }
30472
31247
  if (Symbol.dispose) TDLines.prototype[Symbol.dispose] = TDLines.prototype.free;
30473
31248
 
31249
+ export class TDMovingAverage {
31250
+ __destroy_into_raw() {
31251
+ const ptr = this.__wbg_ptr;
31252
+ this.__wbg_ptr = 0;
31253
+ TDMovingAverageFinalization.unregister(this);
31254
+ return ptr;
31255
+ }
31256
+ free() {
31257
+ const ptr = this.__destroy_into_raw();
31258
+ wasm.__wbg_tdmovingaverage_free(ptr, 0);
31259
+ }
31260
+ /**
31261
+ * @param {Float64Array} high
31262
+ * @param {Float64Array} low
31263
+ * @returns {Float64Array}
31264
+ */
31265
+ batch(high, low) {
31266
+ try {
31267
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
31268
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
31269
+ const len0 = WASM_VECTOR_LEN;
31270
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
31271
+ const len1 = WASM_VECTOR_LEN;
31272
+ wasm.tdmovingaverage_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
31273
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
31274
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
31275
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
31276
+ if (r2) {
31277
+ throw takeObject(r1);
31278
+ }
31279
+ return takeObject(r0);
31280
+ } finally {
31281
+ wasm.__wbindgen_add_to_stack_pointer(16);
31282
+ }
31283
+ }
31284
+ /**
31285
+ * @returns {boolean}
31286
+ */
31287
+ isReady() {
31288
+ const ret = wasm.tdmovingaverage_isReady(this.__wbg_ptr);
31289
+ return ret !== 0;
31290
+ }
31291
+ /**
31292
+ * @param {number} period_st1
31293
+ * @param {number} period_st2
31294
+ */
31295
+ constructor(period_st1, period_st2) {
31296
+ try {
31297
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
31298
+ wasm.tdmovingaverage_new(retptr, period_st1, period_st2);
31299
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
31300
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
31301
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
31302
+ if (r2) {
31303
+ throw takeObject(r1);
31304
+ }
31305
+ this.__wbg_ptr = r0;
31306
+ TDMovingAverageFinalization.register(this, this.__wbg_ptr, this);
31307
+ return this;
31308
+ } finally {
31309
+ wasm.__wbindgen_add_to_stack_pointer(16);
31310
+ }
31311
+ }
31312
+ reset() {
31313
+ wasm.tdmovingaverage_reset(this.__wbg_ptr);
31314
+ }
31315
+ /**
31316
+ * @param {number} high
31317
+ * @param {number} low
31318
+ * @returns {any}
31319
+ */
31320
+ update(high, low) {
31321
+ try {
31322
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
31323
+ wasm.tdmovingaverage_update(retptr, this.__wbg_ptr, high, low);
31324
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
31325
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
31326
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
31327
+ if (r2) {
31328
+ throw takeObject(r1);
31329
+ }
31330
+ return takeObject(r0);
31331
+ } finally {
31332
+ wasm.__wbindgen_add_to_stack_pointer(16);
31333
+ }
31334
+ }
31335
+ /**
31336
+ * @returns {number}
31337
+ */
31338
+ warmupPeriod() {
31339
+ const ret = wasm.tdmovingaverage_warmupPeriod(this.__wbg_ptr);
31340
+ return ret >>> 0;
31341
+ }
31342
+ }
31343
+ if (Symbol.dispose) TDMovingAverage.prototype[Symbol.dispose] = TDMovingAverage.prototype.free;
31344
+
30474
31345
  export class TDOpen {
30475
31346
  __destroy_into_raw() {
30476
31347
  const ptr = this.__wbg_ptr;
@@ -30669,6 +31540,96 @@ export class TDPressure {
30669
31540
  }
30670
31541
  if (Symbol.dispose) TDPressure.prototype[Symbol.dispose] = TDPressure.prototype.free;
30671
31542
 
31543
+ export class TDPropulsion {
31544
+ __destroy_into_raw() {
31545
+ const ptr = this.__wbg_ptr;
31546
+ this.__wbg_ptr = 0;
31547
+ TDPropulsionFinalization.unregister(this);
31548
+ return ptr;
31549
+ }
31550
+ free() {
31551
+ const ptr = this.__destroy_into_raw();
31552
+ wasm.__wbg_tdpropulsion_free(ptr, 0);
31553
+ }
31554
+ /**
31555
+ * @param {Float64Array} open
31556
+ * @param {Float64Array} high
31557
+ * @param {Float64Array} low
31558
+ * @param {Float64Array} close
31559
+ * @returns {Float64Array}
31560
+ */
31561
+ batch(open, high, low, close) {
31562
+ try {
31563
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
31564
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
31565
+ const len0 = WASM_VECTOR_LEN;
31566
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
31567
+ const len1 = WASM_VECTOR_LEN;
31568
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
31569
+ const len2 = WASM_VECTOR_LEN;
31570
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
31571
+ const len3 = WASM_VECTOR_LEN;
31572
+ wasm.tdpropulsion_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
31573
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
31574
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
31575
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
31576
+ if (r2) {
31577
+ throw takeObject(r1);
31578
+ }
31579
+ return takeObject(r0);
31580
+ } finally {
31581
+ wasm.__wbindgen_add_to_stack_pointer(16);
31582
+ }
31583
+ }
31584
+ /**
31585
+ * @returns {boolean}
31586
+ */
31587
+ isReady() {
31588
+ const ret = wasm.tdpropulsion_isReady(this.__wbg_ptr);
31589
+ return ret !== 0;
31590
+ }
31591
+ constructor() {
31592
+ const ret = wasm.tdpropulsion_new();
31593
+ this.__wbg_ptr = ret;
31594
+ TDPropulsionFinalization.register(this, this.__wbg_ptr, this);
31595
+ return this;
31596
+ }
31597
+ reset() {
31598
+ wasm.tdpropulsion_reset(this.__wbg_ptr);
31599
+ }
31600
+ /**
31601
+ * @param {number} open
31602
+ * @param {number} high
31603
+ * @param {number} low
31604
+ * @param {number} close
31605
+ * @returns {number | undefined}
31606
+ */
31607
+ update(open, high, low, close) {
31608
+ try {
31609
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
31610
+ wasm.tdpropulsion_update(retptr, this.__wbg_ptr, open, high, low, close);
31611
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
31612
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
31613
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
31614
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
31615
+ if (r5) {
31616
+ throw takeObject(r4);
31617
+ }
31618
+ return r0 === 0 ? undefined : r2;
31619
+ } finally {
31620
+ wasm.__wbindgen_add_to_stack_pointer(32);
31621
+ }
31622
+ }
31623
+ /**
31624
+ * @returns {number}
31625
+ */
31626
+ warmupPeriod() {
31627
+ const ret = wasm.tdpropulsion_warmupPeriod(this.__wbg_ptr);
31628
+ return ret >>> 0;
31629
+ }
31630
+ }
31631
+ if (Symbol.dispose) TDPropulsion.prototype[Symbol.dispose] = TDPropulsion.prototype.free;
31632
+
30672
31633
  export class TDREI {
30673
31634
  __destroy_into_raw() {
30674
31635
  const ptr = this.__wbg_ptr;
@@ -31164,6 +32125,96 @@ export class TDSetup {
31164
32125
  }
31165
32126
  if (Symbol.dispose) TDSetup.prototype[Symbol.dispose] = TDSetup.prototype.free;
31166
32127
 
32128
+ export class TDTrap {
32129
+ __destroy_into_raw() {
32130
+ const ptr = this.__wbg_ptr;
32131
+ this.__wbg_ptr = 0;
32132
+ TDTrapFinalization.unregister(this);
32133
+ return ptr;
32134
+ }
32135
+ free() {
32136
+ const ptr = this.__destroy_into_raw();
32137
+ wasm.__wbg_tdtrap_free(ptr, 0);
32138
+ }
32139
+ /**
32140
+ * @param {Float64Array} open
32141
+ * @param {Float64Array} high
32142
+ * @param {Float64Array} low
32143
+ * @param {Float64Array} close
32144
+ * @returns {Float64Array}
32145
+ */
32146
+ batch(open, high, low, close) {
32147
+ try {
32148
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
32149
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
32150
+ const len0 = WASM_VECTOR_LEN;
32151
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
32152
+ const len1 = WASM_VECTOR_LEN;
32153
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
32154
+ const len2 = WASM_VECTOR_LEN;
32155
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
32156
+ const len3 = WASM_VECTOR_LEN;
32157
+ wasm.tdtrap_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
32158
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
32159
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
32160
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
32161
+ if (r2) {
32162
+ throw takeObject(r1);
32163
+ }
32164
+ return takeObject(r0);
32165
+ } finally {
32166
+ wasm.__wbindgen_add_to_stack_pointer(16);
32167
+ }
32168
+ }
32169
+ /**
32170
+ * @returns {boolean}
32171
+ */
32172
+ isReady() {
32173
+ const ret = wasm.tdtrap_isReady(this.__wbg_ptr);
32174
+ return ret !== 0;
32175
+ }
32176
+ constructor() {
32177
+ const ret = wasm.tdtrap_new();
32178
+ this.__wbg_ptr = ret;
32179
+ TDTrapFinalization.register(this, this.__wbg_ptr, this);
32180
+ return this;
32181
+ }
32182
+ reset() {
32183
+ wasm.tdtrap_reset(this.__wbg_ptr);
32184
+ }
32185
+ /**
32186
+ * @param {number} open
32187
+ * @param {number} high
32188
+ * @param {number} low
32189
+ * @param {number} close
32190
+ * @returns {number | undefined}
32191
+ */
32192
+ update(open, high, low, close) {
32193
+ try {
32194
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
32195
+ wasm.tdtrap_update(retptr, this.__wbg_ptr, open, high, low, close);
32196
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
32197
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
32198
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
32199
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
32200
+ if (r5) {
32201
+ throw takeObject(r4);
32202
+ }
32203
+ return r0 === 0 ? undefined : r2;
32204
+ } finally {
32205
+ wasm.__wbindgen_add_to_stack_pointer(32);
32206
+ }
32207
+ }
32208
+ /**
32209
+ * @returns {number}
32210
+ */
32211
+ warmupPeriod() {
32212
+ const ret = wasm.tdtrap_warmupPeriod(this.__wbg_ptr);
32213
+ return ret >>> 0;
32214
+ }
32215
+ }
32216
+ if (Symbol.dispose) TDTrap.prototype[Symbol.dispose] = TDTrap.prototype.free;
32217
+
31167
32218
  export class TEMA {
31168
32219
  __destroy_into_raw() {
31169
32220
  const ptr = this.__wbg_ptr;
@@ -32418,6 +33469,106 @@ export class ThreeInside {
32418
33469
  }
32419
33470
  if (Symbol.dispose) ThreeInside.prototype[Symbol.dispose] = ThreeInside.prototype.free;
32420
33471
 
33472
+ export class ThreeLineBreak {
33473
+ __destroy_into_raw() {
33474
+ const ptr = this.__wbg_ptr;
33475
+ this.__wbg_ptr = 0;
33476
+ ThreeLineBreakFinalization.unregister(this);
33477
+ return ptr;
33478
+ }
33479
+ free() {
33480
+ const ptr = this.__destroy_into_raw();
33481
+ wasm.__wbg_threelinebreak_free(ptr, 0);
33482
+ }
33483
+ /**
33484
+ * @param {Float64Array} high
33485
+ * @param {Float64Array} low
33486
+ * @param {Float64Array} close
33487
+ * @returns {Float64Array}
33488
+ */
33489
+ batch(high, low, close) {
33490
+ try {
33491
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
33492
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
33493
+ const len0 = WASM_VECTOR_LEN;
33494
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
33495
+ const len1 = WASM_VECTOR_LEN;
33496
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
33497
+ const len2 = WASM_VECTOR_LEN;
33498
+ wasm.threelinebreak_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
33499
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
33500
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
33501
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
33502
+ if (r2) {
33503
+ throw takeObject(r1);
33504
+ }
33505
+ return takeObject(r0);
33506
+ } finally {
33507
+ wasm.__wbindgen_add_to_stack_pointer(16);
33508
+ }
33509
+ }
33510
+ /**
33511
+ * @returns {boolean}
33512
+ */
33513
+ isReady() {
33514
+ const ret = wasm.threelinebreak_isReady(this.__wbg_ptr);
33515
+ return ret !== 0;
33516
+ }
33517
+ /**
33518
+ * @param {number} lines
33519
+ */
33520
+ constructor(lines) {
33521
+ try {
33522
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
33523
+ wasm.threelinebreak_new(retptr, lines);
33524
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
33525
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
33526
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
33527
+ if (r2) {
33528
+ throw takeObject(r1);
33529
+ }
33530
+ this.__wbg_ptr = r0;
33531
+ ThreeLineBreakFinalization.register(this, this.__wbg_ptr, this);
33532
+ return this;
33533
+ } finally {
33534
+ wasm.__wbindgen_add_to_stack_pointer(16);
33535
+ }
33536
+ }
33537
+ reset() {
33538
+ wasm.threelinebreak_reset(this.__wbg_ptr);
33539
+ }
33540
+ /**
33541
+ * @param {number} high
33542
+ * @param {number} low
33543
+ * @param {number} close
33544
+ * @returns {number | undefined}
33545
+ */
33546
+ update(high, low, close) {
33547
+ try {
33548
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
33549
+ wasm.threelinebreak_update(retptr, this.__wbg_ptr, high, low, close);
33550
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
33551
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
33552
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
33553
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
33554
+ if (r5) {
33555
+ throw takeObject(r4);
33556
+ }
33557
+ return r0 === 0 ? undefined : r2;
33558
+ } finally {
33559
+ wasm.__wbindgen_add_to_stack_pointer(32);
33560
+ }
33561
+ }
33562
+ /**
33563
+ * @returns {number}
33564
+ */
33565
+ warmupPeriod() {
33566
+ const ret = wasm.threelinebreak_warmupPeriod(this.__wbg_ptr);
33567
+ return ret >>> 0;
33568
+ }
33569
+ }
33570
+ if (Symbol.dispose) ThreeLineBreak.prototype[Symbol.dispose] = ThreeLineBreak.prototype.free;
33571
+
32421
33572
  export class ThreeLineStrike {
32422
33573
  __destroy_into_raw() {
32423
33574
  const ptr = this.__wbg_ptr;
@@ -38839,6 +39990,9 @@ const CalmarRatioFinalization = (typeof FinalizationRegistry === 'undefined')
38839
39990
  const CamarillaFinalization = (typeof FinalizationRegistry === 'undefined')
38840
39991
  ? { register: () => {}, unregister: () => {} }
38841
39992
  : new FinalizationRegistry(ptr => wasm.__wbg_camarilla_free(ptr, 1));
39993
+ const CandleVolumeFinalization = (typeof FinalizationRegistry === 'undefined')
39994
+ ? { register: () => {}, unregister: () => {} }
39995
+ : new FinalizationRegistry(ptr => wasm.__wbg_candlevolume_free(ptr, 1));
38842
39996
  const CCIFinalization = (typeof FinalizationRegistry === 'undefined')
38843
39997
  ? { register: () => {}, unregister: () => {} }
38844
39998
  : new FinalizationRegistry(ptr => wasm.__wbg_cci_free(ptr, 1));
@@ -39022,6 +40176,9 @@ const EmpiricalModeDecompositionFinalization = (typeof FinalizationRegistry ===
39022
40176
  const EngulfingFinalization = (typeof FinalizationRegistry === 'undefined')
39023
40177
  ? { register: () => {}, unregister: () => {} }
39024
40178
  : new FinalizationRegistry(ptr => wasm.__wbg_engulfing_free(ptr, 1));
40179
+ const EquivolumeFinalization = (typeof FinalizationRegistry === 'undefined')
40180
+ ? { register: () => {}, unregister: () => {} }
40181
+ : new FinalizationRegistry(ptr => wasm.__wbg_equivolume_free(ptr, 1));
39025
40182
  const EVENBETTERSINEFinalization = (typeof FinalizationRegistry === 'undefined')
39026
40183
  ? { register: () => {}, unregister: () => {} }
39027
40184
  : new FinalizationRegistry(ptr => wasm.__wbg_evenbettersine_free(ptr, 1));
@@ -39151,6 +40308,9 @@ const HeadAndShouldersFinalization = (typeof FinalizationRegistry === 'undefined
39151
40308
  const HeikinAshiFinalization = (typeof FinalizationRegistry === 'undefined')
39152
40309
  ? { register: () => {}, unregister: () => {} }
39153
40310
  : new FinalizationRegistry(ptr => wasm.__wbg_heikinashi_free(ptr, 1));
40311
+ const HeikinAshiOscillatorFinalization = (typeof FinalizationRegistry === 'undefined')
40312
+ ? { register: () => {}, unregister: () => {} }
40313
+ : new FinalizationRegistry(ptr => wasm.__wbg_heikinashioscillator_free(ptr, 1));
39154
40314
  const HiLoActivatorFinalization = (typeof FinalizationRegistry === 'undefined')
39155
40315
  ? { register: () => {}, unregister: () => {} }
39156
40316
  : new FinalizationRegistry(ptr => wasm.__wbg_hiloactivator_free(ptr, 1));
@@ -39709,6 +40869,9 @@ const SMIFinalization = (typeof FinalizationRegistry === 'undefined')
39709
40869
  const SMMAFinalization = (typeof FinalizationRegistry === 'undefined')
39710
40870
  ? { register: () => {}, unregister: () => {} }
39711
40871
  : new FinalizationRegistry(ptr => wasm.__wbg_smma_free(ptr, 1));
40872
+ const SmoothedHeikinAshiFinalization = (typeof FinalizationRegistry === 'undefined')
40873
+ ? { register: () => {}, unregister: () => {} }
40874
+ : new FinalizationRegistry(ptr => wasm.__wbg_smoothedheikinashi_free(ptr, 1));
39712
40875
  const SortinoRatioFinalization = (typeof FinalizationRegistry === 'undefined')
39713
40876
  ? { register: () => {}, unregister: () => {} }
39714
40877
  : new FinalizationRegistry(ptr => wasm.__wbg_sortinoratio_free(ptr, 1));
@@ -39778,12 +40941,24 @@ const TakuriFinalization = (typeof FinalizationRegistry === 'undefined')
39778
40941
  const TasukiGapFinalization = (typeof FinalizationRegistry === 'undefined')
39779
40942
  ? { register: () => {}, unregister: () => {} }
39780
40943
  : new FinalizationRegistry(ptr => wasm.__wbg_tasukigap_free(ptr, 1));
40944
+ const TDCamouflageFinalization = (typeof FinalizationRegistry === 'undefined')
40945
+ ? { register: () => {}, unregister: () => {} }
40946
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdcamouflage_free(ptr, 1));
40947
+ const TDClopFinalization = (typeof FinalizationRegistry === 'undefined')
40948
+ ? { register: () => {}, unregister: () => {} }
40949
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdclop_free(ptr, 1));
40950
+ const TDClopwinFinalization = (typeof FinalizationRegistry === 'undefined')
40951
+ ? { register: () => {}, unregister: () => {} }
40952
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdclopwin_free(ptr, 1));
39781
40953
  const TDComboFinalization = (typeof FinalizationRegistry === 'undefined')
39782
40954
  ? { register: () => {}, unregister: () => {} }
39783
40955
  : new FinalizationRegistry(ptr => wasm.__wbg_tdcombo_free(ptr, 1));
39784
40956
  const TDCountdownFinalization = (typeof FinalizationRegistry === 'undefined')
39785
40957
  ? { register: () => {}, unregister: () => {} }
39786
40958
  : new FinalizationRegistry(ptr => wasm.__wbg_tdcountdown_free(ptr, 1));
40959
+ const TDDWaveFinalization = (typeof FinalizationRegistry === 'undefined')
40960
+ ? { register: () => {}, unregister: () => {} }
40961
+ : new FinalizationRegistry(ptr => wasm.__wbg_tddwave_free(ptr, 1));
39787
40962
  const TDDeMarkerFinalization = (typeof FinalizationRegistry === 'undefined')
39788
40963
  ? { register: () => {}, unregister: () => {} }
39789
40964
  : new FinalizationRegistry(ptr => wasm.__wbg_tddemarker_free(ptr, 1));
@@ -39793,12 +40968,18 @@ const TDDifferentialFinalization = (typeof FinalizationRegistry === 'undefined')
39793
40968
  const TDLinesFinalization = (typeof FinalizationRegistry === 'undefined')
39794
40969
  ? { register: () => {}, unregister: () => {} }
39795
40970
  : new FinalizationRegistry(ptr => wasm.__wbg_tdlines_free(ptr, 1));
40971
+ const TDMovingAverageFinalization = (typeof FinalizationRegistry === 'undefined')
40972
+ ? { register: () => {}, unregister: () => {} }
40973
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdmovingaverage_free(ptr, 1));
39796
40974
  const TDOpenFinalization = (typeof FinalizationRegistry === 'undefined')
39797
40975
  ? { register: () => {}, unregister: () => {} }
39798
40976
  : new FinalizationRegistry(ptr => wasm.__wbg_tdopen_free(ptr, 1));
39799
40977
  const TDPressureFinalization = (typeof FinalizationRegistry === 'undefined')
39800
40978
  ? { register: () => {}, unregister: () => {} }
39801
40979
  : new FinalizationRegistry(ptr => wasm.__wbg_tdpressure_free(ptr, 1));
40980
+ const TDPropulsionFinalization = (typeof FinalizationRegistry === 'undefined')
40981
+ ? { register: () => {}, unregister: () => {} }
40982
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdpropulsion_free(ptr, 1));
39802
40983
  const TDRangeProjectionFinalization = (typeof FinalizationRegistry === 'undefined')
39803
40984
  ? { register: () => {}, unregister: () => {} }
39804
40985
  : new FinalizationRegistry(ptr => wasm.__wbg_tdrangeprojection_free(ptr, 1));
@@ -39814,6 +40995,9 @@ const TDSequentialFinalization = (typeof FinalizationRegistry === 'undefined')
39814
40995
  const TDSetupFinalization = (typeof FinalizationRegistry === 'undefined')
39815
40996
  ? { register: () => {}, unregister: () => {} }
39816
40997
  : new FinalizationRegistry(ptr => wasm.__wbg_tdsetup_free(ptr, 1));
40998
+ const TDTrapFinalization = (typeof FinalizationRegistry === 'undefined')
40999
+ ? { register: () => {}, unregister: () => {} }
41000
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdtrap_free(ptr, 1));
39817
41001
  const TEMAFinalization = (typeof FinalizationRegistry === 'undefined')
39818
41002
  ? { register: () => {}, unregister: () => {} }
39819
41003
  : new FinalizationRegistry(ptr => wasm.__wbg_tema_free(ptr, 1));
@@ -39826,6 +41010,9 @@ const ThreeDrivesFinalization = (typeof FinalizationRegistry === 'undefined')
39826
41010
  const ThreeInsideFinalization = (typeof FinalizationRegistry === 'undefined')
39827
41011
  ? { register: () => {}, unregister: () => {} }
39828
41012
  : new FinalizationRegistry(ptr => wasm.__wbg_threeinside_free(ptr, 1));
41013
+ const ThreeLineBreakFinalization = (typeof FinalizationRegistry === 'undefined')
41014
+ ? { register: () => {}, unregister: () => {} }
41015
+ : new FinalizationRegistry(ptr => wasm.__wbg_threelinebreak_free(ptr, 1));
39829
41016
  const ThreeLineStrikeFinalization = (typeof FinalizationRegistry === 'undefined')
39830
41017
  ? { register: () => {}, unregister: () => {} }
39831
41018
  : new FinalizationRegistry(ptr => wasm.__wbg_threelinestrike_free(ptr, 1));