wickra-wasm 0.4.7 → 0.5.0

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
@@ -682,6 +682,74 @@ export class AbandonedBaby {
682
682
  }
683
683
  if (Symbol.dispose) AbandonedBaby.prototype[Symbol.dispose] = AbandonedBaby.prototype.free;
684
684
 
685
+ export class AbsoluteBreadthIndex {
686
+ __destroy_into_raw() {
687
+ const ptr = this.__wbg_ptr;
688
+ this.__wbg_ptr = 0;
689
+ AbsoluteBreadthIndexFinalization.unregister(this);
690
+ return ptr;
691
+ }
692
+ free() {
693
+ const ptr = this.__destroy_into_raw();
694
+ wasm.__wbg_absolutebreadthindex_free(ptr, 0);
695
+ }
696
+ /**
697
+ * @returns {boolean}
698
+ */
699
+ isReady() {
700
+ const ret = wasm.absolutebreadthindex_isReady(this.__wbg_ptr);
701
+ return ret !== 0;
702
+ }
703
+ constructor() {
704
+ const ret = wasm.absolutebreadthindex_new();
705
+ this.__wbg_ptr = ret;
706
+ AbsoluteBreadthIndexFinalization.register(this, this.__wbg_ptr, this);
707
+ return this;
708
+ }
709
+ reset() {
710
+ wasm.absolutebreadthindex_reset(this.__wbg_ptr);
711
+ }
712
+ /**
713
+ * @param {Float64Array} change
714
+ * @param {Float64Array} volume
715
+ * @param {Float64Array} new_high
716
+ * @param {Float64Array} new_low
717
+ * @returns {number | undefined}
718
+ */
719
+ update(change, volume, new_high, new_low) {
720
+ try {
721
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
722
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
723
+ const len0 = WASM_VECTOR_LEN;
724
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
725
+ const len1 = WASM_VECTOR_LEN;
726
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
727
+ const len2 = WASM_VECTOR_LEN;
728
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
729
+ const len3 = WASM_VECTOR_LEN;
730
+ wasm.absolutebreadthindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
731
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
732
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
733
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
734
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
735
+ if (r5) {
736
+ throw takeObject(r4);
737
+ }
738
+ return r0 === 0 ? undefined : r2;
739
+ } finally {
740
+ wasm.__wbindgen_add_to_stack_pointer(32);
741
+ }
742
+ }
743
+ /**
744
+ * @returns {number}
745
+ */
746
+ warmupPeriod() {
747
+ const ret = wasm.absolutebreadthindex_warmupPeriod(this.__wbg_ptr);
748
+ return ret >>> 0;
749
+ }
750
+ }
751
+ if (Symbol.dispose) AbsoluteBreadthIndex.prototype[Symbol.dispose] = AbsoluteBreadthIndex.prototype.free;
752
+
685
753
  export class AccelerationBands {
686
754
  __destroy_into_raw() {
687
755
  const ptr = this.__wbg_ptr;
@@ -867,6 +935,74 @@ export class AcceleratorOscillator {
867
935
  }
868
936
  if (Symbol.dispose) AcceleratorOscillator.prototype[Symbol.dispose] = AcceleratorOscillator.prototype.free;
869
937
 
938
+ export class AdVolumeLine {
939
+ __destroy_into_raw() {
940
+ const ptr = this.__wbg_ptr;
941
+ this.__wbg_ptr = 0;
942
+ AdVolumeLineFinalization.unregister(this);
943
+ return ptr;
944
+ }
945
+ free() {
946
+ const ptr = this.__destroy_into_raw();
947
+ wasm.__wbg_advolumeline_free(ptr, 0);
948
+ }
949
+ /**
950
+ * @returns {boolean}
951
+ */
952
+ isReady() {
953
+ const ret = wasm.advolumeline_isReady(this.__wbg_ptr);
954
+ return ret !== 0;
955
+ }
956
+ constructor() {
957
+ const ret = wasm.advolumeline_new();
958
+ this.__wbg_ptr = ret;
959
+ AdVolumeLineFinalization.register(this, this.__wbg_ptr, this);
960
+ return this;
961
+ }
962
+ reset() {
963
+ wasm.advolumeline_reset(this.__wbg_ptr);
964
+ }
965
+ /**
966
+ * @param {Float64Array} change
967
+ * @param {Float64Array} volume
968
+ * @param {Float64Array} new_high
969
+ * @param {Float64Array} new_low
970
+ * @returns {number | undefined}
971
+ */
972
+ update(change, volume, new_high, new_low) {
973
+ try {
974
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
975
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
976
+ const len0 = WASM_VECTOR_LEN;
977
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
978
+ const len1 = WASM_VECTOR_LEN;
979
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
980
+ const len2 = WASM_VECTOR_LEN;
981
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
982
+ const len3 = WASM_VECTOR_LEN;
983
+ wasm.advolumeline_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
984
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
985
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
986
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
987
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
988
+ if (r5) {
989
+ throw takeObject(r4);
990
+ }
991
+ return r0 === 0 ? undefined : r2;
992
+ } finally {
993
+ wasm.__wbindgen_add_to_stack_pointer(32);
994
+ }
995
+ }
996
+ /**
997
+ * @returns {number}
998
+ */
999
+ warmupPeriod() {
1000
+ const ret = wasm.advolumeline_warmupPeriod(this.__wbg_ptr);
1001
+ return ret >>> 0;
1002
+ }
1003
+ }
1004
+ if (Symbol.dispose) AdVolumeLine.prototype[Symbol.dispose] = AdVolumeLine.prototype.free;
1005
+
870
1006
  export class AdaptiveCycle {
871
1007
  __destroy_into_raw() {
872
1008
  const ptr = this.__wbg_ptr;
@@ -1087,6 +1223,74 @@ export class AdvanceDecline {
1087
1223
  }
1088
1224
  if (Symbol.dispose) AdvanceDecline.prototype[Symbol.dispose] = AdvanceDecline.prototype.free;
1089
1225
 
1226
+ export class AdvanceDeclineRatio {
1227
+ __destroy_into_raw() {
1228
+ const ptr = this.__wbg_ptr;
1229
+ this.__wbg_ptr = 0;
1230
+ AdvanceDeclineRatioFinalization.unregister(this);
1231
+ return ptr;
1232
+ }
1233
+ free() {
1234
+ const ptr = this.__destroy_into_raw();
1235
+ wasm.__wbg_advancedeclineratio_free(ptr, 0);
1236
+ }
1237
+ /**
1238
+ * @returns {boolean}
1239
+ */
1240
+ isReady() {
1241
+ const ret = wasm.advancedeclineratio_isReady(this.__wbg_ptr);
1242
+ return ret !== 0;
1243
+ }
1244
+ constructor() {
1245
+ const ret = wasm.advancedeclineratio_new();
1246
+ this.__wbg_ptr = ret;
1247
+ AdvanceDeclineRatioFinalization.register(this, this.__wbg_ptr, this);
1248
+ return this;
1249
+ }
1250
+ reset() {
1251
+ wasm.advancedeclineratio_reset(this.__wbg_ptr);
1252
+ }
1253
+ /**
1254
+ * @param {Float64Array} change
1255
+ * @param {Float64Array} volume
1256
+ * @param {Float64Array} new_high
1257
+ * @param {Float64Array} new_low
1258
+ * @returns {number | undefined}
1259
+ */
1260
+ update(change, volume, new_high, new_low) {
1261
+ try {
1262
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
1263
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
1264
+ const len0 = WASM_VECTOR_LEN;
1265
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
1266
+ const len1 = WASM_VECTOR_LEN;
1267
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
1268
+ const len2 = WASM_VECTOR_LEN;
1269
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
1270
+ const len3 = WASM_VECTOR_LEN;
1271
+ wasm.advancedeclineratio_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
1272
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1273
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
1274
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
1275
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
1276
+ if (r5) {
1277
+ throw takeObject(r4);
1278
+ }
1279
+ return r0 === 0 ? undefined : r2;
1280
+ } finally {
1281
+ wasm.__wbindgen_add_to_stack_pointer(32);
1282
+ }
1283
+ }
1284
+ /**
1285
+ * @returns {number}
1286
+ */
1287
+ warmupPeriod() {
1288
+ const ret = wasm.advancedeclineratio_warmupPeriod(this.__wbg_ptr);
1289
+ return ret >>> 0;
1290
+ }
1291
+ }
1292
+ if (Symbol.dispose) AdvanceDeclineRatio.prototype[Symbol.dispose] = AdvanceDeclineRatio.prototype.free;
1293
+
1090
1294
  export class Alligator {
1091
1295
  __destroy_into_raw() {
1092
1296
  const ptr = this.__wbg_ptr;
@@ -2622,6 +2826,88 @@ export class BollingerBandwidth {
2622
2826
  }
2623
2827
  if (Symbol.dispose) BollingerBandwidth.prototype[Symbol.dispose] = BollingerBandwidth.prototype.free;
2624
2828
 
2829
+ export class BreadthThrust {
2830
+ __destroy_into_raw() {
2831
+ const ptr = this.__wbg_ptr;
2832
+ this.__wbg_ptr = 0;
2833
+ BreadthThrustFinalization.unregister(this);
2834
+ return ptr;
2835
+ }
2836
+ free() {
2837
+ const ptr = this.__destroy_into_raw();
2838
+ wasm.__wbg_breadththrust_free(ptr, 0);
2839
+ }
2840
+ /**
2841
+ * @returns {boolean}
2842
+ */
2843
+ isReady() {
2844
+ const ret = wasm.breadththrust_isReady(this.__wbg_ptr);
2845
+ return ret !== 0;
2846
+ }
2847
+ /**
2848
+ * @param {number} period
2849
+ */
2850
+ constructor(period) {
2851
+ try {
2852
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2853
+ wasm.breadththrust_new(retptr, period);
2854
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2855
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
2856
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
2857
+ if (r2) {
2858
+ throw takeObject(r1);
2859
+ }
2860
+ this.__wbg_ptr = r0;
2861
+ BreadthThrustFinalization.register(this, this.__wbg_ptr, this);
2862
+ return this;
2863
+ } finally {
2864
+ wasm.__wbindgen_add_to_stack_pointer(16);
2865
+ }
2866
+ }
2867
+ reset() {
2868
+ wasm.breadththrust_reset(this.__wbg_ptr);
2869
+ }
2870
+ /**
2871
+ * @param {Float64Array} change
2872
+ * @param {Float64Array} volume
2873
+ * @param {Float64Array} new_high
2874
+ * @param {Float64Array} new_low
2875
+ * @returns {number | undefined}
2876
+ */
2877
+ update(change, volume, new_high, new_low) {
2878
+ try {
2879
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
2880
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
2881
+ const len0 = WASM_VECTOR_LEN;
2882
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
2883
+ const len1 = WASM_VECTOR_LEN;
2884
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
2885
+ const len2 = WASM_VECTOR_LEN;
2886
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
2887
+ const len3 = WASM_VECTOR_LEN;
2888
+ wasm.breadththrust_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
2889
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2890
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
2891
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
2892
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
2893
+ if (r5) {
2894
+ throw takeObject(r4);
2895
+ }
2896
+ return r0 === 0 ? undefined : r2;
2897
+ } finally {
2898
+ wasm.__wbindgen_add_to_stack_pointer(32);
2899
+ }
2900
+ }
2901
+ /**
2902
+ * @returns {number}
2903
+ */
2904
+ warmupPeriod() {
2905
+ const ret = wasm.breadththrust_warmupPeriod(this.__wbg_ptr);
2906
+ return ret >>> 0;
2907
+ }
2908
+ }
2909
+ if (Symbol.dispose) BreadthThrust.prototype[Symbol.dispose] = BreadthThrust.prototype.free;
2910
+
2625
2911
  export class Breakaway {
2626
2912
  __destroy_into_raw() {
2627
2913
  const ptr = this.__wbg_ptr;
@@ -2712,6 +2998,77 @@ export class Breakaway {
2712
2998
  }
2713
2999
  if (Symbol.dispose) Breakaway.prototype[Symbol.dispose] = Breakaway.prototype.free;
2714
3000
 
3001
+ export class BullishPercentIndex {
3002
+ __destroy_into_raw() {
3003
+ const ptr = this.__wbg_ptr;
3004
+ this.__wbg_ptr = 0;
3005
+ BullishPercentIndexFinalization.unregister(this);
3006
+ return ptr;
3007
+ }
3008
+ free() {
3009
+ const ptr = this.__destroy_into_raw();
3010
+ wasm.__wbg_bullishpercentindex_free(ptr, 0);
3011
+ }
3012
+ /**
3013
+ * @returns {boolean}
3014
+ */
3015
+ isReady() {
3016
+ const ret = wasm.bullishpercentindex_isReady(this.__wbg_ptr);
3017
+ return ret !== 0;
3018
+ }
3019
+ constructor() {
3020
+ const ret = wasm.bullishpercentindex_new();
3021
+ this.__wbg_ptr = ret;
3022
+ BullishPercentIndexFinalization.register(this, this.__wbg_ptr, this);
3023
+ return this;
3024
+ }
3025
+ reset() {
3026
+ wasm.bullishpercentindex_reset(this.__wbg_ptr);
3027
+ }
3028
+ /**
3029
+ * @param {Float64Array} change
3030
+ * @param {Float64Array} volume
3031
+ * @param {Float64Array} new_high
3032
+ * @param {Float64Array} new_low
3033
+ * @param {Float64Array} on_buy_signal
3034
+ * @returns {number | undefined}
3035
+ */
3036
+ update(change, volume, new_high, new_low, on_buy_signal) {
3037
+ try {
3038
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
3039
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
3040
+ const len0 = WASM_VECTOR_LEN;
3041
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
3042
+ const len1 = WASM_VECTOR_LEN;
3043
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
3044
+ const len2 = WASM_VECTOR_LEN;
3045
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
3046
+ const len3 = WASM_VECTOR_LEN;
3047
+ const ptr4 = passArrayF64ToWasm0(on_buy_signal, wasm.__wbindgen_export3);
3048
+ const len4 = WASM_VECTOR_LEN;
3049
+ wasm.bullishpercentindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
3050
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3051
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
3052
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
3053
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
3054
+ if (r5) {
3055
+ throw takeObject(r4);
3056
+ }
3057
+ return r0 === 0 ? undefined : r2;
3058
+ } finally {
3059
+ wasm.__wbindgen_add_to_stack_pointer(32);
3060
+ }
3061
+ }
3062
+ /**
3063
+ * @returns {number}
3064
+ */
3065
+ warmupPeriod() {
3066
+ const ret = wasm.bullishpercentindex_warmupPeriod(this.__wbg_ptr);
3067
+ return ret >>> 0;
3068
+ }
3069
+ }
3070
+ if (Symbol.dispose) BullishPercentIndex.prototype[Symbol.dispose] = BullishPercentIndex.prototype.free;
3071
+
2715
3072
  export class CCI {
2716
3073
  __destroy_into_raw() {
2717
3074
  const ptr = this.__wbg_ptr;
@@ -4571,10 +4928,78 @@ export class CumulativeVolumeDelta {
4571
4928
  * @param {boolean} is_buy
4572
4929
  * @returns {number | undefined}
4573
4930
  */
4574
- update(price, size, is_buy) {
4931
+ update(price, size, is_buy) {
4932
+ try {
4933
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
4934
+ wasm.cumulativevolumedelta_update(retptr, this.__wbg_ptr, price, size, is_buy);
4935
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4936
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
4937
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
4938
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
4939
+ if (r5) {
4940
+ throw takeObject(r4);
4941
+ }
4942
+ return r0 === 0 ? undefined : r2;
4943
+ } finally {
4944
+ wasm.__wbindgen_add_to_stack_pointer(32);
4945
+ }
4946
+ }
4947
+ /**
4948
+ * @returns {number}
4949
+ */
4950
+ warmupPeriod() {
4951
+ const ret = wasm.cumulativevolumedelta_warmupPeriod(this.__wbg_ptr);
4952
+ return ret >>> 0;
4953
+ }
4954
+ }
4955
+ if (Symbol.dispose) CumulativeVolumeDelta.prototype[Symbol.dispose] = CumulativeVolumeDelta.prototype.free;
4956
+
4957
+ export class CumulativeVolumeIndex {
4958
+ __destroy_into_raw() {
4959
+ const ptr = this.__wbg_ptr;
4960
+ this.__wbg_ptr = 0;
4961
+ CumulativeVolumeIndexFinalization.unregister(this);
4962
+ return ptr;
4963
+ }
4964
+ free() {
4965
+ const ptr = this.__destroy_into_raw();
4966
+ wasm.__wbg_cumulativevolumeindex_free(ptr, 0);
4967
+ }
4968
+ /**
4969
+ * @returns {boolean}
4970
+ */
4971
+ isReady() {
4972
+ const ret = wasm.cumulativevolumeindex_isReady(this.__wbg_ptr);
4973
+ return ret !== 0;
4974
+ }
4975
+ constructor() {
4976
+ const ret = wasm.cumulativevolumeindex_new();
4977
+ this.__wbg_ptr = ret;
4978
+ CumulativeVolumeIndexFinalization.register(this, this.__wbg_ptr, this);
4979
+ return this;
4980
+ }
4981
+ reset() {
4982
+ wasm.cumulativevolumeindex_reset(this.__wbg_ptr);
4983
+ }
4984
+ /**
4985
+ * @param {Float64Array} change
4986
+ * @param {Float64Array} volume
4987
+ * @param {Float64Array} new_high
4988
+ * @param {Float64Array} new_low
4989
+ * @returns {number | undefined}
4990
+ */
4991
+ update(change, volume, new_high, new_low) {
4575
4992
  try {
4576
4993
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
4577
- wasm.cumulativevolumedelta_update(retptr, this.__wbg_ptr, price, size, is_buy);
4994
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
4995
+ const len0 = WASM_VECTOR_LEN;
4996
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
4997
+ const len1 = WASM_VECTOR_LEN;
4998
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
4999
+ const len2 = WASM_VECTOR_LEN;
5000
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
5001
+ const len3 = WASM_VECTOR_LEN;
5002
+ wasm.cumulativevolumeindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
4578
5003
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4579
5004
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
4580
5005
  var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
@@ -4591,11 +5016,11 @@ export class CumulativeVolumeDelta {
4591
5016
  * @returns {number}
4592
5017
  */
4593
5018
  warmupPeriod() {
4594
- const ret = wasm.cumulativevolumedelta_warmupPeriod(this.__wbg_ptr);
5019
+ const ret = wasm.cumulativevolumeindex_warmupPeriod(this.__wbg_ptr);
4595
5020
  return ret >>> 0;
4596
5021
  }
4597
5022
  }
4598
- if (Symbol.dispose) CumulativeVolumeDelta.prototype[Symbol.dispose] = CumulativeVolumeDelta.prototype.free;
5023
+ if (Symbol.dispose) CumulativeVolumeIndex.prototype[Symbol.dispose] = CumulativeVolumeIndex.prototype.free;
4599
5024
 
4600
5025
  export class CyberneticCycle {
4601
5026
  __destroy_into_raw() {
@@ -8943,6 +9368,88 @@ export class HiLoActivator {
8943
9368
  }
8944
9369
  if (Symbol.dispose) HiLoActivator.prototype[Symbol.dispose] = HiLoActivator.prototype.free;
8945
9370
 
9371
+ export class HighLowIndex {
9372
+ __destroy_into_raw() {
9373
+ const ptr = this.__wbg_ptr;
9374
+ this.__wbg_ptr = 0;
9375
+ HighLowIndexFinalization.unregister(this);
9376
+ return ptr;
9377
+ }
9378
+ free() {
9379
+ const ptr = this.__destroy_into_raw();
9380
+ wasm.__wbg_highlowindex_free(ptr, 0);
9381
+ }
9382
+ /**
9383
+ * @returns {boolean}
9384
+ */
9385
+ isReady() {
9386
+ const ret = wasm.highlowindex_isReady(this.__wbg_ptr);
9387
+ return ret !== 0;
9388
+ }
9389
+ /**
9390
+ * @param {number} period
9391
+ */
9392
+ constructor(period) {
9393
+ try {
9394
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9395
+ wasm.highlowindex_new(retptr, period);
9396
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9397
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9398
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
9399
+ if (r2) {
9400
+ throw takeObject(r1);
9401
+ }
9402
+ this.__wbg_ptr = r0;
9403
+ HighLowIndexFinalization.register(this, this.__wbg_ptr, this);
9404
+ return this;
9405
+ } finally {
9406
+ wasm.__wbindgen_add_to_stack_pointer(16);
9407
+ }
9408
+ }
9409
+ reset() {
9410
+ wasm.highlowindex_reset(this.__wbg_ptr);
9411
+ }
9412
+ /**
9413
+ * @param {Float64Array} change
9414
+ * @param {Float64Array} volume
9415
+ * @param {Float64Array} new_high
9416
+ * @param {Float64Array} new_low
9417
+ * @returns {number | undefined}
9418
+ */
9419
+ update(change, volume, new_high, new_low) {
9420
+ try {
9421
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
9422
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
9423
+ const len0 = WASM_VECTOR_LEN;
9424
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
9425
+ const len1 = WASM_VECTOR_LEN;
9426
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
9427
+ const len2 = WASM_VECTOR_LEN;
9428
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
9429
+ const len3 = WASM_VECTOR_LEN;
9430
+ wasm.highlowindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
9431
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9432
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
9433
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
9434
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
9435
+ if (r5) {
9436
+ throw takeObject(r4);
9437
+ }
9438
+ return r0 === 0 ? undefined : r2;
9439
+ } finally {
9440
+ wasm.__wbindgen_add_to_stack_pointer(32);
9441
+ }
9442
+ }
9443
+ /**
9444
+ * @returns {number}
9445
+ */
9446
+ warmupPeriod() {
9447
+ const ret = wasm.highlowindex_warmupPeriod(this.__wbg_ptr);
9448
+ return ret >>> 0;
9449
+ }
9450
+ }
9451
+ if (Symbol.dispose) HighLowIndex.prototype[Symbol.dispose] = HighLowIndex.prototype.free;
9452
+
8946
9453
  export class HighWave {
8947
9454
  __destroy_into_raw() {
8948
9455
  const ptr = this.__wbg_ptr;
@@ -13716,6 +14223,142 @@ export class MaxDrawdown {
13716
14223
  }
13717
14224
  if (Symbol.dispose) MaxDrawdown.prototype[Symbol.dispose] = MaxDrawdown.prototype.free;
13718
14225
 
14226
+ export class McClellanOscillator {
14227
+ __destroy_into_raw() {
14228
+ const ptr = this.__wbg_ptr;
14229
+ this.__wbg_ptr = 0;
14230
+ McClellanOscillatorFinalization.unregister(this);
14231
+ return ptr;
14232
+ }
14233
+ free() {
14234
+ const ptr = this.__destroy_into_raw();
14235
+ wasm.__wbg_mcclellanoscillator_free(ptr, 0);
14236
+ }
14237
+ /**
14238
+ * @returns {boolean}
14239
+ */
14240
+ isReady() {
14241
+ const ret = wasm.mcclellanoscillator_isReady(this.__wbg_ptr);
14242
+ return ret !== 0;
14243
+ }
14244
+ constructor() {
14245
+ const ret = wasm.mcclellanoscillator_new();
14246
+ this.__wbg_ptr = ret;
14247
+ McClellanOscillatorFinalization.register(this, this.__wbg_ptr, this);
14248
+ return this;
14249
+ }
14250
+ reset() {
14251
+ wasm.mcclellanoscillator_reset(this.__wbg_ptr);
14252
+ }
14253
+ /**
14254
+ * @param {Float64Array} change
14255
+ * @param {Float64Array} volume
14256
+ * @param {Float64Array} new_high
14257
+ * @param {Float64Array} new_low
14258
+ * @returns {number | undefined}
14259
+ */
14260
+ update(change, volume, new_high, new_low) {
14261
+ try {
14262
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
14263
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
14264
+ const len0 = WASM_VECTOR_LEN;
14265
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
14266
+ const len1 = WASM_VECTOR_LEN;
14267
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
14268
+ const len2 = WASM_VECTOR_LEN;
14269
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
14270
+ const len3 = WASM_VECTOR_LEN;
14271
+ wasm.mcclellanoscillator_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
14272
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14273
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
14274
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
14275
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
14276
+ if (r5) {
14277
+ throw takeObject(r4);
14278
+ }
14279
+ return r0 === 0 ? undefined : r2;
14280
+ } finally {
14281
+ wasm.__wbindgen_add_to_stack_pointer(32);
14282
+ }
14283
+ }
14284
+ /**
14285
+ * @returns {number}
14286
+ */
14287
+ warmupPeriod() {
14288
+ const ret = wasm.mcclellanoscillator_warmupPeriod(this.__wbg_ptr);
14289
+ return ret >>> 0;
14290
+ }
14291
+ }
14292
+ if (Symbol.dispose) McClellanOscillator.prototype[Symbol.dispose] = McClellanOscillator.prototype.free;
14293
+
14294
+ export class McClellanSummationIndex {
14295
+ __destroy_into_raw() {
14296
+ const ptr = this.__wbg_ptr;
14297
+ this.__wbg_ptr = 0;
14298
+ McClellanSummationIndexFinalization.unregister(this);
14299
+ return ptr;
14300
+ }
14301
+ free() {
14302
+ const ptr = this.__destroy_into_raw();
14303
+ wasm.__wbg_mcclellansummationindex_free(ptr, 0);
14304
+ }
14305
+ /**
14306
+ * @returns {boolean}
14307
+ */
14308
+ isReady() {
14309
+ const ret = wasm.mcclellansummationindex_isReady(this.__wbg_ptr);
14310
+ return ret !== 0;
14311
+ }
14312
+ constructor() {
14313
+ const ret = wasm.mcclellansummationindex_new();
14314
+ this.__wbg_ptr = ret;
14315
+ McClellanSummationIndexFinalization.register(this, this.__wbg_ptr, this);
14316
+ return this;
14317
+ }
14318
+ reset() {
14319
+ wasm.mcclellansummationindex_reset(this.__wbg_ptr);
14320
+ }
14321
+ /**
14322
+ * @param {Float64Array} change
14323
+ * @param {Float64Array} volume
14324
+ * @param {Float64Array} new_high
14325
+ * @param {Float64Array} new_low
14326
+ * @returns {number | undefined}
14327
+ */
14328
+ update(change, volume, new_high, new_low) {
14329
+ try {
14330
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
14331
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
14332
+ const len0 = WASM_VECTOR_LEN;
14333
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
14334
+ const len1 = WASM_VECTOR_LEN;
14335
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
14336
+ const len2 = WASM_VECTOR_LEN;
14337
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
14338
+ const len3 = WASM_VECTOR_LEN;
14339
+ wasm.mcclellansummationindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
14340
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14341
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
14342
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
14343
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
14344
+ if (r5) {
14345
+ throw takeObject(r4);
14346
+ }
14347
+ return r0 === 0 ? undefined : r2;
14348
+ } finally {
14349
+ wasm.__wbindgen_add_to_stack_pointer(32);
14350
+ }
14351
+ }
14352
+ /**
14353
+ * @returns {number}
14354
+ */
14355
+ warmupPeriod() {
14356
+ const ret = wasm.mcclellansummationindex_warmupPeriod(this.__wbg_ptr);
14357
+ return ret >>> 0;
14358
+ }
14359
+ }
14360
+ if (Symbol.dispose) McClellanSummationIndex.prototype[Symbol.dispose] = McClellanSummationIndex.prototype.free;
14361
+
13719
14362
  export class McGinleyDynamic {
13720
14363
  __destroy_into_raw() {
13721
14364
  const ptr = this.__wbg_ptr;
@@ -14339,7 +14982,75 @@ export class NVI {
14339
14982
  }
14340
14983
  }
14341
14984
  }
14342
- if (Symbol.dispose) NVI.prototype[Symbol.dispose] = NVI.prototype.free;
14985
+ if (Symbol.dispose) NVI.prototype[Symbol.dispose] = NVI.prototype.free;
14986
+
14987
+ export class NewHighsNewLows {
14988
+ __destroy_into_raw() {
14989
+ const ptr = this.__wbg_ptr;
14990
+ this.__wbg_ptr = 0;
14991
+ NewHighsNewLowsFinalization.unregister(this);
14992
+ return ptr;
14993
+ }
14994
+ free() {
14995
+ const ptr = this.__destroy_into_raw();
14996
+ wasm.__wbg_newhighsnewlows_free(ptr, 0);
14997
+ }
14998
+ /**
14999
+ * @returns {boolean}
15000
+ */
15001
+ isReady() {
15002
+ const ret = wasm.newhighsnewlows_isReady(this.__wbg_ptr);
15003
+ return ret !== 0;
15004
+ }
15005
+ constructor() {
15006
+ const ret = wasm.newhighsnewlows_new();
15007
+ this.__wbg_ptr = ret;
15008
+ NewHighsNewLowsFinalization.register(this, this.__wbg_ptr, this);
15009
+ return this;
15010
+ }
15011
+ reset() {
15012
+ wasm.newhighsnewlows_reset(this.__wbg_ptr);
15013
+ }
15014
+ /**
15015
+ * @param {Float64Array} change
15016
+ * @param {Float64Array} volume
15017
+ * @param {Float64Array} new_high
15018
+ * @param {Float64Array} new_low
15019
+ * @returns {number | undefined}
15020
+ */
15021
+ update(change, volume, new_high, new_low) {
15022
+ try {
15023
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
15024
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
15025
+ const len0 = WASM_VECTOR_LEN;
15026
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
15027
+ const len1 = WASM_VECTOR_LEN;
15028
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
15029
+ const len2 = WASM_VECTOR_LEN;
15030
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
15031
+ const len3 = WASM_VECTOR_LEN;
15032
+ wasm.newhighsnewlows_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
15033
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
15034
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
15035
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
15036
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
15037
+ if (r5) {
15038
+ throw takeObject(r4);
15039
+ }
15040
+ return r0 === 0 ? undefined : r2;
15041
+ } finally {
15042
+ wasm.__wbindgen_add_to_stack_pointer(32);
15043
+ }
15044
+ }
15045
+ /**
15046
+ * @returns {number}
15047
+ */
15048
+ warmupPeriod() {
15049
+ const ret = wasm.newhighsnewlows_warmupPeriod(this.__wbg_ptr);
15050
+ return ret >>> 0;
15051
+ }
15052
+ }
15053
+ if (Symbol.dispose) NewHighsNewLows.prototype[Symbol.dispose] = NewHighsNewLows.prototype.free;
14343
15054
 
14344
15055
  export class OBV {
14345
15056
  __destroy_into_raw() {
@@ -16337,6 +17048,77 @@ export class PearsonCorrelation {
16337
17048
  }
16338
17049
  if (Symbol.dispose) PearsonCorrelation.prototype[Symbol.dispose] = PearsonCorrelation.prototype.free;
16339
17050
 
17051
+ export class PercentAboveMa {
17052
+ __destroy_into_raw() {
17053
+ const ptr = this.__wbg_ptr;
17054
+ this.__wbg_ptr = 0;
17055
+ PercentAboveMaFinalization.unregister(this);
17056
+ return ptr;
17057
+ }
17058
+ free() {
17059
+ const ptr = this.__destroy_into_raw();
17060
+ wasm.__wbg_percentabovema_free(ptr, 0);
17061
+ }
17062
+ /**
17063
+ * @returns {boolean}
17064
+ */
17065
+ isReady() {
17066
+ const ret = wasm.percentabovema_isReady(this.__wbg_ptr);
17067
+ return ret !== 0;
17068
+ }
17069
+ constructor() {
17070
+ const ret = wasm.percentabovema_new();
17071
+ this.__wbg_ptr = ret;
17072
+ PercentAboveMaFinalization.register(this, this.__wbg_ptr, this);
17073
+ return this;
17074
+ }
17075
+ reset() {
17076
+ wasm.percentabovema_reset(this.__wbg_ptr);
17077
+ }
17078
+ /**
17079
+ * @param {Float64Array} change
17080
+ * @param {Float64Array} volume
17081
+ * @param {Float64Array} new_high
17082
+ * @param {Float64Array} new_low
17083
+ * @param {Float64Array} above_ma
17084
+ * @returns {number | undefined}
17085
+ */
17086
+ update(change, volume, new_high, new_low, above_ma) {
17087
+ try {
17088
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
17089
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
17090
+ const len0 = WASM_VECTOR_LEN;
17091
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
17092
+ const len1 = WASM_VECTOR_LEN;
17093
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
17094
+ const len2 = WASM_VECTOR_LEN;
17095
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
17096
+ const len3 = WASM_VECTOR_LEN;
17097
+ const ptr4 = passArrayF64ToWasm0(above_ma, wasm.__wbindgen_export3);
17098
+ const len4 = WASM_VECTOR_LEN;
17099
+ wasm.percentabovema_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
17100
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
17101
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
17102
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
17103
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
17104
+ if (r5) {
17105
+ throw takeObject(r4);
17106
+ }
17107
+ return r0 === 0 ? undefined : r2;
17108
+ } finally {
17109
+ wasm.__wbindgen_add_to_stack_pointer(32);
17110
+ }
17111
+ }
17112
+ /**
17113
+ * @returns {number}
17114
+ */
17115
+ warmupPeriod() {
17116
+ const ret = wasm.percentabovema_warmupPeriod(this.__wbg_ptr);
17117
+ return ret >>> 0;
17118
+ }
17119
+ }
17120
+ if (Symbol.dispose) PercentAboveMa.prototype[Symbol.dispose] = PercentAboveMa.prototype.free;
17121
+
16340
17122
  export class PercentB {
16341
17123
  __destroy_into_raw() {
16342
17124
  const ptr = this.__wbg_ptr;
@@ -23518,6 +24300,74 @@ export class Thrusting {
23518
24300
  }
23519
24301
  if (Symbol.dispose) Thrusting.prototype[Symbol.dispose] = Thrusting.prototype.free;
23520
24302
 
24303
+ export class TickIndex {
24304
+ __destroy_into_raw() {
24305
+ const ptr = this.__wbg_ptr;
24306
+ this.__wbg_ptr = 0;
24307
+ TickIndexFinalization.unregister(this);
24308
+ return ptr;
24309
+ }
24310
+ free() {
24311
+ const ptr = this.__destroy_into_raw();
24312
+ wasm.__wbg_tickindex_free(ptr, 0);
24313
+ }
24314
+ /**
24315
+ * @returns {boolean}
24316
+ */
24317
+ isReady() {
24318
+ const ret = wasm.tickindex_isReady(this.__wbg_ptr);
24319
+ return ret !== 0;
24320
+ }
24321
+ constructor() {
24322
+ const ret = wasm.tickindex_new();
24323
+ this.__wbg_ptr = ret;
24324
+ TickIndexFinalization.register(this, this.__wbg_ptr, this);
24325
+ return this;
24326
+ }
24327
+ reset() {
24328
+ wasm.tickindex_reset(this.__wbg_ptr);
24329
+ }
24330
+ /**
24331
+ * @param {Float64Array} change
24332
+ * @param {Float64Array} volume
24333
+ * @param {Float64Array} new_high
24334
+ * @param {Float64Array} new_low
24335
+ * @returns {number | undefined}
24336
+ */
24337
+ update(change, volume, new_high, new_low) {
24338
+ try {
24339
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
24340
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
24341
+ const len0 = WASM_VECTOR_LEN;
24342
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
24343
+ const len1 = WASM_VECTOR_LEN;
24344
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
24345
+ const len2 = WASM_VECTOR_LEN;
24346
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
24347
+ const len3 = WASM_VECTOR_LEN;
24348
+ wasm.tickindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
24349
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
24350
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
24351
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
24352
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
24353
+ if (r5) {
24354
+ throw takeObject(r4);
24355
+ }
24356
+ return r0 === 0 ? undefined : r2;
24357
+ } finally {
24358
+ wasm.__wbindgen_add_to_stack_pointer(32);
24359
+ }
24360
+ }
24361
+ /**
24362
+ * @returns {number}
24363
+ */
24364
+ warmupPeriod() {
24365
+ const ret = wasm.tickindex_warmupPeriod(this.__wbg_ptr);
24366
+ return ret >>> 0;
24367
+ }
24368
+ }
24369
+ if (Symbol.dispose) TickIndex.prototype[Symbol.dispose] = TickIndex.prototype.free;
24370
+
23521
24371
  export class TpoProfile {
23522
24372
  __destroy_into_raw() {
23523
24373
  const ptr = this.__wbg_ptr;
@@ -23780,6 +24630,74 @@ export class TreynorRatio {
23780
24630
  }
23781
24631
  if (Symbol.dispose) TreynorRatio.prototype[Symbol.dispose] = TreynorRatio.prototype.free;
23782
24632
 
24633
+ export class Trin {
24634
+ __destroy_into_raw() {
24635
+ const ptr = this.__wbg_ptr;
24636
+ this.__wbg_ptr = 0;
24637
+ TrinFinalization.unregister(this);
24638
+ return ptr;
24639
+ }
24640
+ free() {
24641
+ const ptr = this.__destroy_into_raw();
24642
+ wasm.__wbg_trin_free(ptr, 0);
24643
+ }
24644
+ /**
24645
+ * @returns {boolean}
24646
+ */
24647
+ isReady() {
24648
+ const ret = wasm.trin_isReady(this.__wbg_ptr);
24649
+ return ret !== 0;
24650
+ }
24651
+ constructor() {
24652
+ const ret = wasm.trin_new();
24653
+ this.__wbg_ptr = ret;
24654
+ TrinFinalization.register(this, this.__wbg_ptr, this);
24655
+ return this;
24656
+ }
24657
+ reset() {
24658
+ wasm.trin_reset(this.__wbg_ptr);
24659
+ }
24660
+ /**
24661
+ * @param {Float64Array} change
24662
+ * @param {Float64Array} volume
24663
+ * @param {Float64Array} new_high
24664
+ * @param {Float64Array} new_low
24665
+ * @returns {number | undefined}
24666
+ */
24667
+ update(change, volume, new_high, new_low) {
24668
+ try {
24669
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
24670
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
24671
+ const len0 = WASM_VECTOR_LEN;
24672
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
24673
+ const len1 = WASM_VECTOR_LEN;
24674
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
24675
+ const len2 = WASM_VECTOR_LEN;
24676
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
24677
+ const len3 = WASM_VECTOR_LEN;
24678
+ wasm.trin_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
24679
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
24680
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
24681
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
24682
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
24683
+ if (r5) {
24684
+ throw takeObject(r4);
24685
+ }
24686
+ return r0 === 0 ? undefined : r2;
24687
+ } finally {
24688
+ wasm.__wbindgen_add_to_stack_pointer(32);
24689
+ }
24690
+ }
24691
+ /**
24692
+ * @returns {number}
24693
+ */
24694
+ warmupPeriod() {
24695
+ const ret = wasm.trin_warmupPeriod(this.__wbg_ptr);
24696
+ return ret >>> 0;
24697
+ }
24698
+ }
24699
+ if (Symbol.dispose) Trin.prototype[Symbol.dispose] = Trin.prototype.free;
24700
+
23783
24701
  export class TrueRange {
23784
24702
  __destroy_into_raw() {
23785
24703
  const ptr = this.__wbg_ptr;
@@ -24460,6 +25378,74 @@ export class UniqueThreeRiver {
24460
25378
  }
24461
25379
  if (Symbol.dispose) UniqueThreeRiver.prototype[Symbol.dispose] = UniqueThreeRiver.prototype.free;
24462
25380
 
25381
+ export class UpDownVolumeRatio {
25382
+ __destroy_into_raw() {
25383
+ const ptr = this.__wbg_ptr;
25384
+ this.__wbg_ptr = 0;
25385
+ UpDownVolumeRatioFinalization.unregister(this);
25386
+ return ptr;
25387
+ }
25388
+ free() {
25389
+ const ptr = this.__destroy_into_raw();
25390
+ wasm.__wbg_updownvolumeratio_free(ptr, 0);
25391
+ }
25392
+ /**
25393
+ * @returns {boolean}
25394
+ */
25395
+ isReady() {
25396
+ const ret = wasm.updownvolumeratio_isReady(this.__wbg_ptr);
25397
+ return ret !== 0;
25398
+ }
25399
+ constructor() {
25400
+ const ret = wasm.updownvolumeratio_new();
25401
+ this.__wbg_ptr = ret;
25402
+ UpDownVolumeRatioFinalization.register(this, this.__wbg_ptr, this);
25403
+ return this;
25404
+ }
25405
+ reset() {
25406
+ wasm.updownvolumeratio_reset(this.__wbg_ptr);
25407
+ }
25408
+ /**
25409
+ * @param {Float64Array} change
25410
+ * @param {Float64Array} volume
25411
+ * @param {Float64Array} new_high
25412
+ * @param {Float64Array} new_low
25413
+ * @returns {number | undefined}
25414
+ */
25415
+ update(change, volume, new_high, new_low) {
25416
+ try {
25417
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
25418
+ const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
25419
+ const len0 = WASM_VECTOR_LEN;
25420
+ const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
25421
+ const len1 = WASM_VECTOR_LEN;
25422
+ const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
25423
+ const len2 = WASM_VECTOR_LEN;
25424
+ const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
25425
+ const len3 = WASM_VECTOR_LEN;
25426
+ wasm.updownvolumeratio_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
25427
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
25428
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
25429
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
25430
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
25431
+ if (r5) {
25432
+ throw takeObject(r4);
25433
+ }
25434
+ return r0 === 0 ? undefined : r2;
25435
+ } finally {
25436
+ wasm.__wbindgen_add_to_stack_pointer(32);
25437
+ }
25438
+ }
25439
+ /**
25440
+ * @returns {number}
25441
+ */
25442
+ warmupPeriod() {
25443
+ const ret = wasm.updownvolumeratio_warmupPeriod(this.__wbg_ptr);
25444
+ return ret >>> 0;
25445
+ }
25446
+ }
25447
+ if (Symbol.dispose) UpDownVolumeRatio.prototype[Symbol.dispose] = UpDownVolumeRatio.prototype.free;
25448
+
24463
25449
  export class UpsideGapThreeMethods {
24464
25450
  __destroy_into_raw() {
24465
25451
  const ptr = this.__wbg_ptr;
@@ -27139,6 +28125,9 @@ export function __wbindgen_object_drop_ref(arg0) {
27139
28125
  const AbandonedBabyFinalization = (typeof FinalizationRegistry === 'undefined')
27140
28126
  ? { register: () => {}, unregister: () => {} }
27141
28127
  : new FinalizationRegistry(ptr => wasm.__wbg_abandonedbaby_free(ptr, 1));
28128
+ const AbsoluteBreadthIndexFinalization = (typeof FinalizationRegistry === 'undefined')
28129
+ ? { register: () => {}, unregister: () => {} }
28130
+ : new FinalizationRegistry(ptr => wasm.__wbg_absolutebreadthindex_free(ptr, 1));
27142
28131
  const AccelerationBandsFinalization = (typeof FinalizationRegistry === 'undefined')
27143
28132
  ? { register: () => {}, unregister: () => {} }
27144
28133
  : new FinalizationRegistry(ptr => wasm.__wbg_accelerationbands_free(ptr, 1));
@@ -27148,6 +28137,9 @@ const AcceleratorOscillatorFinalization = (typeof FinalizationRegistry === 'unde
27148
28137
  const WilliamsADFinalization = (typeof FinalizationRegistry === 'undefined')
27149
28138
  ? { register: () => {}, unregister: () => {} }
27150
28139
  : new FinalizationRegistry(ptr => wasm.__wbg_williamsad_free(ptr, 1));
28140
+ const AdVolumeLineFinalization = (typeof FinalizationRegistry === 'undefined')
28141
+ ? { register: () => {}, unregister: () => {} }
28142
+ : new FinalizationRegistry(ptr => wasm.__wbg_advolumeline_free(ptr, 1));
27151
28143
  const AdaptiveCycleFinalization = (typeof FinalizationRegistry === 'undefined')
27152
28144
  ? { register: () => {}, unregister: () => {} }
27153
28145
  : new FinalizationRegistry(ptr => wasm.__wbg_adaptivecycle_free(ptr, 1));
@@ -27160,6 +28152,9 @@ const AdvanceBlockFinalization = (typeof FinalizationRegistry === 'undefined')
27160
28152
  const AdvanceDeclineFinalization = (typeof FinalizationRegistry === 'undefined')
27161
28153
  ? { register: () => {}, unregister: () => {} }
27162
28154
  : new FinalizationRegistry(ptr => wasm.__wbg_advancedecline_free(ptr, 1));
28155
+ const AdvanceDeclineRatioFinalization = (typeof FinalizationRegistry === 'undefined')
28156
+ ? { register: () => {}, unregister: () => {} }
28157
+ : new FinalizationRegistry(ptr => wasm.__wbg_advancedeclineratio_free(ptr, 1));
27163
28158
  const ADXFinalization = (typeof FinalizationRegistry === 'undefined')
27164
28159
  ? { register: () => {}, unregister: () => {} }
27165
28160
  : new FinalizationRegistry(ptr => wasm.__wbg_adx_free(ptr, 1));
@@ -27232,9 +28227,15 @@ const BetaNeutralSpreadFinalization = (typeof FinalizationRegistry === 'undefine
27232
28227
  const BollingerBandwidthFinalization = (typeof FinalizationRegistry === 'undefined')
27233
28228
  ? { register: () => {}, unregister: () => {} }
27234
28229
  : new FinalizationRegistry(ptr => wasm.__wbg_bollingerbandwidth_free(ptr, 1));
28230
+ const BreadthThrustFinalization = (typeof FinalizationRegistry === 'undefined')
28231
+ ? { register: () => {}, unregister: () => {} }
28232
+ : new FinalizationRegistry(ptr => wasm.__wbg_breadththrust_free(ptr, 1));
27235
28233
  const BreakawayFinalization = (typeof FinalizationRegistry === 'undefined')
27236
28234
  ? { register: () => {}, unregister: () => {} }
27237
28235
  : new FinalizationRegistry(ptr => wasm.__wbg_breakaway_free(ptr, 1));
28236
+ const BullishPercentIndexFinalization = (typeof FinalizationRegistry === 'undefined')
28237
+ ? { register: () => {}, unregister: () => {} }
28238
+ : new FinalizationRegistry(ptr => wasm.__wbg_bullishpercentindex_free(ptr, 1));
27238
28239
  const CalendarSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
27239
28240
  ? { register: () => {}, unregister: () => {} }
27240
28241
  : new FinalizationRegistry(ptr => wasm.__wbg_calendarspread_free(ptr, 1));
@@ -27304,6 +28305,9 @@ const CounterattackFinalization = (typeof FinalizationRegistry === 'undefined')
27304
28305
  const CumulativeVolumeDeltaFinalization = (typeof FinalizationRegistry === 'undefined')
27305
28306
  ? { register: () => {}, unregister: () => {} }
27306
28307
  : new FinalizationRegistry(ptr => wasm.__wbg_cumulativevolumedelta_free(ptr, 1));
28308
+ const CumulativeVolumeIndexFinalization = (typeof FinalizationRegistry === 'undefined')
28309
+ ? { register: () => {}, unregister: () => {} }
28310
+ : new FinalizationRegistry(ptr => wasm.__wbg_cumulativevolumeindex_free(ptr, 1));
27307
28311
  const CyberneticCycleFinalization = (typeof FinalizationRegistry === 'undefined')
27308
28312
  ? { register: () => {}, unregister: () => {} }
27309
28313
  : new FinalizationRegistry(ptr => wasm.__wbg_cyberneticcycle_free(ptr, 1));
@@ -27454,6 +28458,9 @@ const HeikinAshiFinalization = (typeof FinalizationRegistry === 'undefined')
27454
28458
  const HiLoActivatorFinalization = (typeof FinalizationRegistry === 'undefined')
27455
28459
  ? { register: () => {}, unregister: () => {} }
27456
28460
  : new FinalizationRegistry(ptr => wasm.__wbg_hiloactivator_free(ptr, 1));
28461
+ const HighLowIndexFinalization = (typeof FinalizationRegistry === 'undefined')
28462
+ ? { register: () => {}, unregister: () => {} }
28463
+ : new FinalizationRegistry(ptr => wasm.__wbg_highlowindex_free(ptr, 1));
27457
28464
  const HighWaveFinalization = (typeof FinalizationRegistry === 'undefined')
27458
28465
  ? { register: () => {}, unregister: () => {} }
27459
28466
  : new FinalizationRegistry(ptr => wasm.__wbg_highwave_free(ptr, 1));
@@ -27622,6 +28629,12 @@ const MatchingLowFinalization = (typeof FinalizationRegistry === 'undefined')
27622
28629
  const MaxDrawdownFinalization = (typeof FinalizationRegistry === 'undefined')
27623
28630
  ? { register: () => {}, unregister: () => {} }
27624
28631
  : new FinalizationRegistry(ptr => wasm.__wbg_maxdrawdown_free(ptr, 1));
28632
+ const McClellanOscillatorFinalization = (typeof FinalizationRegistry === 'undefined')
28633
+ ? { register: () => {}, unregister: () => {} }
28634
+ : new FinalizationRegistry(ptr => wasm.__wbg_mcclellanoscillator_free(ptr, 1));
28635
+ const McClellanSummationIndexFinalization = (typeof FinalizationRegistry === 'undefined')
28636
+ ? { register: () => {}, unregister: () => {} }
28637
+ : new FinalizationRegistry(ptr => wasm.__wbg_mcclellansummationindex_free(ptr, 1));
27625
28638
  const McGinleyDynamicFinalization = (typeof FinalizationRegistry === 'undefined')
27626
28639
  ? { register: () => {}, unregister: () => {} }
27627
28640
  : new FinalizationRegistry(ptr => wasm.__wbg_mcginleydynamic_free(ptr, 1));
@@ -27661,6 +28674,9 @@ const MorningEveningStarFinalization = (typeof FinalizationRegistry === 'undefin
27661
28674
  const NATRFinalization = (typeof FinalizationRegistry === 'undefined')
27662
28675
  ? { register: () => {}, unregister: () => {} }
27663
28676
  : new FinalizationRegistry(ptr => wasm.__wbg_natr_free(ptr, 1));
28677
+ const NewHighsNewLowsFinalization = (typeof FinalizationRegistry === 'undefined')
28678
+ ? { register: () => {}, unregister: () => {} }
28679
+ : new FinalizationRegistry(ptr => wasm.__wbg_newhighsnewlows_free(ptr, 1));
27664
28680
  const NVIFinalization = (typeof FinalizationRegistry === 'undefined')
27665
28681
  ? { register: () => {}, unregister: () => {} }
27666
28682
  : new FinalizationRegistry(ptr => wasm.__wbg_nvi_free(ptr, 1));
@@ -27715,6 +28731,9 @@ const ParkinsonVolatilityFinalization = (typeof FinalizationRegistry === 'undefi
27715
28731
  const PearsonCorrelationFinalization = (typeof FinalizationRegistry === 'undefined')
27716
28732
  ? { register: () => {}, unregister: () => {} }
27717
28733
  : new FinalizationRegistry(ptr => wasm.__wbg_pearsoncorrelation_free(ptr, 1));
28734
+ const PercentAboveMaFinalization = (typeof FinalizationRegistry === 'undefined')
28735
+ ? { register: () => {}, unregister: () => {} }
28736
+ : new FinalizationRegistry(ptr => wasm.__wbg_percentabovema_free(ptr, 1));
27718
28737
  const PercentBFinalization = (typeof FinalizationRegistry === 'undefined')
27719
28738
  ? { register: () => {}, unregister: () => {} }
27720
28739
  : new FinalizationRegistry(ptr => wasm.__wbg_percentb_free(ptr, 1));
@@ -27973,6 +28992,9 @@ const ThreeStarsInSouthFinalization = (typeof FinalizationRegistry === 'undefine
27973
28992
  const ThrustingFinalization = (typeof FinalizationRegistry === 'undefined')
27974
28993
  ? { register: () => {}, unregister: () => {} }
27975
28994
  : new FinalizationRegistry(ptr => wasm.__wbg_thrusting_free(ptr, 1));
28995
+ const TickIndexFinalization = (typeof FinalizationRegistry === 'undefined')
28996
+ ? { register: () => {}, unregister: () => {} }
28997
+ : new FinalizationRegistry(ptr => wasm.__wbg_tickindex_free(ptr, 1));
27976
28998
  const TIIFinalization = (typeof FinalizationRegistry === 'undefined')
27977
28999
  ? { register: () => {}, unregister: () => {} }
27978
29000
  : new FinalizationRegistry(ptr => wasm.__wbg_tii_free(ptr, 1));
@@ -27988,6 +29010,9 @@ const TreynorRatioFinalization = (typeof FinalizationRegistry === 'undefined')
27988
29010
  const TRIMAFinalization = (typeof FinalizationRegistry === 'undefined')
27989
29011
  ? { register: () => {}, unregister: () => {} }
27990
29012
  : new FinalizationRegistry(ptr => wasm.__wbg_trima_free(ptr, 1));
29013
+ const TrinFinalization = (typeof FinalizationRegistry === 'undefined')
29014
+ ? { register: () => {}, unregister: () => {} }
29015
+ : new FinalizationRegistry(ptr => wasm.__wbg_trin_free(ptr, 1));
27991
29016
  const TRIXFinalization = (typeof FinalizationRegistry === 'undefined')
27992
29017
  ? { register: () => {}, unregister: () => {} }
27993
29018
  : new FinalizationRegistry(ptr => wasm.__wbg_trix_free(ptr, 1));
@@ -28024,6 +29049,9 @@ const UltimateOscillatorFinalization = (typeof FinalizationRegistry === 'undefin
28024
29049
  const UniqueThreeRiverFinalization = (typeof FinalizationRegistry === 'undefined')
28025
29050
  ? { register: () => {}, unregister: () => {} }
28026
29051
  : new FinalizationRegistry(ptr => wasm.__wbg_uniquethreeriver_free(ptr, 1));
29052
+ const UpDownVolumeRatioFinalization = (typeof FinalizationRegistry === 'undefined')
29053
+ ? { register: () => {}, unregister: () => {} }
29054
+ : new FinalizationRegistry(ptr => wasm.__wbg_updownvolumeratio_free(ptr, 1));
28027
29055
  const UpsideGapThreeMethodsFinalization = (typeof FinalizationRegistry === 'undefined')
28028
29056
  ? { register: () => {}, unregister: () => {} }
28029
29057
  : new FinalizationRegistry(ptr => wasm.__wbg_upsidegapthreemethods_free(ptr, 1));