mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-26 06:18:05 +00:00
Refactor indicators to include "Ehlers" in names and descriptions for clarity
- Updated the name and description of the Hilbert Trendline (HTIT) to "Ehlers Hilbert Transform Instantaneous Trend (HTIT)". - Changed the name and description of the MESA Adaptive Moving Average (MAMA) to "Ehlers MESA Adaptive Moving Average". - Modified the Center of Gravity (CG) indicator to "Ehlers Center of Gravity (CG)". - Renamed the Detrended Synthetic Price (DSP) to "Ehlers Detrended Synthetic Price (DSP)". - Updated the Autocorrelation Periodogram (EACP) to "Ehlers Autocorrelation Periodogram (EACP)". - Changed the Homodyne Discriminator (HOMOD) to "Ehlers Homodyne Discriminator (HOMOD)". - Updated the Hilbert Transform Dominant Cycle Period and Phase indicators to include "Ehlers" in their names. - Renamed the Hilbert Transform Phasor Components to "Ehlers Hilbert Transform Phasor Components (HT_PHASOR)". - Updated the SineWave indicator to "Ehlers Hilbert Transform SineWave (HT_SINE)". - Changed the Phasor Analysis indicator to "Ehlers Hilbert Transform Phasor Components (HT_PHASOR)". - Updated the SSF-Based Detrended Synthetic Price to "Ehlers SSF Detrended Synthetic Price (SSFDSP)". - Renamed the Ultimate Channel to "Ehlers Ultimate Channel (UCHANNEL)". - Added new indicators: Moving Average Variable Period (MAVP), Ehlers Predictive Moving Average (PMA), Ehlers Reverse EMA (REVERSEEMA), and Ehlers Trendflex Indicator (TRENDFLEX). - Updated various SVG badges to reflect changes in classes, comments, source files, lines of code, methods, and public types.
This commit is contained in:
@@ -12,7 +12,7 @@ public class HpfIndicatorTests
|
||||
Assert.Equal(40, indicator.Length);
|
||||
Assert.Equal(SourceType.Close, indicator.Source);
|
||||
Assert.True(indicator.ShowColdValues);
|
||||
Assert.Equal("HPF - Highpass Filter (2-Pole)", indicator.Name);
|
||||
Assert.Equal("HPF - Ehlers Highpass Filter", indicator.Name);
|
||||
Assert.False(indicator.SeparateWindow);
|
||||
Assert.True(indicator.OnBackGround);
|
||||
}
|
||||
|
||||
@@ -30,8 +30,8 @@ public class HpfIndicator : Indicator, IWatchlistIndicator
|
||||
{
|
||||
OnBackGround = true;
|
||||
SeparateWindow = false;
|
||||
Name = "HPF - Highpass Filter (2-Pole)";
|
||||
Description = "2-Pole Infinite Impulse Response (IIR) highpass filter.";
|
||||
Name = "HPF - Ehlers Highpass Filter";
|
||||
Description = "Ehlers Highpass Filter: 2-pole IIR highpass filter for cycle isolation and detrending.";
|
||||
_series = new LineSeries(name: $"HPF {Length}", color: IndicatorExtensions.Statistics, width: 2, style: LineStyle.Solid);
|
||||
AddLineSeries(_series);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# HPF - Highpass Filter (2-Pole)
|
||||
# HPF: Ehlers Highpass Filter
|
||||
|
||||
> "Noise is just signal you haven't figured out how to filter yet. Or maybe, it's the only signal that matters."
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// The MIT License (MIT)
|
||||
// © mihakralj
|
||||
//@version=6
|
||||
indicator("Highpass Filter (2-Pole) (HPF)", "HPF", overlay=true)
|
||||
indicator("Ehlers Highpass Filter (HPF)", "HPF", overlay=true)
|
||||
|
||||
//@function Calculates 2-Pole Highpass Filter
|
||||
//@param src Series to calculate HPF from
|
||||
|
||||
Reference in New Issue
Block a user