-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathta.stub.php
More file actions
1769 lines (1602 loc) · 41.5 KB
/
ta.stub.php
File metadata and controls
1769 lines (1602 loc) · 41.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/** @generate-arginfo */
/**
* @return string
*/
function ta_version(): string {}
/**
* Simple Moving Average (SMA).
*
* @param float[] $values
* @param int $period
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_sma(array $values, int $period): array {}
/**
* Exponential Moving Average (EMA).
*
* @param float[] $values
* @param int $period
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_ema(array $values, int $period): array {}
/**
* Weighted Moving Average (WMA).
*
* @param float[] $values
* @param int $period
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_wma(array $values, int $period): array {}
/**
* Double Exponential Moving Average (DEMA).
*
* @param float[] $values
* @param int $period
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_dema(array $values, int $period): array {}
/**
* Triple Exponential Moving Average (TEMA).
*
* @param float[] $values
* @param int $period
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_tema(array $values, int $period): array {}
/**
* Triangular Moving Average (TRIMA).
*
* @param float[] $values
* @param int $period
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_trima(array $values, int $period): array {}
/**
* Kaufman Adaptive Moving Average (KAMA).
*
* @param float[] $values
* @param int $period
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_kama(array $values, int $period): array {}
/**
* MESA Adaptive Moving Average (MAMA).
*
* @param float[] $values
* @param float $fastLimit Default 0.5
* @param float $slowLimit Default 0.05
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_mama(array $values, float $fastLimit = 0.5, float $slowLimit = 0.05): array {}
/**
* Triple Exponential Moving Average (T3).
*
* @param float[] $values
* @param int $period
* @param float $vFactor Default 0.7
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_t3(array $values, int $period, float $vFactor = 0.7): array {}
/**
* Acceleration Bands (ACCBANDS).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 20
* @return array{upper: array<int, float|null>, middle: array<int, float|null>, lower: array<int, float|null>}
*/
function ta_accbands(array $high, array $low, array $close, int $period = 20): array {}
/**
* Hilbert Transform - Instantaneous Trendline (HT_TRENDLINE).
*
* @param float[] $values
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_ht_trendline(array $values): array {}
/**
* Moving Average (MA).
*
* @param float[] $values
* @param int $period Default 30
* @param int $maType Default TA_MA_TYPE_SMA
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_ma(array $values, int $period = 30, int $maType = TA_MA_TYPE_SMA): array {}
/**
* Moving Average with Variable Period (MAVP).
*
* @param float[] $values
* @param float[] $periods
* @param int $minPeriod Default 2
* @param int $maxPeriod Default 30
* @param int $maType Default TA_MA_TYPE_SMA
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_mavp(array $values, array $periods, int $minPeriod = 2, int $maxPeriod = 30, int $maType = TA_MA_TYPE_SMA): array {}
/**
* MidPoint over period (MIDPOINT).
*
* @param float[] $values
* @param int $period Default 14
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_midpoint(array $values, int $period = 14): array {}
/**
* Midpoint Price over period (MIDPRICE).
*
* @param float[] $high
* @param float[] $low
* @param int $period Default 14
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_midprice(array $high, array $low, int $period = 14): array {}
/**
* Parabolic SAR (SAR).
*
* @param float[] $high
* @param float[] $low
* @param float $acceleration Default 0.02
* @param float $maximum Default 0.20
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_sar(array $high, array $low, float $acceleration = 0.02, float $maximum = 0.20): array {}
/**
* Parabolic SAR - Extended (SAREXT).
*
* @param float[] $high
* @param float[] $low
* @param float $startValue Default 0.0
* @param float $offsetOnReverse Default 0.0
* @param float $accelerationInitLong Default 0.02
* @param float $accelerationLong Default 0.02
* @param float $accelerationMaxLong Default 0.20
* @param float $accelerationInitShort Default 0.02
* @param float $accelerationShort Default 0.02
* @param float $accelerationMaxShort Default 0.20
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_sarext(
array $high,
array $low,
float $startValue = 0.0,
float $offsetOnReverse = 0.0,
float $accelerationInitLong = 0.02,
float $accelerationLong = 0.02,
float $accelerationMaxLong = 0.20,
float $accelerationInitShort = 0.02,
float $accelerationShort = 0.02,
float $accelerationMaxShort = 0.20
): array {}
/**
* Average True Range (ATR).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_atr(array $high, array $low, array $close, int $period = 14): array {}
/**
* Normalized Average True Range (NATR).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_natr(array $high, array $low, array $close, int $period = 14): array {}
/**
* True Range (TRANGE).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, float|null> Values aligned to input indexes (leading nulls).
*/
function ta_trange(array $high, array $low, array $close): array {}
/**
* Vector Arithmetic Add (ADD).
*
* @param float[] $valuesA
* @param float[] $valuesB
* @return array<int, float|null>
*/
function ta_add(array $valuesA, array $valuesB): array {}
/**
* Vector Arithmetic Subtraction (SUB).
*
* @param float[] $valuesA
* @param float[] $valuesB
* @return array<int, float|null>
*/
function ta_sub(array $valuesA, array $valuesB): array {}
/**
* Vector Arithmetic Mult (MULT).
*
* @param float[] $valuesA
* @param float[] $valuesB
* @return array<int, float|null>
*/
function ta_mult(array $valuesA, array $valuesB): array {}
/**
* Vector Arithmetic Div (DIV).
*
* @param float[] $valuesA
* @param float[] $valuesB
* @return array<int, float|null>
*/
function ta_div(array $valuesA, array $valuesB): array {}
/**
* Summation (SUM).
*
* @param float[] $values
* @param int $period Default 30
* @return array<int, float|null>
*/
function ta_sum(array $values, int $period = 30): array {}
/**
* Highest value over a specified period (MAX).
*
* @param float[] $values
* @param int $period Default 30
* @return array<int, float|null>
*/
function ta_max(array $values, int $period = 30): array {}
/**
* Lowest value over a specified period (MIN).
*
* @param float[] $values
* @param int $period Default 30
* @return array<int, float|null>
*/
function ta_min(array $values, int $period = 30): array {}
/**
* Index of highest value over a specified period (MAXINDEX).
*
* @param float[] $values
* @param int $period Default 30
* @return array<int, int|null>
*/
function ta_maxindex(array $values, int $period = 30): array {}
/**
* Index of lowest value over a specified period (MININDEX).
*
* @param float[] $values
* @param int $period Default 30
* @return array<int, int|null>
*/
function ta_minindex(array $values, int $period = 30): array {}
/**
* Lowest and highest values over a specified period (MINMAX).
*
* @param float[] $values
* @param int $period Default 30
* @return array{min: array<int, float|null>, max: array<int, float|null>}
*/
function ta_minmax(array $values, int $period = 30): array {}
/**
* Indexes of lowest and highest values over a specified period (MINMAXINDEX).
*
* @param float[] $values
* @param int $period Default 30
* @return array{min: array<int, int|null>, max: array<int, int|null>}
*/
function ta_minmaxindex(array $values, int $period = 30): array {}
/**
* Chaikin A/D Line (AD).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param float[] $volume
* @return array<int, float|null>
*/
function ta_ad(array $high, array $low, array $close, array $volume): array {}
/**
* Chaikin A/D Oscillator (ADOSC).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param float[] $volume
* @param int $fastPeriod Default 3
* @param int $slowPeriod Default 10
* @return array<int, float|null>
*/
function ta_adosc(array $high, array $low, array $close, array $volume, int $fastPeriod = 3, int $slowPeriod = 10): array {}
/**
* On Balance Volume (OBV).
*
* @param float[] $values
* @param float[] $volume
* @return array<int, float|null>
*/
function ta_obv(array $values, array $volume): array {}
/**
* Vector Trigonometric ACos (ACOS).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_acos(array $values): array {}
/**
* Vector Trigonometric ASin (ASIN).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_asin(array $values): array {}
/**
* Vector Trigonometric ATan (ATAN).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_atan(array $values): array {}
/**
* Vector Ceil (CEIL).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_ceil(array $values): array {}
/**
* Vector Trigonometric Cos (COS).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_cos(array $values): array {}
/**
* Vector Trigonometric Cosh (COSH).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_cosh(array $values): array {}
/**
* Vector Exp (EXP).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_exp(array $values): array {}
/**
* Vector Floor (FLOOR).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_floor(array $values): array {}
/**
* Vector Log Natural (LN).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_ln(array $values): array {}
/**
* Vector Log10 (LOG10).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_log10(array $values): array {}
/**
* Vector Trigonometric Sin (SIN).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_sin(array $values): array {}
/**
* Vector Trigonometric Sinh (SINH).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_sinh(array $values): array {}
/**
* Vector Square Root (SQRT).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_sqrt(array $values): array {}
/**
* Vector Trigonometric Tan (TAN).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_tan(array $values): array {}
/**
* Vector Trigonometric Tanh (TANH).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_tanh(array $values): array {}
/**
* Average Price (AVGPRICE).
*
* @param float[] $open
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, float|null>
*/
function ta_avgprice(array $open, array $high, array $low, array $close): array {}
/**
* Average Deviation (AVGDEV).
*
* @param float[] $values
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_avgdev(array $values, int $period = 14): array {}
/**
* Median Price (MEDPRICE).
*
* @param float[] $high
* @param float[] $low
* @return array<int, float|null>
*/
function ta_medprice(array $high, array $low): array {}
/**
* Typical Price (TYPPRICE).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, float|null>
*/
function ta_typprice(array $high, array $low, array $close): array {}
/**
* Weighted Close Price (WCLPRICE).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, float|null>
*/
function ta_wclprice(array $high, array $low, array $close): array {}
/**
* Hilbert Transform - Dominant Cycle Period (HT_DCPERIOD).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_ht_dcperiod(array $values): array {}
/**
* Hilbert Transform - Dominant Cycle Phase (HT_DCPHASE).
*
* @param float[] $values
* @return array<int, float|null>
*/
function ta_ht_dcphase(array $values): array {}
/**
* Hilbert Transform - Phasor Components (HT_PHASOR).
*
* @param float[] $values
* @return array{inphase: array<int, float|null>, quadrature: array<int, float|null>}
*/
function ta_ht_phasor(array $values): array {}
/**
* Hilbert Transform - SineWave (HT_SINE).
*
* @param float[] $values
* @return array{sine: array<int, float|null>, leadsine: array<int, float|null>}
*/
function ta_ht_sine(array $values): array {}
/**
* Hilbert Transform - Trend vs Cycle Mode (HT_TRENDMODE).
*
* @param float[] $values
* @return array<int, int|null>
*/
function ta_ht_trendmode(array $values): array {}
/**
* Chande Momentum Oscillator (CMO).
*
* @param float[] $values
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_cmo(array $values, int $period = 14): array {}
/**
* Moving Average Convergence/Divergence (MACD).
*
* @param float[] $values
* @param int $fastPeriod Default 12
* @param int $slowPeriod Default 26
* @param int $signalPeriod Default 9
* @return array{macd: array<int, float|null>, signal: array<int, float|null>, hist: array<int, float|null>}
*/
function ta_macd(array $values, int $fastPeriod = 12, int $slowPeriod = 26, int $signalPeriod = 9): array {}
/**
* MACD with controllable MA type (MACDEXT).
*
* @param float[] $values
* @param int $fastPeriod Default 12
* @param int $fastMaType Default TA_MA_TYPE_SMA
* @param int $slowPeriod Default 26
* @param int $slowMaType Default TA_MA_TYPE_SMA
* @param int $signalPeriod Default 9
* @param int $signalMaType Default TA_MA_TYPE_SMA
* @return array{macd: array<int, float|null>, signal: array<int, float|null>, hist: array<int, float|null>}
*/
function ta_macdext(
array $values,
int $fastPeriod = 12,
int $fastMaType = TA_MA_TYPE_SMA,
int $slowPeriod = 26,
int $slowMaType = TA_MA_TYPE_SMA,
int $signalPeriod = 9,
int $signalMaType = TA_MA_TYPE_SMA
): array {}
/**
* MACD Fix 12/26 (MACDFIX).
*
* @param float[] $values
* @param int $signalPeriod Default 9
* @return array{macd: array<int, float|null>, signal: array<int, float|null>, hist: array<int, float|null>}
*/
function ta_macdfix(array $values, int $signalPeriod = 9): array {}
/**
* Stochastic Oscillator (STOCH).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $fastKPeriod Default 5
* @param int $slowKPeriod Default 3
* @param int $slowKMaType Default TA_MA_TYPE_SMA
* @param int $slowDPeriod Default 3
* @param int $slowDMaType Default TA_MA_TYPE_SMA
* @return array{slowk: array<int, float|null>, slowd: array<int, float|null>}
*/
function ta_stoch(
array $high,
array $low,
array $close,
int $fastKPeriod = 5,
int $slowKPeriod = 3,
int $slowKMaType = TA_MA_TYPE_SMA,
int $slowDPeriod = 3,
int $slowDMaType = TA_MA_TYPE_SMA
): array {}
/**
* Stochastic Fast (STOCHF).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $fastKPeriod Default 5
* @param int $fastDPeriod Default 3
* @param int $fastDMaType Default TA_MA_TYPE_SMA
* @return array{fastk: array<int, float|null>, fastd: array<int, float|null>}
*/
function ta_stochf(
array $high,
array $low,
array $close,
int $fastKPeriod = 5,
int $fastDPeriod = 3,
int $fastDMaType = TA_MA_TYPE_SMA
): array {}
/**
* Stochastic Relative Strength Index (STOCHRSI).
*
* @param float[] $values
* @param int $period Default 14
* @param int $fastKPeriod Default 5
* @param int $fastDPeriod Default 3
* @param int $fastDMaType Default TA_MA_TYPE_SMA
* @return array{fastk: array<int, float|null>, fastd: array<int, float|null>}
*/
function ta_stochrsi(
array $values,
int $period = 14,
int $fastKPeriod = 5,
int $fastDPeriod = 3,
int $fastDMaType = TA_MA_TYPE_SMA
): array {}
/**
* Average Directional Movement Index (ADX).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_adx(array $high, array $low, array $close, int $period = 14): array {}
/**
* Average Directional Movement Index Rating (ADXR).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_adxr(array $high, array $low, array $close, int $period = 14): array {}
/**
* Absolute Price Oscillator (APO).
*
* @param float[] $values
* @param int $fastPeriod Default 12
* @param int $slowPeriod Default 26
* @param int $maType Default TA_MA_TYPE_SMA
* @return array<int, float|null>
*/
function ta_apo(array $values, int $fastPeriod = 12, int $slowPeriod = 26, int $maType = TA_MA_TYPE_SMA): array {}
/**
* Aroon (AROON).
*
* @param float[] $high
* @param float[] $low
* @param int $period Default 14
* @return array{down: array<int, float|null>, up: array<int, float|null>}
*/
function ta_aroon(array $high, array $low, int $period = 14): array {}
/**
* Aroon Oscillator (AROONOSC).
*
* @param float[] $high
* @param float[] $low
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_aroonosc(array $high, array $low, int $period = 14): array {}
/**
* Balance Of Power (BOP).
*
* @param float[] $open
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, float|null>
*/
function ta_bop(array $open, array $high, array $low, array $close): array {}
/**
* Commodity Channel Index (CCI).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_cci(array $high, array $low, array $close, int $period = 14): array {}
/**
* Directional Movement Index (DX).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_dx(array $high, array $low, array $close, int $period = 14): array {}
/**
* Intraday Momentum Index (IMI).
*
* @param float[] $open
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_imi(array $open, array $close, int $period = 14): array {}
/**
* Money Flow Index (MFI).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param float[] $volume
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_mfi(array $high, array $low, array $close, array $volume, int $period = 14): array {}
/**
* Minus Directional Indicator (MINUS_DI).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_minus_di(array $high, array $low, array $close, int $period = 14): array {}
/**
* Minus Directional Movement (MINUS_DM).
*
* @param float[] $high
* @param float[] $low
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_minus_dm(array $high, array $low, int $period = 14): array {}
/**
* Plus Directional Indicator (PLUS_DI).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_plus_di(array $high, array $low, array $close, int $period = 14): array {}
/**
* Plus Directional Movement (PLUS_DM).
*
* @param float[] $high
* @param float[] $low
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_plus_dm(array $high, array $low, int $period = 14): array {}
/**
* Percentage Price Oscillator (PPO).
*
* @param float[] $values
* @param int $fastPeriod Default 12
* @param int $slowPeriod Default 26
* @param int $maType Default TA_MA_TYPE_SMA
* @return array<int, float|null>
*/
function ta_ppo(array $values, int $fastPeriod = 12, int $slowPeriod = 26, int $maType = TA_MA_TYPE_SMA): array {}
/**
* Rate of Change (ROC).
*
* @param float[] $values
* @param int $period Default 10
* @return array<int, float|null>
*/
function ta_roc(array $values, int $period = 10): array {}
/**
* Rate of Change Percentage (ROCP).
*
* @param float[] $values
* @param int $period Default 10
* @return array<int, float|null>
*/
function ta_rocp(array $values, int $period = 10): array {}
/**
* Rate of Change Ratio (ROCR).
*
* @param float[] $values
* @param int $period Default 10
* @return array<int, float|null>
*/
function ta_rocr(array $values, int $period = 10): array {}
/**
* Rate of Change Ratio 100 scale (ROCR100).
*
* @param float[] $values
* @param int $period Default 10
* @return array<int, float|null>
*/
function ta_rocr100(array $values, int $period = 10): array {}
/**
* Relative Strength Index (RSI).
*
* @param float[] $values
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_rsi(array $values, int $period = 14): array {}
/**
* Triple Exponential Moving Average (TRIX).
*
* @param float[] $values
* @param int $period Default 30
* @return array<int, float|null>
*/
function ta_trix(array $values, int $period = 30): array {}
/**
* Ultimate Oscillator (ULTOSC).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period1 Default 7
* @param int $period2 Default 14
* @param int $period3 Default 28
* @return array<int, float|null>
*/
function ta_ultosc(array $high, array $low, array $close, int $period1 = 7, int $period2 = 14, int $period3 = 28): array {}
/**
* Williams %R (WILLR).
*
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @param int $period Default 14
* @return array<int, float|null>
*/
function ta_willr(array $high, array $low, array $close, int $period = 14): array {}
/**
* CDL2CROWS pattern.
*
* @param float[] $open
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, int|null>
*/
function ta_cdl2crows(array $open, array $high, array $low, array $close): array {}
/**
* CDL3BLACKCROWS pattern.
*
* @param float[] $open
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, int|null>
*/
function ta_cdl3blackcrows(array $open, array $high, array $low, array $close): array {}
/**
* CDL3INSIDE pattern.
*
* @param float[] $open
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, int|null>
*/
function ta_cdl3inside(array $open, array $high, array $low, array $close): array {}
/**
* CDL3LINESTRIKE pattern.
*
* @param float[] $open
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, int|null>
*/
function ta_cdl3linestrike(array $open, array $high, array $low, array $close): array {}
/**
* CDL3OUTSIDE pattern.
*
* @param float[] $open
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, int|null>
*/
function ta_cdl3outside(array $open, array $high, array $low, array $close): array {}
/**
* CDL3STARSINSOUTH pattern.
*
* @param float[] $open
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, int|null>
*/
function ta_cdl3starsinsouth(array $open, array $high, array $low, array $close): array {}
/**
* CDL3WHITESOLDIERS pattern.
*
* @param float[] $open
* @param float[] $high
* @param float[] $low
* @param float[] $close
* @return array<int, int|null>
*/
function ta_cdl3whitesoldiers(array $open, array $high, array $low, array $close): array {}
/**
* CDLABANDONEDBABY pattern.
*
* @param float[] $open
* @param float[] $high