Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 37
Like Tree7Likes

Digital Filters

This is a discussion on Digital Filters within the Trading Systems forums, part of the Trading Forum category; What is AT&CF? It is Adaptive Trend & Cycles Following indicators. What is FATL and SATL? FATL (Fast Adaptive Trend ...

      
   
  1. #1
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin

    Digital Filters

    What is AT&CF?
    It is Adaptive Trend & Cycles Following indicators.

    What is FATL and SATL?

    FATL (Fast Adaptive Trend Line) - is formed with the digital filter of the low frequency LPF-1. Filter LPF-1 serves to suppress noises of high frequency and market cycles with very short periods of oscillation that can be considered as noise.

    SATL (Slow Adaptive Trend Line) - is formed with the digital filter of the low frequency LPF-2. Filter LPF-2 serves to suppress noises and market cycles with longer periods of oscillation.

    Filters of low frequency LPF-1 and LPF-2 provide attenuation in the stop band with no less than 40 dB and absolutely don't distort the amplitude and phase of entry discontinuous price series in the pass band (bandwidth).

    These properties of the digital filters provide significantly improved (in comparison with simple moving average) noise suppression that in its turn allows reducing sharply the probability of appearance "false" signals for purchase and sell.

    There are no analogues to FATL and SATL among widely known technical instruments. These are not moving "average", but just the adaptive lines estimates of the short term and long-term trends. Unlike moving "average", FATL and SATL have no any phase delay with regard to current prices.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  2. #2
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin

    What is RFTL (Reference Fast Trend Line) and RSTL (Reference Slow Trend Line)?

    What is RFTL (Reference Fast Trend Line) and RSTL (Reference Slow Trend Line)?

    RFTL and RSTL are support "slow" trend line are digital filters response of LPF 1 and LPF 2 to the entry discontinuous series taken with delays. Support lines of RFTL and RSTL are analogues to simple moving "average" in the sense of their delay in relation to the current prices.

    Indicators of FTLM (Fast Trend Line Momentum) and STLM (Slow Trend Line Momentum) show the tempo of change (fall or growth) of FATL and SATL and are calculated similarly to indicator Momentum by formulas:
    FTLM(k) = FATL(k) - RFTL(k),
    STLM(k) = SATL(k) - RSTL(k).
    andrew likes this.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  3. #3
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin

    Main difference of FTLM and STLM

    Main difference of FTLM and STLM from classical technical instrument Momentum is that for its calculation not the close prices but smoothed (leveled) in the result of filtration values of the trend line are used. In the result FTLM and STLM turn out more leveled (smoothed) and regular functions than the classical instrument Momentum, and therefore have more forecasting value.

    During computation the classical indicators Momentum requirement is often not fulfilled and it leads to unavoidable distortions in the spectrum of the entering signal. Specialists in the digital processing of the signals name these distortions aliasing that is frequencies overlay or ambiguity. This ambiguity leads to strong irregularity and chaos in the classical technical indicator Momentum.

    A set of the technical instruments of the method contains two more new oscillators. They are indexes of RBCI and PCCI.
    RBCI (Range Bound Channel Index) - is calculated by means of the channel (bandwidth) filter (CF).
    PCCI Index (Perfect Commodity Channel Index) - is a perfect commodity channel index.
    It has some outer similarity in the calculating method with commodity channel index CCI by D. Lambert. Indeed, CCI index is calculated as normalized difference between current price and its moving average and PCCI - as the difference between closing price and its mathematical expectation represented by the FATL value. Here lies more than in comparison with CCI the perfection of PCCI. PCCI index - is a normalized for its standard deviation high frequency component of the currency rate volatility.

    Main Principles for the Trading Algorithm Development Using the Digital Filters:
    • Trade only in the direction of the prevailing tendency the direction of which is specified by "slow" adaptive trend line SATL;
    • To consider dynamic characteristics of the "fast" and "slow" trend represented by the FTLM and STLM indicators;
    • To use information on what area of the values (neutral, overbought, oversold, local maximum and local minimum) is the sum of prevailing market cycles (index of RBCI) in chosen by means of frequency range spectral analysis;
    • To take oscillator signals as secondary ones in cases when trend indicators are evidence of the very marked bearish or bullish tendency availability;
    • To take oscillator signals as main ones in cases when trend indicators give signals about absence of the very marked tendency;
    • To use flexible system of protective stop orders based on the values of RBCI, PCCI indexes and volatility values of the "fast" market oscillations.

    Main rules for the above mentioned instruments interpretation are the following:
    • Growing SATL line is evidence of the bullish trend on the market. The point of the reversal beginning of the bearish trend is considered the point of the local minimum of SATL. The point of finishing the reversal of the bearish trend is the point where the sign of STLM changed from minus into plus.
    • Falling SATL line is evidence of the bearish trend on the market. The point of the bullish trend reversal beginning is considered the point of the local SATL maximum. The point of finishing the bullish trend reversal is the point where STLM sign changed from plus into minus.
    • Close to horizontal the form of SATL is evidence of the neutral tendency.
    • STLM interpretation requires special attention. Positive value of STLM is evidence of the bullish trend and the negative one testifies the bearish trend. STLM is an advance indicator. Local minimum of STLM always precedes the local minimum of SATL. Local maximum of STLM always precedes the local maximum of SATL. Achievement by STLM its points of extremum is necessary but insufficient condition for the achievement by the curve of SATL the top or the bottom. Growing STLM at growing SATL is evidence of the bullish trend acceleration. Horizontal and positive STLM at growing SATL is evidence of the set bullish trend. The more absolute the value of STLM, the more potential the bullish trend has. Falling STLM at falling SATL testifies the bearish trend acceleration.

    Horizontal and negative STLM at growing SATL testifies the bearish trend setting. The more absolute value of STLM, the more potential the bearish trend has.
    andrew likes this.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  4. #4
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    • Growing "fast" FATL trend line at the growing "slow" SATL trend line is evidence of the strong bullish trend on the market.
    • Falling "fast" line of FATL at the falling "slow" line of SATL is evidence of the strong bearish trend on the market.
    • Growing FATL line at falling SATL line is evidence of either bullish correction at the bearish trend or consolidation.
    • Falling FATL line at growing SATL line is evidence of either bearish correction at the bullish trend or consolidation.
    • The beginning or resuming the movement in one direction of FATL and SATL lines give signals either on the tendency reversal or finishing the correction and resuming price movement in the SATL direction.

    There are four different type of digital filters:
    • Low Pass Filter (FATL/SATL, RFTL/RSTL, KGLP);
    • High Pass Filter (KGHP);
    • Band Pass Filter (RBCI, KGBP);
    • Band Reject (stop) Filter (KGBS).

    What are KGLP, KGHP, KGBP and KGPS?
    What are the differences between FATL, SATL, KGLP etc?
    All the filters are utilized Park Mc Allen algorithm of synthesis of digital filters by two methods:
    • some of them are based on digital signal processing library MtxVec 1.51, having algorithm, described in: Discrete-time signal processing. Openheim and Schafer, Prentice-Hall, 1989 and Theory and application of digital signal processing, Lawrence R. Rabiner and Bernand Gold. Prentice-Hall, 1975.

    In other words, the Low Pass Filter (FATL/SATL, RFTL/RSTL, KGLP) is gating the fluctuation with the frequency less than specified.

    High Pass Filter (KGHP) is gating the fluctuation with the frequency above (higher than) specified.
    Band Pass Filter (RBCI, KGBP) is gating the fluctuation with specified band.
    Band Reject Filter (KGPS) is gating the fluctuation except specified band.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  5. #5
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Pass band cutoff frequency of LPF, P1 (bars):
    - the cutoff expressed in bars. All swings of the price of the period more than P1 will be suppressed. In classical MA it corresponds to the moving average period.

    Stop band frequency, D1 (bars):
    - transient period. The recommended value for FATL is 2 days. For slow filters such SATL the difference between D1 and P1 need to be more significant.

    Ripples in the pass band, R (Db):
    - That value needs to be set up as low as possible in order to decrease distortions.

    Stop Band attenuation, A1 (-dB):
    - That value defines attenuation in stop band region. The recommended value is - 40dB that corresponds to 100 times attenuation.

    Delay, Bar:
    - That value defines a delay of the digital filter expressed in bars, for RFTL and RSTL to be more smooth and predictable.

    For the FATL or KGLP the recommended parameters are P1=10; D1=8; R=0.0864, A1=-40; and Delay=0;
    or 13; 10; 0.06; -40; 0;
    or 25; 13; 0.001; -60; 0.

    For the SATL/KGLP:
    79; 35; 0.039; -40; 0; or
    49; 25; 0.024; -40; 0; or
    50; 26; 0.001; -60; 0.

    For RFTL and RSTL the recommended parameters are the same with KGLP but delay should be above zero integarl number.

    But we may use our own settings according to the pairs, timeframe etc.

    Digital Filters-lowpass22.png


    Digital Filters-lowpass11.png


    Calculation of band pass (indicator KGBP, RBCI) and band stop filters (indicator KGBS).
    Three extra input values are needed for such filters.
    Additional parameters are used:
    - Pass Band Cutoff frequency, P2.
    - Stop Band frequency, D2
    - Attenuation in Stop Band region, A2.

    Other parameters are the same, as at the filters described above.

    Digital Filters-band_stop_filter2.png


    Digital Filters-band_pass_filter1.png


    We can create any combination of filters in one indicator.

    And what is more, we can estimate all the parameters using the chart with your desirable pair and timeframe.

    And more: we may compare the characteristics of several filters and we may see it on the charts.

    Besides, we may use dll files to create any filter in MT4 even without any software.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  6. #6
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    It was a story about digital filters: about the army and navy, Royal Military Academy of the UK and russian people from Siberia.

    That's all news
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  7. #7
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Digital filters - separate 600+ indicator is on this post. This is MTF indicator.

    Just about FilterType parameter of Digital filters - separate indicator indicator :
    • FilterType = 0 is FTLM
    • FilterType = 1 is for STLM
    • FilterType = 2 is RBCI
    • FilterType = 3 is PCCI

    Digital Filters-df-separate-600-.png


    Digital Filters-eurusd-h1-ibfx-inc.png


    Digital Filters-eurusd-h1-ibfx-inc-2.png
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  8. #8
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin

    All Digital Filters indicators - old ones

    Please find old digital filters indicators attached which I found inside my PC.

    Trend signals (RSTL):

    Digital Filters-trendsignal_if_rstl_min.gif


    FARL crossing RFTL:

    Digital Filters-fatl_crossing_rftl.gif


    RBCI:

    Digital Filters-rbci.gif
    Attached Files Attached Files
    boxer likes this.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  9. #9
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Just 2 articles related to digital filters attached.
    Attached Files Attached Files
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  10. #10
    Senior Member matfx's Avatar
    Join Date
    Sep 2013
    Location
    Malaysia
    Posts
    1,178
    Blog Entries
    114
    Follow matfx On Twitter
    I have 2 in my collection, digital CCI and digital MACD.

    Digital Filters-digital-cci.png

    Digital Filters-digital-macd.png
    Attached Files Attached Files
    newdigital and HDHORDA4 like this.
    Follow my official trading theregulartrader blog

Page 1 of 4 1 2 3 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •