Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Phase accumulation adaptive bandpass filter - indicator for MetaTrader 5

Views:
5526
Rating:
(11)
Published:
2019.01.08 15:37
Updated:
2019.01.08 15:37
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Theory :

Short description of bandpass filter by John Ehlers :

The objective in cycle mode is to filter out the unwanted components – both low frequency trends and the high frequency noise – and retain only the range of frequencies over the desired swing period . A filter for doing  this  is called a bandpass filter and the range of frequencies passed  is the filter’s bandwidth .

This version is using Hilbert transform phase accumulation for bandpass filter period, hence making it adaptive. The phase accumulation expects you to specify the number of cycles it should fill when looking for current bar period. The cycles can be fractional, hence you are not limited to full cycles

Usage :

You can use the color changes as signals


Zero mean normalized nonlinear Kalman filter - with floating levels Zero mean normalized nonlinear Kalman filter - with floating levels

Zero mean normalized nonlinear Kalman filter - with floating levels

Zero mean normalized nonlinear Kalman filter Zero mean normalized nonlinear Kalman filter

Zero mean normalized nonlinear Kalman filter

Phase accumulation adaptive market mode Phase accumulation adaptive market mode

Phase accumulation adaptive market mode

Phase accumulation adaptive market mode - discontinues signal lines Phase accumulation adaptive market mode - discontinues signal lines

Phase accumulation adaptive market mode - discontinues signal lines