wickra-wasm 0.6.7 → 0.6.9

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;
@@ -8808,6 +8907,106 @@ export class DrawdownDuration {
8808
8907
  }
8809
8908
  if (Symbol.dispose) DrawdownDuration.prototype[Symbol.dispose] = DrawdownDuration.prototype.free;
8810
8909
 
8910
+ export class DumplingTop {
8911
+ __destroy_into_raw() {
8912
+ const ptr = this.__wbg_ptr;
8913
+ this.__wbg_ptr = 0;
8914
+ DumplingTopFinalization.unregister(this);
8915
+ return ptr;
8916
+ }
8917
+ free() {
8918
+ const ptr = this.__destroy_into_raw();
8919
+ wasm.__wbg_dumplingtop_free(ptr, 0);
8920
+ }
8921
+ /**
8922
+ * @param {Float64Array} high
8923
+ * @param {Float64Array} low
8924
+ * @param {Float64Array} close
8925
+ * @returns {Float64Array}
8926
+ */
8927
+ batch(high, low, close) {
8928
+ try {
8929
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8930
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
8931
+ const len0 = WASM_VECTOR_LEN;
8932
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
8933
+ const len1 = WASM_VECTOR_LEN;
8934
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
8935
+ const len2 = WASM_VECTOR_LEN;
8936
+ wasm.dumplingtop_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
8937
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8938
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
8939
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
8940
+ if (r2) {
8941
+ throw takeObject(r1);
8942
+ }
8943
+ return takeObject(r0);
8944
+ } finally {
8945
+ wasm.__wbindgen_add_to_stack_pointer(16);
8946
+ }
8947
+ }
8948
+ /**
8949
+ * @returns {boolean}
8950
+ */
8951
+ isReady() {
8952
+ const ret = wasm.dumplingtop_isReady(this.__wbg_ptr);
8953
+ return ret !== 0;
8954
+ }
8955
+ /**
8956
+ * @param {number} period
8957
+ */
8958
+ constructor(period) {
8959
+ try {
8960
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8961
+ wasm.dumplingtop_new(retptr, period);
8962
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8963
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
8964
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
8965
+ if (r2) {
8966
+ throw takeObject(r1);
8967
+ }
8968
+ this.__wbg_ptr = r0;
8969
+ DumplingTopFinalization.register(this, this.__wbg_ptr, this);
8970
+ return this;
8971
+ } finally {
8972
+ wasm.__wbindgen_add_to_stack_pointer(16);
8973
+ }
8974
+ }
8975
+ reset() {
8976
+ wasm.dumplingtop_reset(this.__wbg_ptr);
8977
+ }
8978
+ /**
8979
+ * @param {number} high
8980
+ * @param {number} low
8981
+ * @param {number} close
8982
+ * @returns {number | undefined}
8983
+ */
8984
+ update(high, low, close) {
8985
+ try {
8986
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
8987
+ wasm.dumplingtop_update(retptr, this.__wbg_ptr, high, low, close);
8988
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8989
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
8990
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
8991
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
8992
+ if (r5) {
8993
+ throw takeObject(r4);
8994
+ }
8995
+ return r0 === 0 ? undefined : r2;
8996
+ } finally {
8997
+ wasm.__wbindgen_add_to_stack_pointer(32);
8998
+ }
8999
+ }
9000
+ /**
9001
+ * @returns {number}
9002
+ */
9003
+ warmupPeriod() {
9004
+ const ret = wasm.dumplingtop_warmupPeriod(this.__wbg_ptr);
9005
+ return ret >>> 0;
9006
+ }
9007
+ }
9008
+ if (Symbol.dispose) DumplingTop.prototype[Symbol.dispose] = DumplingTop.prototype.free;
9009
+
8811
9010
  export class DynamicMomentumIndex {
8812
9011
  __destroy_into_raw() {
8813
9012
  const ptr = this.__wbg_ptr;
@@ -9868,6 +10067,105 @@ export class Engulfing {
9868
10067
  }
9869
10068
  if (Symbol.dispose) Engulfing.prototype[Symbol.dispose] = Engulfing.prototype.free;
9870
10069
 
10070
+ export class Equivolume {
10071
+ __destroy_into_raw() {
10072
+ const ptr = this.__wbg_ptr;
10073
+ this.__wbg_ptr = 0;
10074
+ EquivolumeFinalization.unregister(this);
10075
+ return ptr;
10076
+ }
10077
+ free() {
10078
+ const ptr = this.__destroy_into_raw();
10079
+ wasm.__wbg_equivolume_free(ptr, 0);
10080
+ }
10081
+ /**
10082
+ * @param {Float64Array} high
10083
+ * @param {Float64Array} low
10084
+ * @param {Float64Array} volume
10085
+ * @returns {Float64Array}
10086
+ */
10087
+ batch(high, low, volume) {
10088
+ try {
10089
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10090
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
10091
+ const len0 = WASM_VECTOR_LEN;
10092
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
10093
+ const len1 = WASM_VECTOR_LEN;
10094
+ const ptr2 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
10095
+ const len2 = WASM_VECTOR_LEN;
10096
+ wasm.equivolume_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
10097
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10098
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10099
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10100
+ if (r2) {
10101
+ throw takeObject(r1);
10102
+ }
10103
+ return takeObject(r0);
10104
+ } finally {
10105
+ wasm.__wbindgen_add_to_stack_pointer(16);
10106
+ }
10107
+ }
10108
+ /**
10109
+ * @returns {boolean}
10110
+ */
10111
+ isReady() {
10112
+ const ret = wasm.equivolume_isReady(this.__wbg_ptr);
10113
+ return ret !== 0;
10114
+ }
10115
+ /**
10116
+ * @param {number} period
10117
+ */
10118
+ constructor(period) {
10119
+ try {
10120
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10121
+ wasm.equivolume_new(retptr, period);
10122
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10123
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10124
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10125
+ if (r2) {
10126
+ throw takeObject(r1);
10127
+ }
10128
+ this.__wbg_ptr = r0;
10129
+ EquivolumeFinalization.register(this, this.__wbg_ptr, this);
10130
+ return this;
10131
+ } finally {
10132
+ wasm.__wbindgen_add_to_stack_pointer(16);
10133
+ }
10134
+ }
10135
+ reset() {
10136
+ wasm.equivolume_reset(this.__wbg_ptr);
10137
+ }
10138
+ /**
10139
+ * @param {number} high
10140
+ * @param {number} low
10141
+ * @param {number} volume
10142
+ * @returns {any}
10143
+ */
10144
+ update(high, low, volume) {
10145
+ try {
10146
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10147
+ wasm.equivolume_update(retptr, this.__wbg_ptr, high, low, volume);
10148
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10149
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10150
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10151
+ if (r2) {
10152
+ throw takeObject(r1);
10153
+ }
10154
+ return takeObject(r0);
10155
+ } finally {
10156
+ wasm.__wbindgen_add_to_stack_pointer(16);
10157
+ }
10158
+ }
10159
+ /**
10160
+ * @returns {number}
10161
+ */
10162
+ warmupPeriod() {
10163
+ const ret = wasm.equivolume_warmupPeriod(this.__wbg_ptr);
10164
+ return ret >>> 0;
10165
+ }
10166
+ }
10167
+ if (Symbol.dispose) Equivolume.prototype[Symbol.dispose] = Equivolume.prototype.free;
10168
+
9871
10169
  export class EveningDojiStar {
9872
10170
  __destroy_into_raw() {
9873
10171
  const ptr = this.__wbg_ptr;
@@ -11578,6 +11876,106 @@ export class FractalChaosBands {
11578
11876
  }
11579
11877
  if (Symbol.dispose) FractalChaosBands.prototype[Symbol.dispose] = FractalChaosBands.prototype.free;
11580
11878
 
11879
+ export class FryPanBottom {
11880
+ __destroy_into_raw() {
11881
+ const ptr = this.__wbg_ptr;
11882
+ this.__wbg_ptr = 0;
11883
+ FryPanBottomFinalization.unregister(this);
11884
+ return ptr;
11885
+ }
11886
+ free() {
11887
+ const ptr = this.__destroy_into_raw();
11888
+ wasm.__wbg_frypanbottom_free(ptr, 0);
11889
+ }
11890
+ /**
11891
+ * @param {Float64Array} high
11892
+ * @param {Float64Array} low
11893
+ * @param {Float64Array} close
11894
+ * @returns {Float64Array}
11895
+ */
11896
+ batch(high, low, close) {
11897
+ try {
11898
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11899
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
11900
+ const len0 = WASM_VECTOR_LEN;
11901
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
11902
+ const len1 = WASM_VECTOR_LEN;
11903
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
11904
+ const len2 = WASM_VECTOR_LEN;
11905
+ wasm.frypanbottom_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
11906
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11907
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
11908
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
11909
+ if (r2) {
11910
+ throw takeObject(r1);
11911
+ }
11912
+ return takeObject(r0);
11913
+ } finally {
11914
+ wasm.__wbindgen_add_to_stack_pointer(16);
11915
+ }
11916
+ }
11917
+ /**
11918
+ * @returns {boolean}
11919
+ */
11920
+ isReady() {
11921
+ const ret = wasm.frypanbottom_isReady(this.__wbg_ptr);
11922
+ return ret !== 0;
11923
+ }
11924
+ /**
11925
+ * @param {number} period
11926
+ */
11927
+ constructor(period) {
11928
+ try {
11929
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11930
+ wasm.frypanbottom_new(retptr, period);
11931
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11932
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
11933
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
11934
+ if (r2) {
11935
+ throw takeObject(r1);
11936
+ }
11937
+ this.__wbg_ptr = r0;
11938
+ FryPanBottomFinalization.register(this, this.__wbg_ptr, this);
11939
+ return this;
11940
+ } finally {
11941
+ wasm.__wbindgen_add_to_stack_pointer(16);
11942
+ }
11943
+ }
11944
+ reset() {
11945
+ wasm.frypanbottom_reset(this.__wbg_ptr);
11946
+ }
11947
+ /**
11948
+ * @param {number} high
11949
+ * @param {number} low
11950
+ * @param {number} close
11951
+ * @returns {number | undefined}
11952
+ */
11953
+ update(high, low, close) {
11954
+ try {
11955
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
11956
+ wasm.frypanbottom_update(retptr, this.__wbg_ptr, high, low, close);
11957
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11958
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
11959
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
11960
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
11961
+ if (r5) {
11962
+ throw takeObject(r4);
11963
+ }
11964
+ return r0 === 0 ? undefined : r2;
11965
+ } finally {
11966
+ wasm.__wbindgen_add_to_stack_pointer(32);
11967
+ }
11968
+ }
11969
+ /**
11970
+ * @returns {number}
11971
+ */
11972
+ warmupPeriod() {
11973
+ const ret = wasm.frypanbottom_warmupPeriod(this.__wbg_ptr);
11974
+ return ret >>> 0;
11975
+ }
11976
+ }
11977
+ if (Symbol.dispose) FryPanBottom.prototype[Symbol.dispose] = FryPanBottom.prototype.free;
11978
+
11581
11979
  export class FundingBasis {
11582
11980
  __destroy_into_raw() {
11583
11981
  const ptr = this.__wbg_ptr;
@@ -13383,6 +13781,96 @@ export class Harami {
13383
13781
  }
13384
13782
  if (Symbol.dispose) Harami.prototype[Symbol.dispose] = Harami.prototype.free;
13385
13783
 
13784
+ export class HaramiCross {
13785
+ __destroy_into_raw() {
13786
+ const ptr = this.__wbg_ptr;
13787
+ this.__wbg_ptr = 0;
13788
+ HaramiCrossFinalization.unregister(this);
13789
+ return ptr;
13790
+ }
13791
+ free() {
13792
+ const ptr = this.__destroy_into_raw();
13793
+ wasm.__wbg_haramicross_free(ptr, 0);
13794
+ }
13795
+ /**
13796
+ * @param {Float64Array} open
13797
+ * @param {Float64Array} high
13798
+ * @param {Float64Array} low
13799
+ * @param {Float64Array} close
13800
+ * @returns {Float64Array}
13801
+ */
13802
+ batch(open, high, low, close) {
13803
+ try {
13804
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
13805
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
13806
+ const len0 = WASM_VECTOR_LEN;
13807
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
13808
+ const len1 = WASM_VECTOR_LEN;
13809
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
13810
+ const len2 = WASM_VECTOR_LEN;
13811
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
13812
+ const len3 = WASM_VECTOR_LEN;
13813
+ wasm.haramicross_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
13814
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13815
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
13816
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
13817
+ if (r2) {
13818
+ throw takeObject(r1);
13819
+ }
13820
+ return takeObject(r0);
13821
+ } finally {
13822
+ wasm.__wbindgen_add_to_stack_pointer(16);
13823
+ }
13824
+ }
13825
+ /**
13826
+ * @returns {boolean}
13827
+ */
13828
+ isReady() {
13829
+ const ret = wasm.haramicross_isReady(this.__wbg_ptr);
13830
+ return ret !== 0;
13831
+ }
13832
+ constructor() {
13833
+ const ret = wasm.haramicross_new();
13834
+ this.__wbg_ptr = ret;
13835
+ HaramiCrossFinalization.register(this, this.__wbg_ptr, this);
13836
+ return this;
13837
+ }
13838
+ reset() {
13839
+ wasm.haramicross_reset(this.__wbg_ptr);
13840
+ }
13841
+ /**
13842
+ * @param {number} open
13843
+ * @param {number} high
13844
+ * @param {number} low
13845
+ * @param {number} close
13846
+ * @returns {number | undefined}
13847
+ */
13848
+ update(open, high, low, close) {
13849
+ try {
13850
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
13851
+ wasm.haramicross_update(retptr, this.__wbg_ptr, open, high, low, close);
13852
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13853
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
13854
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
13855
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
13856
+ if (r5) {
13857
+ throw takeObject(r4);
13858
+ }
13859
+ return r0 === 0 ? undefined : r2;
13860
+ } finally {
13861
+ wasm.__wbindgen_add_to_stack_pointer(32);
13862
+ }
13863
+ }
13864
+ /**
13865
+ * @returns {number}
13866
+ */
13867
+ warmupPeriod() {
13868
+ const ret = wasm.haramicross_warmupPeriod(this.__wbg_ptr);
13869
+ return ret >>> 0;
13870
+ }
13871
+ }
13872
+ if (Symbol.dispose) HaramiCross.prototype[Symbol.dispose] = HaramiCross.prototype.free;
13873
+
13386
13874
  export class HeadAndShoulders {
13387
13875
  __destroy_into_raw() {
13388
13876
  const ptr = this.__wbg_ptr;
@@ -13565,6 +14053,110 @@ export class HeikinAshi {
13565
14053
  }
13566
14054
  if (Symbol.dispose) HeikinAshi.prototype[Symbol.dispose] = HeikinAshi.prototype.free;
13567
14055
 
14056
+ export class HeikinAshiOscillator {
14057
+ __destroy_into_raw() {
14058
+ const ptr = this.__wbg_ptr;
14059
+ this.__wbg_ptr = 0;
14060
+ HeikinAshiOscillatorFinalization.unregister(this);
14061
+ return ptr;
14062
+ }
14063
+ free() {
14064
+ const ptr = this.__destroy_into_raw();
14065
+ wasm.__wbg_heikinashioscillator_free(ptr, 0);
14066
+ }
14067
+ /**
14068
+ * @param {Float64Array} open
14069
+ * @param {Float64Array} high
14070
+ * @param {Float64Array} low
14071
+ * @param {Float64Array} close
14072
+ * @returns {Float64Array}
14073
+ */
14074
+ batch(open, high, low, close) {
14075
+ try {
14076
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
14077
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
14078
+ const len0 = WASM_VECTOR_LEN;
14079
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
14080
+ const len1 = WASM_VECTOR_LEN;
14081
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
14082
+ const len2 = WASM_VECTOR_LEN;
14083
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
14084
+ const len3 = WASM_VECTOR_LEN;
14085
+ wasm.heikinashioscillator_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
14086
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14087
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
14088
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
14089
+ if (r2) {
14090
+ throw takeObject(r1);
14091
+ }
14092
+ return takeObject(r0);
14093
+ } finally {
14094
+ wasm.__wbindgen_add_to_stack_pointer(16);
14095
+ }
14096
+ }
14097
+ /**
14098
+ * @returns {boolean}
14099
+ */
14100
+ isReady() {
14101
+ const ret = wasm.heikinashioscillator_isReady(this.__wbg_ptr);
14102
+ return ret !== 0;
14103
+ }
14104
+ /**
14105
+ * @param {number} period
14106
+ */
14107
+ constructor(period) {
14108
+ try {
14109
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
14110
+ wasm.heikinashioscillator_new(retptr, period);
14111
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14112
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
14113
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
14114
+ if (r2) {
14115
+ throw takeObject(r1);
14116
+ }
14117
+ this.__wbg_ptr = r0;
14118
+ HeikinAshiOscillatorFinalization.register(this, this.__wbg_ptr, this);
14119
+ return this;
14120
+ } finally {
14121
+ wasm.__wbindgen_add_to_stack_pointer(16);
14122
+ }
14123
+ }
14124
+ reset() {
14125
+ wasm.heikinashioscillator_reset(this.__wbg_ptr);
14126
+ }
14127
+ /**
14128
+ * @param {number} open
14129
+ * @param {number} high
14130
+ * @param {number} low
14131
+ * @param {number} close
14132
+ * @returns {number | undefined}
14133
+ */
14134
+ update(open, high, low, close) {
14135
+ try {
14136
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
14137
+ wasm.heikinashioscillator_update(retptr, this.__wbg_ptr, open, high, low, close);
14138
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14139
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
14140
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
14141
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
14142
+ if (r5) {
14143
+ throw takeObject(r4);
14144
+ }
14145
+ return r0 === 0 ? undefined : r2;
14146
+ } finally {
14147
+ wasm.__wbindgen_add_to_stack_pointer(32);
14148
+ }
14149
+ }
14150
+ /**
14151
+ * @returns {number}
14152
+ */
14153
+ warmupPeriod() {
14154
+ const ret = wasm.heikinashioscillator_warmupPeriod(this.__wbg_ptr);
14155
+ return ret >>> 0;
14156
+ }
14157
+ }
14158
+ if (Symbol.dispose) HeikinAshiOscillator.prototype[Symbol.dispose] = HeikinAshiOscillator.prototype.free;
14159
+
13568
14160
  export class HiLoActivator {
13569
14161
  __destroy_into_raw() {
13570
14162
  const ptr = this.__wbg_ptr;
@@ -20687,6 +21279,106 @@ export class NewHighsNewLows {
20687
21279
  }
20688
21280
  if (Symbol.dispose) NewHighsNewLows.prototype[Symbol.dispose] = NewHighsNewLows.prototype.free;
20689
21281
 
21282
+ export class NewPriceLines {
21283
+ __destroy_into_raw() {
21284
+ const ptr = this.__wbg_ptr;
21285
+ this.__wbg_ptr = 0;
21286
+ NewPriceLinesFinalization.unregister(this);
21287
+ return ptr;
21288
+ }
21289
+ free() {
21290
+ const ptr = this.__destroy_into_raw();
21291
+ wasm.__wbg_newpricelines_free(ptr, 0);
21292
+ }
21293
+ /**
21294
+ * @param {Float64Array} high
21295
+ * @param {Float64Array} low
21296
+ * @param {Float64Array} close
21297
+ * @returns {Float64Array}
21298
+ */
21299
+ batch(high, low, close) {
21300
+ try {
21301
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21302
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
21303
+ const len0 = WASM_VECTOR_LEN;
21304
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
21305
+ const len1 = WASM_VECTOR_LEN;
21306
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
21307
+ const len2 = WASM_VECTOR_LEN;
21308
+ wasm.newpricelines_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
21309
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21310
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
21311
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
21312
+ if (r2) {
21313
+ throw takeObject(r1);
21314
+ }
21315
+ return takeObject(r0);
21316
+ } finally {
21317
+ wasm.__wbindgen_add_to_stack_pointer(16);
21318
+ }
21319
+ }
21320
+ /**
21321
+ * @returns {boolean}
21322
+ */
21323
+ isReady() {
21324
+ const ret = wasm.newpricelines_isReady(this.__wbg_ptr);
21325
+ return ret !== 0;
21326
+ }
21327
+ /**
21328
+ * @param {number} count
21329
+ */
21330
+ constructor(count) {
21331
+ try {
21332
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21333
+ wasm.newpricelines_new(retptr, count);
21334
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21335
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
21336
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
21337
+ if (r2) {
21338
+ throw takeObject(r1);
21339
+ }
21340
+ this.__wbg_ptr = r0;
21341
+ NewPriceLinesFinalization.register(this, this.__wbg_ptr, this);
21342
+ return this;
21343
+ } finally {
21344
+ wasm.__wbindgen_add_to_stack_pointer(16);
21345
+ }
21346
+ }
21347
+ reset() {
21348
+ wasm.newpricelines_reset(this.__wbg_ptr);
21349
+ }
21350
+ /**
21351
+ * @param {number} high
21352
+ * @param {number} low
21353
+ * @param {number} close
21354
+ * @returns {number | undefined}
21355
+ */
21356
+ update(high, low, close) {
21357
+ try {
21358
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
21359
+ wasm.newpricelines_update(retptr, this.__wbg_ptr, high, low, close);
21360
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21361
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
21362
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
21363
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
21364
+ if (r5) {
21365
+ throw takeObject(r4);
21366
+ }
21367
+ return r0 === 0 ? undefined : r2;
21368
+ } finally {
21369
+ wasm.__wbindgen_add_to_stack_pointer(32);
21370
+ }
21371
+ }
21372
+ /**
21373
+ * @returns {number}
21374
+ */
21375
+ warmupPeriod() {
21376
+ const ret = wasm.newpricelines_warmupPeriod(this.__wbg_ptr);
21377
+ return ret >>> 0;
21378
+ }
21379
+ }
21380
+ if (Symbol.dispose) NewPriceLines.prototype[Symbol.dispose] = NewPriceLines.prototype.free;
21381
+
20690
21382
  export class Nrtr {
20691
21383
  __destroy_into_raw() {
20692
21384
  const ptr = this.__wbg_ptr;
@@ -28375,6 +29067,109 @@ export class Skewness {
28375
29067
  }
28376
29068
  if (Symbol.dispose) Skewness.prototype[Symbol.dispose] = Skewness.prototype.free;
28377
29069
 
29070
+ export class SmoothedHeikinAshi {
29071
+ __destroy_into_raw() {
29072
+ const ptr = this.__wbg_ptr;
29073
+ this.__wbg_ptr = 0;
29074
+ SmoothedHeikinAshiFinalization.unregister(this);
29075
+ return ptr;
29076
+ }
29077
+ free() {
29078
+ const ptr = this.__destroy_into_raw();
29079
+ wasm.__wbg_smoothedheikinashi_free(ptr, 0);
29080
+ }
29081
+ /**
29082
+ * @param {Float64Array} open
29083
+ * @param {Float64Array} high
29084
+ * @param {Float64Array} low
29085
+ * @param {Float64Array} close
29086
+ * @returns {Float64Array}
29087
+ */
29088
+ batch(open, high, low, close) {
29089
+ try {
29090
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
29091
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
29092
+ const len0 = WASM_VECTOR_LEN;
29093
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
29094
+ const len1 = WASM_VECTOR_LEN;
29095
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
29096
+ const len2 = WASM_VECTOR_LEN;
29097
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
29098
+ const len3 = WASM_VECTOR_LEN;
29099
+ wasm.smoothedheikinashi_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
29100
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
29101
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
29102
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
29103
+ if (r2) {
29104
+ throw takeObject(r1);
29105
+ }
29106
+ return takeObject(r0);
29107
+ } finally {
29108
+ wasm.__wbindgen_add_to_stack_pointer(16);
29109
+ }
29110
+ }
29111
+ /**
29112
+ * @returns {boolean}
29113
+ */
29114
+ isReady() {
29115
+ const ret = wasm.smoothedheikinashi_isReady(this.__wbg_ptr);
29116
+ return ret !== 0;
29117
+ }
29118
+ /**
29119
+ * @param {number} period
29120
+ */
29121
+ constructor(period) {
29122
+ try {
29123
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
29124
+ wasm.smoothedheikinashi_new(retptr, period);
29125
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
29126
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
29127
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
29128
+ if (r2) {
29129
+ throw takeObject(r1);
29130
+ }
29131
+ this.__wbg_ptr = r0;
29132
+ SmoothedHeikinAshiFinalization.register(this, this.__wbg_ptr, this);
29133
+ return this;
29134
+ } finally {
29135
+ wasm.__wbindgen_add_to_stack_pointer(16);
29136
+ }
29137
+ }
29138
+ reset() {
29139
+ wasm.smoothedheikinashi_reset(this.__wbg_ptr);
29140
+ }
29141
+ /**
29142
+ * @param {number} open
29143
+ * @param {number} high
29144
+ * @param {number} low
29145
+ * @param {number} close
29146
+ * @returns {any}
29147
+ */
29148
+ update(open, high, low, close) {
29149
+ try {
29150
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
29151
+ wasm.smoothedheikinashi_update(retptr, this.__wbg_ptr, open, high, low, close);
29152
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
29153
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
29154
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
29155
+ if (r2) {
29156
+ throw takeObject(r1);
29157
+ }
29158
+ return takeObject(r0);
29159
+ } finally {
29160
+ wasm.__wbindgen_add_to_stack_pointer(16);
29161
+ }
29162
+ }
29163
+ /**
29164
+ * @returns {number}
29165
+ */
29166
+ warmupPeriod() {
29167
+ const ret = wasm.smoothedheikinashi_warmupPeriod(this.__wbg_ptr);
29168
+ return ret >>> 0;
29169
+ }
29170
+ }
29171
+ if (Symbol.dispose) SmoothedHeikinAshi.prototype[Symbol.dispose] = SmoothedHeikinAshi.prototype.free;
29172
+
28378
29173
  export class SortinoRatio {
28379
29174
  __destroy_into_raw() {
28380
29175
  const ptr = this.__wbg_ptr;
@@ -33064,6 +33859,106 @@ export class ThreeInside {
33064
33859
  }
33065
33860
  if (Symbol.dispose) ThreeInside.prototype[Symbol.dispose] = ThreeInside.prototype.free;
33066
33861
 
33862
+ export class ThreeLineBreak {
33863
+ __destroy_into_raw() {
33864
+ const ptr = this.__wbg_ptr;
33865
+ this.__wbg_ptr = 0;
33866
+ ThreeLineBreakFinalization.unregister(this);
33867
+ return ptr;
33868
+ }
33869
+ free() {
33870
+ const ptr = this.__destroy_into_raw();
33871
+ wasm.__wbg_threelinebreak_free(ptr, 0);
33872
+ }
33873
+ /**
33874
+ * @param {Float64Array} high
33875
+ * @param {Float64Array} low
33876
+ * @param {Float64Array} close
33877
+ * @returns {Float64Array}
33878
+ */
33879
+ batch(high, low, close) {
33880
+ try {
33881
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
33882
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
33883
+ const len0 = WASM_VECTOR_LEN;
33884
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
33885
+ const len1 = WASM_VECTOR_LEN;
33886
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
33887
+ const len2 = WASM_VECTOR_LEN;
33888
+ wasm.threelinebreak_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
33889
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
33890
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
33891
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
33892
+ if (r2) {
33893
+ throw takeObject(r1);
33894
+ }
33895
+ return takeObject(r0);
33896
+ } finally {
33897
+ wasm.__wbindgen_add_to_stack_pointer(16);
33898
+ }
33899
+ }
33900
+ /**
33901
+ * @returns {boolean}
33902
+ */
33903
+ isReady() {
33904
+ const ret = wasm.threelinebreak_isReady(this.__wbg_ptr);
33905
+ return ret !== 0;
33906
+ }
33907
+ /**
33908
+ * @param {number} lines
33909
+ */
33910
+ constructor(lines) {
33911
+ try {
33912
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
33913
+ wasm.threelinebreak_new(retptr, lines);
33914
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
33915
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
33916
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
33917
+ if (r2) {
33918
+ throw takeObject(r1);
33919
+ }
33920
+ this.__wbg_ptr = r0;
33921
+ ThreeLineBreakFinalization.register(this, this.__wbg_ptr, this);
33922
+ return this;
33923
+ } finally {
33924
+ wasm.__wbindgen_add_to_stack_pointer(16);
33925
+ }
33926
+ }
33927
+ reset() {
33928
+ wasm.threelinebreak_reset(this.__wbg_ptr);
33929
+ }
33930
+ /**
33931
+ * @param {number} high
33932
+ * @param {number} low
33933
+ * @param {number} close
33934
+ * @returns {number | undefined}
33935
+ */
33936
+ update(high, low, close) {
33937
+ try {
33938
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
33939
+ wasm.threelinebreak_update(retptr, this.__wbg_ptr, high, low, close);
33940
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
33941
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
33942
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
33943
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
33944
+ if (r5) {
33945
+ throw takeObject(r4);
33946
+ }
33947
+ return r0 === 0 ? undefined : r2;
33948
+ } finally {
33949
+ wasm.__wbindgen_add_to_stack_pointer(32);
33950
+ }
33951
+ }
33952
+ /**
33953
+ * @returns {number}
33954
+ */
33955
+ warmupPeriod() {
33956
+ const ret = wasm.threelinebreak_warmupPeriod(this.__wbg_ptr);
33957
+ return ret >>> 0;
33958
+ }
33959
+ }
33960
+ if (Symbol.dispose) ThreeLineBreak.prototype[Symbol.dispose] = ThreeLineBreak.prototype.free;
33961
+
33067
33962
  export class ThreeLineStrike {
33068
33963
  __destroy_into_raw() {
33069
33964
  const ptr = this.__wbg_ptr;
@@ -33751,6 +34646,96 @@ export class TimeOfDayReturnProfile {
33751
34646
  }
33752
34647
  if (Symbol.dispose) TimeOfDayReturnProfile.prototype[Symbol.dispose] = TimeOfDayReturnProfile.prototype.free;
33753
34648
 
34649
+ export class TowerTopBottom {
34650
+ __destroy_into_raw() {
34651
+ const ptr = this.__wbg_ptr;
34652
+ this.__wbg_ptr = 0;
34653
+ TowerTopBottomFinalization.unregister(this);
34654
+ return ptr;
34655
+ }
34656
+ free() {
34657
+ const ptr = this.__destroy_into_raw();
34658
+ wasm.__wbg_towertopbottom_free(ptr, 0);
34659
+ }
34660
+ /**
34661
+ * @param {Float64Array} open
34662
+ * @param {Float64Array} high
34663
+ * @param {Float64Array} low
34664
+ * @param {Float64Array} close
34665
+ * @returns {Float64Array}
34666
+ */
34667
+ batch(open, high, low, close) {
34668
+ try {
34669
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
34670
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
34671
+ const len0 = WASM_VECTOR_LEN;
34672
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
34673
+ const len1 = WASM_VECTOR_LEN;
34674
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
34675
+ const len2 = WASM_VECTOR_LEN;
34676
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
34677
+ const len3 = WASM_VECTOR_LEN;
34678
+ wasm.towertopbottom_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
34679
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
34680
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
34681
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
34682
+ if (r2) {
34683
+ throw takeObject(r1);
34684
+ }
34685
+ return takeObject(r0);
34686
+ } finally {
34687
+ wasm.__wbindgen_add_to_stack_pointer(16);
34688
+ }
34689
+ }
34690
+ /**
34691
+ * @returns {boolean}
34692
+ */
34693
+ isReady() {
34694
+ const ret = wasm.towertopbottom_isReady(this.__wbg_ptr);
34695
+ return ret !== 0;
34696
+ }
34697
+ constructor() {
34698
+ const ret = wasm.towertopbottom_new();
34699
+ this.__wbg_ptr = ret;
34700
+ TowerTopBottomFinalization.register(this, this.__wbg_ptr, this);
34701
+ return this;
34702
+ }
34703
+ reset() {
34704
+ wasm.towertopbottom_reset(this.__wbg_ptr);
34705
+ }
34706
+ /**
34707
+ * @param {number} open
34708
+ * @param {number} high
34709
+ * @param {number} low
34710
+ * @param {number} close
34711
+ * @returns {number | undefined}
34712
+ */
34713
+ update(open, high, low, close) {
34714
+ try {
34715
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
34716
+ wasm.towertopbottom_update(retptr, this.__wbg_ptr, open, high, low, close);
34717
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
34718
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
34719
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
34720
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
34721
+ if (r5) {
34722
+ throw takeObject(r4);
34723
+ }
34724
+ return r0 === 0 ? undefined : r2;
34725
+ } finally {
34726
+ wasm.__wbindgen_add_to_stack_pointer(32);
34727
+ }
34728
+ }
34729
+ /**
34730
+ * @returns {number}
34731
+ */
34732
+ warmupPeriod() {
34733
+ const ret = wasm.towertopbottom_warmupPeriod(this.__wbg_ptr);
34734
+ return ret >>> 0;
34735
+ }
34736
+ }
34737
+ if (Symbol.dispose) TowerTopBottom.prototype[Symbol.dispose] = TowerTopBottom.prototype.free;
34738
+
33754
34739
  export class TpoProfile {
33755
34740
  __destroy_into_raw() {
33756
34741
  const ptr = this.__wbg_ptr;
@@ -34433,6 +35418,96 @@ export class TripleTopBottom {
34433
35418
  }
34434
35419
  if (Symbol.dispose) TripleTopBottom.prototype[Symbol.dispose] = TripleTopBottom.prototype.free;
34435
35420
 
35421
+ export class Tristar {
35422
+ __destroy_into_raw() {
35423
+ const ptr = this.__wbg_ptr;
35424
+ this.__wbg_ptr = 0;
35425
+ TristarFinalization.unregister(this);
35426
+ return ptr;
35427
+ }
35428
+ free() {
35429
+ const ptr = this.__destroy_into_raw();
35430
+ wasm.__wbg_tristar_free(ptr, 0);
35431
+ }
35432
+ /**
35433
+ * @param {Float64Array} open
35434
+ * @param {Float64Array} high
35435
+ * @param {Float64Array} low
35436
+ * @param {Float64Array} close
35437
+ * @returns {Float64Array}
35438
+ */
35439
+ batch(open, high, low, close) {
35440
+ try {
35441
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
35442
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
35443
+ const len0 = WASM_VECTOR_LEN;
35444
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
35445
+ const len1 = WASM_VECTOR_LEN;
35446
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
35447
+ const len2 = WASM_VECTOR_LEN;
35448
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
35449
+ const len3 = WASM_VECTOR_LEN;
35450
+ wasm.tristar_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
35451
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
35452
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
35453
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
35454
+ if (r2) {
35455
+ throw takeObject(r1);
35456
+ }
35457
+ return takeObject(r0);
35458
+ } finally {
35459
+ wasm.__wbindgen_add_to_stack_pointer(16);
35460
+ }
35461
+ }
35462
+ /**
35463
+ * @returns {boolean}
35464
+ */
35465
+ isReady() {
35466
+ const ret = wasm.tristar_isReady(this.__wbg_ptr);
35467
+ return ret !== 0;
35468
+ }
35469
+ constructor() {
35470
+ const ret = wasm.tristar_new();
35471
+ this.__wbg_ptr = ret;
35472
+ TristarFinalization.register(this, this.__wbg_ptr, this);
35473
+ return this;
35474
+ }
35475
+ reset() {
35476
+ wasm.tristar_reset(this.__wbg_ptr);
35477
+ }
35478
+ /**
35479
+ * @param {number} open
35480
+ * @param {number} high
35481
+ * @param {number} low
35482
+ * @param {number} close
35483
+ * @returns {number | undefined}
35484
+ */
35485
+ update(open, high, low, close) {
35486
+ try {
35487
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
35488
+ wasm.tristar_update(retptr, this.__wbg_ptr, open, high, low, close);
35489
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
35490
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
35491
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
35492
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
35493
+ if (r5) {
35494
+ throw takeObject(r4);
35495
+ }
35496
+ return r0 === 0 ? undefined : r2;
35497
+ } finally {
35498
+ wasm.__wbindgen_add_to_stack_pointer(32);
35499
+ }
35500
+ }
35501
+ /**
35502
+ * @returns {number}
35503
+ */
35504
+ warmupPeriod() {
35505
+ const ret = wasm.tristar_warmupPeriod(this.__wbg_ptr);
35506
+ return ret >>> 0;
35507
+ }
35508
+ }
35509
+ if (Symbol.dispose) Tristar.prototype[Symbol.dispose] = Tristar.prototype.free;
35510
+
34436
35511
  export class TrueRange {
34437
35512
  __destroy_into_raw() {
34438
35513
  const ptr = this.__wbg_ptr;
@@ -39485,6 +40560,9 @@ const CalmarRatioFinalization = (typeof FinalizationRegistry === 'undefined')
39485
40560
  const CamarillaFinalization = (typeof FinalizationRegistry === 'undefined')
39486
40561
  ? { register: () => {}, unregister: () => {} }
39487
40562
  : new FinalizationRegistry(ptr => wasm.__wbg_camarilla_free(ptr, 1));
40563
+ const CandleVolumeFinalization = (typeof FinalizationRegistry === 'undefined')
40564
+ ? { register: () => {}, unregister: () => {} }
40565
+ : new FinalizationRegistry(ptr => wasm.__wbg_candlevolume_free(ptr, 1));
39488
40566
  const CCIFinalization = (typeof FinalizationRegistry === 'undefined')
39489
40567
  ? { register: () => {}, unregister: () => {} }
39490
40568
  : new FinalizationRegistry(ptr => wasm.__wbg_cci_free(ptr, 1));
@@ -39632,6 +40710,9 @@ const DragonflyDojiFinalization = (typeof FinalizationRegistry === 'undefined')
39632
40710
  const DrawdownDurationFinalization = (typeof FinalizationRegistry === 'undefined')
39633
40711
  ? { register: () => {}, unregister: () => {} }
39634
40712
  : new FinalizationRegistry(ptr => wasm.__wbg_drawdownduration_free(ptr, 1));
40713
+ const DumplingTopFinalization = (typeof FinalizationRegistry === 'undefined')
40714
+ ? { register: () => {}, unregister: () => {} }
40715
+ : new FinalizationRegistry(ptr => wasm.__wbg_dumplingtop_free(ptr, 1));
39635
40716
  const DXFinalization = (typeof FinalizationRegistry === 'undefined')
39636
40717
  ? { register: () => {}, unregister: () => {} }
39637
40718
  : new FinalizationRegistry(ptr => wasm.__wbg_dx_free(ptr, 1));
@@ -39668,6 +40749,9 @@ const EmpiricalModeDecompositionFinalization = (typeof FinalizationRegistry ===
39668
40749
  const EngulfingFinalization = (typeof FinalizationRegistry === 'undefined')
39669
40750
  ? { register: () => {}, unregister: () => {} }
39670
40751
  : new FinalizationRegistry(ptr => wasm.__wbg_engulfing_free(ptr, 1));
40752
+ const EquivolumeFinalization = (typeof FinalizationRegistry === 'undefined')
40753
+ ? { register: () => {}, unregister: () => {} }
40754
+ : new FinalizationRegistry(ptr => wasm.__wbg_equivolume_free(ptr, 1));
39671
40755
  const EVENBETTERSINEFinalization = (typeof FinalizationRegistry === 'undefined')
39672
40756
  ? { register: () => {}, unregister: () => {} }
39673
40757
  : new FinalizationRegistry(ptr => wasm.__wbg_evenbettersine_free(ptr, 1));
@@ -39737,6 +40821,9 @@ const FractalChaosBandsFinalization = (typeof FinalizationRegistry === 'undefine
39737
40821
  const FRAMAFinalization = (typeof FinalizationRegistry === 'undefined')
39738
40822
  ? { register: () => {}, unregister: () => {} }
39739
40823
  : new FinalizationRegistry(ptr => wasm.__wbg_frama_free(ptr, 1));
40824
+ const FryPanBottomFinalization = (typeof FinalizationRegistry === 'undefined')
40825
+ ? { register: () => {}, unregister: () => {} }
40826
+ : new FinalizationRegistry(ptr => wasm.__wbg_frypanbottom_free(ptr, 1));
39740
40827
  const FundingBasisFinalization = (typeof FinalizationRegistry === 'undefined')
39741
40828
  ? { register: () => {}, unregister: () => {} }
39742
40829
  : new FinalizationRegistry(ptr => wasm.__wbg_fundingbasis_free(ptr, 1));
@@ -39791,12 +40878,18 @@ const HangingManFinalization = (typeof FinalizationRegistry === 'undefined')
39791
40878
  const HaramiFinalization = (typeof FinalizationRegistry === 'undefined')
39792
40879
  ? { register: () => {}, unregister: () => {} }
39793
40880
  : new FinalizationRegistry(ptr => wasm.__wbg_harami_free(ptr, 1));
40881
+ const HaramiCrossFinalization = (typeof FinalizationRegistry === 'undefined')
40882
+ ? { register: () => {}, unregister: () => {} }
40883
+ : new FinalizationRegistry(ptr => wasm.__wbg_haramicross_free(ptr, 1));
39794
40884
  const HeadAndShouldersFinalization = (typeof FinalizationRegistry === 'undefined')
39795
40885
  ? { register: () => {}, unregister: () => {} }
39796
40886
  : new FinalizationRegistry(ptr => wasm.__wbg_headandshoulders_free(ptr, 1));
39797
40887
  const HeikinAshiFinalization = (typeof FinalizationRegistry === 'undefined')
39798
40888
  ? { register: () => {}, unregister: () => {} }
39799
40889
  : new FinalizationRegistry(ptr => wasm.__wbg_heikinashi_free(ptr, 1));
40890
+ const HeikinAshiOscillatorFinalization = (typeof FinalizationRegistry === 'undefined')
40891
+ ? { register: () => {}, unregister: () => {} }
40892
+ : new FinalizationRegistry(ptr => wasm.__wbg_heikinashioscillator_free(ptr, 1));
39800
40893
  const HiLoActivatorFinalization = (typeof FinalizationRegistry === 'undefined')
39801
40894
  ? { register: () => {}, unregister: () => {} }
39802
40895
  : new FinalizationRegistry(ptr => wasm.__wbg_hiloactivator_free(ptr, 1));
@@ -40070,6 +41163,9 @@ const NATRFinalization = (typeof FinalizationRegistry === 'undefined')
40070
41163
  const NewHighsNewLowsFinalization = (typeof FinalizationRegistry === 'undefined')
40071
41164
  ? { register: () => {}, unregister: () => {} }
40072
41165
  : new FinalizationRegistry(ptr => wasm.__wbg_newhighsnewlows_free(ptr, 1));
41166
+ const NewPriceLinesFinalization = (typeof FinalizationRegistry === 'undefined')
41167
+ ? { register: () => {}, unregister: () => {} }
41168
+ : new FinalizationRegistry(ptr => wasm.__wbg_newpricelines_free(ptr, 1));
40073
41169
  const NrtrFinalization = (typeof FinalizationRegistry === 'undefined')
40074
41170
  ? { register: () => {}, unregister: () => {} }
40075
41171
  : new FinalizationRegistry(ptr => wasm.__wbg_nrtr_free(ptr, 1));
@@ -40355,6 +41451,9 @@ const SMIFinalization = (typeof FinalizationRegistry === 'undefined')
40355
41451
  const SMMAFinalization = (typeof FinalizationRegistry === 'undefined')
40356
41452
  ? { register: () => {}, unregister: () => {} }
40357
41453
  : new FinalizationRegistry(ptr => wasm.__wbg_smma_free(ptr, 1));
41454
+ const SmoothedHeikinAshiFinalization = (typeof FinalizationRegistry === 'undefined')
41455
+ ? { register: () => {}, unregister: () => {} }
41456
+ : new FinalizationRegistry(ptr => wasm.__wbg_smoothedheikinashi_free(ptr, 1));
40358
41457
  const SortinoRatioFinalization = (typeof FinalizationRegistry === 'undefined')
40359
41458
  ? { register: () => {}, unregister: () => {} }
40360
41459
  : new FinalizationRegistry(ptr => wasm.__wbg_sortinoratio_free(ptr, 1));
@@ -40493,6 +41592,9 @@ const ThreeDrivesFinalization = (typeof FinalizationRegistry === 'undefined')
40493
41592
  const ThreeInsideFinalization = (typeof FinalizationRegistry === 'undefined')
40494
41593
  ? { register: () => {}, unregister: () => {} }
40495
41594
  : new FinalizationRegistry(ptr => wasm.__wbg_threeinside_free(ptr, 1));
41595
+ const ThreeLineBreakFinalization = (typeof FinalizationRegistry === 'undefined')
41596
+ ? { register: () => {}, unregister: () => {} }
41597
+ : new FinalizationRegistry(ptr => wasm.__wbg_threelinebreak_free(ptr, 1));
40496
41598
  const ThreeLineStrikeFinalization = (typeof FinalizationRegistry === 'undefined')
40497
41599
  ? { register: () => {}, unregister: () => {} }
40498
41600
  : new FinalizationRegistry(ptr => wasm.__wbg_threelinestrike_free(ptr, 1));
@@ -40520,6 +41622,9 @@ const TimeBasedStopFinalization = (typeof FinalizationRegistry === 'undefined')
40520
41622
  const TimeOfDayReturnProfileFinalization = (typeof FinalizationRegistry === 'undefined')
40521
41623
  ? { register: () => {}, unregister: () => {} }
40522
41624
  : new FinalizationRegistry(ptr => wasm.__wbg_timeofdayreturnprofile_free(ptr, 1));
41625
+ const TowerTopBottomFinalization = (typeof FinalizationRegistry === 'undefined')
41626
+ ? { register: () => {}, unregister: () => {} }
41627
+ : new FinalizationRegistry(ptr => wasm.__wbg_towertopbottom_free(ptr, 1));
40523
41628
  const TpoProfileFinalization = (typeof FinalizationRegistry === 'undefined')
40524
41629
  ? { register: () => {}, unregister: () => {} }
40525
41630
  : new FinalizationRegistry(ptr => wasm.__wbg_tpoprofile_free(ptr, 1));
@@ -40553,6 +41658,9 @@ const TrinFinalization = (typeof FinalizationRegistry === 'undefined')
40553
41658
  const TripleTopBottomFinalization = (typeof FinalizationRegistry === 'undefined')
40554
41659
  ? { register: () => {}, unregister: () => {} }
40555
41660
  : new FinalizationRegistry(ptr => wasm.__wbg_tripletopbottom_free(ptr, 1));
41661
+ const TristarFinalization = (typeof FinalizationRegistry === 'undefined')
41662
+ ? { register: () => {}, unregister: () => {} }
41663
+ : new FinalizationRegistry(ptr => wasm.__wbg_tristar_free(ptr, 1));
40556
41664
  const TRIXFinalization = (typeof FinalizationRegistry === 'undefined')
40557
41665
  ? { register: () => {}, unregister: () => {} }
40558
41666
  : new FinalizationRegistry(ptr => wasm.__wbg_trix_free(ptr, 1));