-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmetadata_export.json
More file actions
5918 lines (5918 loc) · 282 KB
/
Copy pathmetadata_export.json
File metadata and controls
5918 lines (5918 loc) · 282 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
[
{
"slug": "ad",
"name": "Accumulation/Distribution Line (AD)",
"description": "A volume-based indicator designed to measure the cumulative flow of money into and out of a security.",
"usage": "Use to confirm price trends or identify potential reversals through divergences. Rising AD confirms an uptrend; falling AD confirms a downtrend.",
"category": "Classic",
"keywords": [
"volume",
"momentum",
"classic",
"accumulation",
"distribution"
],
"params": [],
"formula_source": "https://www.investopedia.com/terms/a/accumulationdistributioncurve.asp",
"formula_latex": "\n\\[\n\\text{MFM} = \\frac{(Close - Low) - (High - Close)}{High - Low} \\\\ \\text{MFV} = \\text{MFM} \\times Volume \\\\ AD_t = AD_{t-1} + \\text{MFV}\n\\]\n",
"gold_standard_file": "ad.json",
"ehlers_summary": "Developed by Marc Chaikin, the AD line uses the relationship between price and volume to determine whether a security is being accumulated or distributed. It is calculated by multiplying the Money Flow Multiplier by the period's volume and adding it to a cumulative total. — StockCharts ChartSchool",
"struct_name": "",
"source_file": "volume",
"boundary_kind": "cumulative"
},
{
"slug": "adaptive_ema",
"name": "Adaptive Exponential Moving Average",
"description": "An adaptive moving average that adjusts its smoothing factor based on volatility.",
"usage": "Use to identify overall trends. AEMA reacts faster to large price movements by adapting the smoothing factor using the highest high and lowest low of a lookback period.",
"category": "Moving Averages",
"keywords": [
"moving-average",
"adaptive",
"volatility",
"trend"
],
"params": [
{
"name": "period",
"default": "10",
"description": "Smoothing period"
},
{
"name": "pds",
"default": "10",
"description": "Lookback period for volatility"
}
],
"formula_source": "Technical Analysis of Stocks & Commodities, April 2019",
"formula_latex": "\n\\[\nRate = \\frac{2}{P+1} \\times \\left(1 + \\frac{|(C - L_{min}) - (H_{max} - C)|}{H_{max} - L_{min}}\\right) \\\\ AEMA_t = AEMA_{t-1} + Rate \\times (C - AEMA_{t-1})\n\\]\n",
"gold_standard_file": "",
"ehlers_summary": "Introduced by Vitali Apirine in TASC April 2019, AEMA alters the EMA's alpha (smoothing factor) by comparing the distance of the close from the lowest low and highest high. This amplifies the smoothing factor during strong price moves while reducing it during sideways chop, yielding a moving average with less lag when it matters most.",
"struct_name": "AdaptiveEma",
"source_file": "adaptive_ema",
"boundary_kind": "scalar"
},
{
"slug": "adosc",
"name": "Chaikin Oscillator (ADOSC)",
"description": "An indicator that measures the momentum of the Accumulation/Distribution Line using the difference between two exponential moving averages.",
"usage": "Use to anticipate changes in the AD Line. Positive values indicate increasing buying pressure, while negative values indicate increasing selling pressure.",
"category": "Classic",
"keywords": [
"volume",
"oscillator",
"momentum",
"classic"
],
"params": [
{
"name": "fastperiod",
"default": "3",
"description": "Fast EMA period"
},
{
"name": "slowperiod",
"default": "10",
"description": "Slow EMA period"
}
],
"formula_source": "https://www.investopedia.com/terms/c/chaikinoscillator.asp",
"formula_latex": "\n\\[\nADOSC = EMA(AD, 3) - EMA(AD, 10)\n\\]\n",
"gold_standard_file": "adosc.json",
"ehlers_summary": "Marc Chaikin developed this oscillator to identify momentum shifts in the AD Line. By applying EMAs of different lengths to the AD Line, it highlights changes in money flow before they become apparent in the cumulative total, providing an early warning system for trend exhaustion. — StockCharts ChartSchool",
"struct_name": "",
"source_file": "volume",
"boundary_kind": "scalar"
},
{
"slug": "adx",
"name": "Average Directional Index (ADX)",
"description": "An indicator used to quantify trend strength without regard to trend direction.",
"usage": "Use to determine if the market is trending or ranging. ADX values above 25 indicate a strong trend, while values below 20 indicate a weak or non-trending market.",
"category": "Classic",
"keywords": [
"trend",
"volatility",
"classic",
"wilder"
],
"params": [
{
"name": "timeperiod",
"default": "14",
"description": "Lookback period"
}
],
"formula_source": "https://www.investopedia.com/terms/a/adx.asp",
"formula_latex": "\n\\[\nADX = 100 \\times \\frac{\\text{EMA}(|(+DI) - (-DI)| / |(+DI) + (-DI)|, n)}{n}\n\\]\n",
"gold_standard_file": "adx.json",
"ehlers_summary": "Developed by J. Welles Wilder, the ADX is derived from two other indicators, also developed by Wilder: the Positive Directional Indicator (+DI) and the Negative Directional Indicator (-DI). While +DI and -DI indicate trend direction, ADX measures the strength of that trend. — StockCharts ChartSchool",
"struct_name": "",
"source_file": "momentum",
"boundary_kind": "scalar"
},
{
"slug": "alligator",
"name": "Bill Williams Alligator",
"description": "Trend-following indicator using three delayed smoothed moving averages.",
"usage": "Use to identify trend presence and direction. When the three Alligator lines are separated and fanning, the market is trending; when they converge or intertwine, the market is ranging.",
"category": "Classic",
"keywords": [
"trend",
"moving-average",
"classic",
"williams"
],
"params": [],
"formula_source": "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/alligator",
"formula_latex": "\n\\[\n\\text{Jaw} = \\text{SMMA}(13, 8), \\text{Teeth} = \\text{SMMA}(8, 5), \\text{Lips} = \\text{SMMA}(5, 3)\n\\]\n",
"gold_standard_file": "alligator.json",
"ehlers_summary": "Bill Williams introduced the Alligator in Trading Chaos (1995) as three offset SMAs with periods 13, 8, and 5 and offsets of 8, 5, and 3 bars. The three lines represent the Jaw, Teeth, and Lips of the Alligator. When the Alligator is sleeping (lines intertwined) no trade is taken; when it wakes and opens its mouth a trend trade is entered. — StockCharts ChartSchool",
"struct_name": "Alligator",
"source_file": "alligator",
"boundary_kind": "scalar"
},
{
"slug": "alma",
"name": "Arnaud Legoux Moving Average",
"description": "ALMA is designed to reduce lag while providing high smoothness.",
"usage": "Use as a low-latency moving average that reduces lag compared to EMA while controlling overshoot through the Gaussian offset parameter. Well-suited for momentum systems.",
"category": "Classic",
"keywords": [
"moving-average",
"smoothing",
"low-latency",
"adaptive"
],
"params": [
{
"name": "period",
"default": "9",
"description": "Period"
},
{
"name": "offset",
"default": "0.85",
"description": "Offset"
},
{
"name": "sigma",
"default": "6.0",
"description": "Sigma"
}
],
"formula_source": "https://www.prorealcode.com/prorealtime-indicators/arnaud-legoux-moving-average-alma/",
"formula_latex": "\n\\[\nALMA = \\sum (W_i \\times P_i) / \\sum W_i\n\\]\n",
"gold_standard_file": "alma.json",
"ehlers_summary": "The Arnaud Legoux Moving Average applies a Gaussian-shaped weight distribution offset toward the recent end of the lookback window. The sigma parameter controls weight spread and the offset parameter controls how far the Gaussian peak is positioned from the current bar, enabling a lag-accuracy trade-off unavailable in standard MAs.",
"struct_name": "Alma",
"source_file": "alma",
"boundary_kind": "scalar"
},
{
"slug": "am_detector",
"name": "AM Detector",
"description": "Recovers market volatility from the amplitude-modulated whitened price spectrum.",
"usage": "Use to extract the instantaneous amplitude and frequency of market cycles. The AM output measures cycle energy for position sizing; the FM output tracks cycle period for adaptive indicator tuning.",
"category": "Ehlers DSP",
"keywords": [
"cycle",
"ehlers",
"dsp",
"amplitude",
"frequency"
],
"params": [
{
"name": "highest_len",
"default": "4",
"description": "Envelope lookback length"
},
{
"name": "avg_len",
"default": "8",
"description": "Smoothing length"
}
],
"formula_source": "https://github.com/lavs9/quantwave/blob/main/references/Ehlers%20Papers/AMFM.pdf",
"formula_latex": "\n\\[\nDeriv = |Close - Open|, Envel = \\max(Deriv, 4), Volatil = \\text{Avg}(Envel, 8)\n\\]\n",
"gold_standard_file": "am_detector.json",
"ehlers_summary": "Ehlers adapts AM and FM demodulation techniques from radio engineering in Cycle Analytics for Traders to extract cycle amplitude and instantaneous frequency from market data. The amplitude envelope measures how energetic the current cycle is, while FM reveals whether the cycle period is expanding or contracting.",
"struct_name": "AmDetector",
"source_file": "amfm",
"boundary_kind": "scalar"
},
{
"slug": "apo",
"name": "Absolute Price Oscillator (APO)",
"description": "Shows the absolute difference between two moving averages of different periods.",
"usage": "Use to identify trend crossovers and momentum. It is essentially a MACD without the signal line, showing the raw distance between fast and slow averages.",
"category": "Classic",
"keywords": [
"trend",
"momentum",
"moving-average",
"classic"
],
"params": [
{
"name": "fastperiod",
"default": "12",
"description": "Fast period"
},
{
"name": "slowperiod",
"default": "26",
"description": "Slow period"
}
],
"formula_source": "https://www.tradingview.com/support/solutions/43000501826-absolute-price-oscillator-apo/",
"formula_latex": "\n\\[\nAPO = EMA(fast) - EMA(slow)\n\\]\n",
"gold_standard_file": "apo.json",
"ehlers_summary": "The Absolute Price Oscillator (APO) is based on the difference between two exponential moving averages. It is a trend-following indicator that signals a change in direction when the fast EMA crosses the slow EMA, providing a clear visual of trend development. — TA-Lib Documentation",
"struct_name": "",
"source_file": "momentum",
"boundary_kind": "scalar"
},
{
"slug": "aroon",
"name": "Aroon Indicator",
"description": "An indicator system that identifies when a new trend is beginning and the strength of the trend.",
"usage": "Use to identify when a security is trending and when it is in a range-bound period. Aroon Up crossing above Aroon Down signals the start of a new uptrend.",
"category": "Classic",
"keywords": [
"trend",
"classic",
"breakout"
],
"params": [
{
"name": "timeperiod",
"default": "25",
"description": "Lookback period"
}
],
"formula_source": "https://www.investopedia.com/terms/a/aroon.asp",
"formula_latex": "\n\\[\n\\text{Aroon Up} = \\frac{n - \\text{Periods since n-period High}}{n} \\times 100\n\\]\n",
"gold_standard_file": "aroon.json",
"ehlers_summary": "Developed by Tushar Chande in 1995, the Aroon indicator focuses on the time between highs and the time between lows over a given period. The idea is that strong uptrends will regularly see new highs, and strong downtrends will regularly see new lows. — StockCharts ChartSchool",
"struct_name": "",
"source_file": "momentum",
"boundary_kind": "scalar"
},
{
"slug": "atr",
"name": "Average True Range",
"description": "ATR represents the average of true ranges over a specified period.",
"usage": "Use as the foundational volatility module providing ATR, True Range, and related volatility measures used by higher-level indicators such as SuperTrend and Keltner Channels.",
"category": "Classic",
"keywords": [
"volatility",
"atr",
"classic",
"range"
],
"params": [
{
"name": "period",
"default": "14",
"description": "Smoothing period"
}
],
"formula_source": "https://www.investopedia.com/terms/a/atr.asp",
"formula_latex": "\n\\[\nATR = \\frac{ATR_{t-1} \\times (n-1) + TR_t}{n}\n\\]\n",
"gold_standard_file": "atr.json",
"ehlers_summary": "Average True Range, developed by J. Welles Wilder in New Concepts in Technical Trading Systems (1978), measures the average of the true range over N bars. True Range accounts for overnight gaps by taking the maximum of: current high minus low, current high minus prior close, prior close minus current low. It remains the industry standard raw volatility measure.",
"struct_name": "Atr",
"source_file": "volatility",
"boundary_kind": "scalar"
},
{
"slug": "atr_ts",
"name": "ATR Trailing Stop",
"description": "A trailing stop based on Average True Range to keep trades in a trend.",
"usage": "Use as a dynamic trailing stop that widens in volatile markets and tightens in calm ones, automatically adjusting stop distance to current market conditions.",
"category": "Classic",
"keywords": [
"volatility",
"trend",
"stop-loss",
"atr",
"classic"
],
"params": [
{
"name": "period",
"default": "10",
"description": "ATR period"
},
{
"name": "multiplier",
"default": "3.0",
"description": "ATR Multiplier"
}
],
"formula_source": "https://www.tradingview.com/support/solutions/43000589105-average-true-range-atr/",
"formula_latex": "\n\\[\nStop = P_{high} - (Multiplier \\times ATR)\n\\]\n",
"gold_standard_file": "atr_ts.json",
"ehlers_summary": "ATR Trailing Stop uses Average True Range to set a stop distance that scales with market volatility. During high-volatility regimes the stop moves further from price to avoid premature exit; during low-volatility regimes it tightens to lock in more profit. It is one of the most robust mechanical stop methods in systematic trading.",
"struct_name": "ATRTrailingStop",
"source_file": "atr_ts",
"boundary_kind": "scalar"
},
{
"slug": "autotune_filter",
"name": "AutoTune Filter",
"description": "An adaptive BandPass filter that dynamically tunes itself to the market's dominant cycle.",
"usage": "Use to isolate the cyclical component of price while automatically adapting to changes in cycle length. Zero crossings of the output or its rate of change can be used as trading signals.",
"category": "Ehlers DSP",
"keywords": [
"adaptive",
"filter",
"cycle",
"ehlers",
"dsp",
"autotune"
],
"params": [
{
"name": "window",
"default": "20",
"description": "Window length for autocorrelation and HighPass filter"
},
{
"name": "bandwidth",
"default": "0.25",
"description": "Bandwidth of the tuned BandPass filter"
}
],
"formula_source": "references/Ehlers Papers/The AutoTune Filter.pdf",
"formula_latex": "\n\\[\nR(lag) = \\frac{n \\sum X_i Y_i - \\sum X_i \\sum Y_i}{\\sqrt{(n \\sum X_i^2 - (\\sum X_i)^2)(n \\sum Y_i^2 - (\\sum Y_i)^2)}}\n\\]\n\\[\nDC = 2 \\times \\text{argmin}_{lag} R(lag)\n\\]\n\\[\nBP = \\text{BandPass}(Price, DC, BW)\n\\]\n",
"gold_standard_file": "autotune_filter.json",
"ehlers_summary": "The AutoTune filter provides a bridge between the time domain and frequency domain by using a rolling autocorrelation function to measure the Dominant Cycle in real time. By dynamically tuning a Bandpass filter to twice the lag at which autocorrelation is minimized, it maintains consistent performance and avoids the destructive phase shifts typical of fixed-tuned filters.",
"struct_name": "AutotuneFilter",
"source_file": "autotune",
"boundary_kind": "scalar"
},
{
"slug": "avgprice",
"name": "Average Price (AVGPRICE)",
"description": "The simple average of the Open, High, Low, and Close prices for a given period.",
"usage": "Use as a smoothed price input for other indicators. It provides a more balanced view of the period's price action than the Close price alone.",
"category": "Classic",
"keywords": [
"price-transform",
"classic",
"smoothing"
],
"params": [],
"formula_source": "https://www.tradingview.com/support/solutions/43000502588-average-price-avgprice/",
"formula_latex": "\n\\[\nAVGPRICE = \\frac{Open + High + Low + Close}{4}\n\\]\n",
"gold_standard_file": "avgprice.json",
"ehlers_summary": "Average Price is the arithmetic mean of the four key price points in a bar. In technical analysis, using Average Price instead of Close can help filter out erratic price spikes and provide a more stable foundation for trend-following algorithms. — TA-Lib Documentation",
"struct_name": "OC2",
"source_file": "price_transform",
"boundary_kind": "scalar"
},
{
"slug": "bandpass",
"name": "BandPass",
"description": "A bandpass filter that isolates cycle components around a center period.",
"usage": "Apply to isolate a specific cycle period in price, filtering out both trend and noise. Use zero crossings of the filtered output as entry and exit signals.",
"category": "Ehlers DSP",
"keywords": [
"filter",
"cycle",
"ehlers",
"dsp",
"bandpass"
],
"params": [
{
"name": "period",
"default": "20",
"description": "Center period of the passband"
},
{
"name": "bandwidth",
"default": "0.1",
"description": "Relative bandwidth (delta)"
}
],
"formula_source": "https://github.com/lavs9/quantwave/blob/main/references/Ehlers%20Papers/EmpiricalModeDecomposition.pdf",
"formula_latex": "\n\\[\n\\beta = \\cos(360/P), \\gamma = 1/\\cos(720\\delta/P), \\alpha = \\gamma - \\sqrt{\\gamma^2 - 1}\n\\]\n\\[\nBP = 0.5(1 - \\alpha)(Price - Price_{t-2}) + \\beta(1 + \\alpha)BP_{t-1} - \\alpha BP_{t-2}\n\\]\n",
"gold_standard_file": "bandpass.json",
"ehlers_summary": "Ehlers presents the BandPass filter in Cybernetic Analysis as a second-order IIR filter centred on a target cycle period with tunable bandwidth. It simultaneously attenuates lower and higher frequencies, leaving only the desired cycle band in the output.",
"struct_name": "Bandpass",
"source_file": "bandpass",
"boundary_kind": "scalar"
},
{
"slug": "bbands",
"name": "Bollinger Bands",
"description": "A volatility indicator consisting of a middle SMA and two outer bands based on standard deviation.",
"usage": "Use to identify overbought/oversold levels and volatility breakouts. Prices near the upper band suggest overbought conditions, while prices near the lower band suggest oversold conditions. Narrowing bands (The Squeeze) often precede large price moves.",
"category": "Classic",
"keywords": [
"volatility",
"trend",
"classic",
"bands"
],
"params": [
{
"name": "timeperiod",
"default": "20",
"description": "SMA period"
},
{
"name": "nbdevup",
"default": "2.0",
"description": "Upper deviation multiplier"
},
{
"name": "nbdevdn",
"default": "2.0",
"description": "Lower deviation multiplier"
}
],
"formula_source": "https://www.investopedia.com/terms/b/bollingerbands.asp",
"formula_latex": "\n\\[\nMiddle = SMA(n) \\\\ Upper = Middle + (k \\times \\sigma) \\\\ Lower = Middle - (k \\times \\sigma)\n\\]\n",
"gold_standard_file": "bbands.json",
"ehlers_summary": "Developed by John Bollinger in the 1980s, Bollinger Bands adapt to volatility by using standard deviation. The middle band is typically a 20-period SMA, and the outer bands are set 2 standard deviations away. This ensures that 95% of price action typically stays within the bands, making escapes highly significant. — BollingerOnBollingerBands.com",
"struct_name": "",
"source_file": "overlap",
"boundary_kind": "scalar"
},
{
"slug": "beta",
"name": "Beta (BETA)",
"description": "A measure of a security's volatility in relation to the overall market.",
"usage": "Use to understand the systematic risk of an asset. A beta of 1.0 indicates the asset moves with the market; >1.0 means it is more volatile, and <1.0 means it is less volatile.",
"category": "Classic",
"keywords": [
"statistics",
"risk",
"classic",
"volatility"
],
"params": [
{
"name": "timeperiod",
"default": "30",
"description": "Lookback period"
}
],
"formula_source": "https://www.investopedia.com/terms/b/beta.asp",
"formula_latex": "\n\\[\n\\beta = \\frac{\\text{Cov}(R_i, R_m)}{\\text{Var}(R_m)}\n\\]\n",
"gold_standard_file": "beta.json",
"ehlers_summary": "Beta is a measure of the volatility—or systematic risk—of a security or portfolio compared to the market as a whole. It is used in the Capital Asset Pricing Model (CAPM) to calculate the expected return of an asset based on its beta and expected market returns. — Investopedia",
"struct_name": "StandardDeviation",
"source_file": "statistics",
"boundary_kind": "scalar"
},
{
"slug": "butterworth2",
"name": "Butterworth2",
"description": "2-pole Butterworth low-pass filter.",
"usage": "Use to smooth price or intermediate indicator values with a flat passband and sharp rolloff. The 3-pole version provides steeper attenuation at the cost of marginally more lag.",
"category": "Ehlers DSP",
"keywords": [
"filter",
"ehlers",
"dsp",
"smoothing",
"low-pass"
],
"params": [
{
"name": "period",
"default": "14",
"description": "Critical period"
}
],
"formula_source": "https://github.com/lavs9/quantwave/blob/main/references/Ehlers%20Papers/Poles.pdf",
"formula_latex": "\n\\[\na = \\exp(-1.414\\pi/P)\n\\]\n\\[\nb = 2a \\cos(1.414\\pi/P)\n\\]\n\\[\nf = bf_{t-1} - a^2f_{t-2} + \\frac{1-b+a^2}{4}(g + 2g_{t-1} + g_{t-2})\n\\]\n",
"gold_standard_file": "butterworth2.json",
"ehlers_summary": "Butterworth filters are maximally flat in the passband, introducing no ripple. Ehlers implements 2-pole and 3-pole Butterworth IIR designs in Cycle Analytics for Traders, noting that the SuperSmoother is actually a critically-damped 2-pole Butterworth variant.",
"struct_name": "Butterworth2",
"source_file": "butterworth",
"boundary_kind": "scalar"
},
{
"slug": "butterworth3",
"name": "Butterworth3",
"description": "3-pole Butterworth low-pass filter.",
"usage": "Use to smooth price or intermediate indicator values with a flat passband and sharp rolloff. The 3-pole version provides steeper attenuation at the cost of marginally more lag.",
"category": "Ehlers DSP",
"keywords": [
"filter",
"ehlers",
"dsp",
"smoothing",
"low-pass"
],
"params": [
{
"name": "period",
"default": "14",
"description": "Critical period"
}
],
"formula_source": "https://github.com/lavs9/quantwave/blob/main/references/Ehlers%20Papers/Poles.pdf",
"formula_latex": "\n\\[\na = \\exp(-\\pi/P)\n\\]\n\\[\nb = 2a \\cos(1.738\\pi/P)\n\\]\n\\[\nc = a^2\n\\]\n\\[\nf = (b+c)f_{t-1} - (c+bc)f_{t-2} + c^2f_{t-3} + \\frac{(1-b+c)(1-c)}{8}(g + 3g_{t-1} + 3g_{t-2} + g_{t-3})\n\\]\n",
"gold_standard_file": "butterworth3.json",
"ehlers_summary": "Butterworth filters are maximally flat in the passband, introducing no ripple. Ehlers implements 2-pole and 3-pole Butterworth IIR designs in Cycle Analytics for Traders, noting that the SuperSmoother is actually a critically-damped 2-pole Butterworth variant.",
"struct_name": "Butterworth3",
"source_file": "butterworth",
"boundary_kind": "scalar"
},
{
"slug": "cci",
"name": "Commodity Channel Index (CCI)",
"description": "A versatile indicator that can be used to identify a new trend or warn of extreme conditions.",
"usage": "Use to identify cyclical turns in commodities or stocks. Readings above +100 imply a strong uptrend, while readings below -100 imply a strong downtrend.",
"category": "Classic",
"keywords": [
"momentum",
"oscillator",
"classic",
"mean-reversion"
],
"params": [
{
"name": "timeperiod",
"default": "14",
"description": "Lookback period"
}
],
"formula_source": "https://www.investopedia.com/terms/c/commoditychannelindex.asp",
"formula_latex": "\n\\[\nCCI = \\frac{Price - SMA}{0.015 \\times \\text{Mean Deviation}}\n\\]\n",
"gold_standard_file": "cci.json",
"ehlers_summary": "Developed by Donald Lambert in 1980, the CCI measures the current price level relative to an average price level over a given period. CCI is relatively high when prices are far above their average and relatively low when prices are far below their average. — StockCharts ChartSchool",
"struct_name": "",
"source_file": "momentum",
"boundary_kind": "scalar"
},
{
"slug": "cdl2crows",
"name": "Two Crows",
"description": "A bearish reversal pattern consisting of three candles.",
"usage": "Signals a potential top in an uptrend.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdl2crows.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdl3blackcrows",
"name": "Three Black Crows",
"description": "A bearish reversal pattern with three long red candles.",
"usage": "Signals a major trend reversal to the downside.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdl3blackcrows.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdl3inside",
"name": "Three Inside Up/Down",
"description": "A reversal pattern confirmed by a third candle.",
"usage": "Signals a more reliable trend change than a simple harami.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdl3inside.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdl3linestrike",
"name": "Three-Line Strike",
"description": "A continuation pattern where four candles are involved.",
"usage": "Signals a temporary pause before the trend continues.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdl3linestrike.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdl3outside",
"name": "Three Outside Up/Down",
"description": "A reversal pattern confirmed by a third candle.",
"usage": "Signals a more reliable trend change than a simple engulfing.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdl3outside.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdl3starsinsouth",
"name": "Three Stars In The South",
"description": "A rare bullish reversal pattern in a downtrend.",
"usage": "Indicates a gradual exhaustion of selling pressure.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdl3starsinsouth.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdl3whitesoldiers",
"name": "Three White Soldiers",
"description": "A bullish reversal pattern with three long green candles.",
"usage": "Signals a major trend reversal to the upside.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdl3whitesoldiers.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdlabandonedbaby",
"name": "Abandoned Baby",
"description": "A very rare reversal pattern with a doji gapping away.",
"usage": "One of the most reliable reversal signals.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdlabandonedbaby.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdladvanceblock",
"name": "Advance Block",
"description": "A bearish reversal pattern in an uptrend.",
"usage": "Indicates weakening momentum in an upward move.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdladvanceblock.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdlbelthold",
"name": "Belt-Hold",
"description": "A single candle pattern signaling a reversal.",
"usage": "Indicates a strong opening in the opposite direction of the trend.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdlbelthold.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdlbreakaway",
"name": "Breakaway",
"description": "A five-candle reversal pattern.",
"usage": "Signals the breakout from a short-term consolidation.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdlbreakaway.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdlclosingmarubozu",
"name": "Closing Marubozu",
"description": "A candle with no shadow at the closing end.",
"usage": "Indicates strong conviction in the direction of the close.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdlclosingmarubozu.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdlconcealbabyswall",
"name": "Concealed Baby Swallow",
"description": "A rare bullish reversal pattern.",
"usage": "Indicates a final 'flush out' before a reversal.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdlconcealbabyswall.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdlcounterattack",
"name": "Counterattack",
"description": "A reversal pattern where the second candle closes at the same level as the first.",
"usage": "Signals a stalemate after a strong move.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdlcounterattack.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdldarkcloudcover",
"name": "Dark Cloud Cover",
"description": "A bearish reversal pattern in an uptrend.",
"usage": "Indicates a significant rejection of higher prices.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdldarkcloudcover.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdldoji",
"name": "Doji",
"description": "A candlestick pattern where the open and close are virtually equal.",
"usage": "Indicates indecision between buyers and sellers.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdldoji.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdldojistar",
"name": "Doji Star",
"description": "A reversal pattern where a doji gaps away.",
"usage": "Signals a potential shift in trend momentum.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdldojistar.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdldragonflydoji",
"name": "Dragonfly Doji",
"description": "A doji with a long lower shadow and no upper shadow.",
"usage": "Signals a potential bullish reversal.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdldragonflydoji.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdlengulfing",
"name": "Engulfing",
"description": "A pattern where a larger candle completely covers the previous smaller candle.",
"usage": "Signals a strong shift in momentum.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdlengulfing.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdleveningdojistar",
"name": "Evening Doji Star",
"description": "A bearish reversal pattern involving a doji.",
"usage": "A highly reliable signal of a market top.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdleveningdojistar.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdleveningstar",
"name": "Evening Star",
"description": "A bearish reversal pattern with three candles.",
"usage": "Signals a peak in an uptrend.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdleveningstar.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdlgapsidesidewhite",
"name": "Up/Down-Gap Side-By-Side White Lines",
"description": "A continuation pattern involving gaps.",
"usage": "Signals that the current trend is likely to continue.",
"category": "Patterns",
"keywords": [
"pattern",
"candlestick",
"classic"
],
"params": [],
"formula_source": "https://www.investopedia.com/articles/active-trading/062315/using-bullish-candlestick-patterns-buy-stocks.asp",
"formula_latex": "\n\\text{Pattern Recognition Logic (TA-Lib Internal)}\n",
"gold_standard_file": "cdlgapsidesidewhite.json",
"ehlers_summary": "Candlestick patterns were popularized in the West by Steve Nison in his 1991 book 'Japanese Candlestick Charting Techniques'. These patterns provide a visual representation of market psychology and the balance of power between buyers and sellers at key price levels.",
"struct_name": "",
"source_file": "pattern",
"boundary_kind": "pattern"
},
{
"slug": "cdlgravestonedoji",
"name": "Gravestone Doji",