Super bandpass filter – John Ehlers

Super bandpass filter – John Ehlers

Here is the newest indicator by John Ehlers described in the new traders’tips of July 2016, like his other indicators this one is also a nearly-zero lag filter which is another attempt to filter out noises from high and low frequencies of market data.

John Ehlers describe the trading rules of this new indicator as this:

  • Buy on the filter crossing above its -RMS line
  • Short on the filter crossing below its RMS line
  • Exit long when the filter either crosses below its RMS or crosses below -RMS (which signifies a false entry signal)
  • Cover short when the filter either crosses above its -RMS or crosses above RMS (which signifies a false entry signal)

 

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Hans63 • 07/17/2016 #

    For intraday purpose I tried to modify the parameters
    Rules are different. It works like a stop and reverse
    Long on the filter crossing above its RMS line. Stay Long until the filter is crossing below the lower line (band), then reverse the position from Long to Short
    Short on the filter crossing below its RMS line. Stay Short until the filter is crossing above the higher line (band), then reverse the position from Short to Long
    It works well on Germany 30 5 min
     
    // parameters
    flen = 20//fast length
    slen = 30 //slow length

    if barindex>slen then
    a1= 5/flen
    a2= 5/slen
    PB = (a1 - a2) * close + (a2*(1 - a1) - a1 * (1 - a2))* close[1] + ((1 - a1) + (1 - a2))*(PB[1])- (1 - a1)* (1 - a2)*(PB[2])
    RMSa = summation[25](PB*PB)
    RMSplus = sqrt(RMSa/25)
    RMSminus = -RMSplus
    endif

    RETURN PB as \"Pass band filter\", RMSplus as \"RMS+\", RMSminus as \"RMS-\"

     

    • Nicolas • 07/17/2016 #

      Nice, thanks for sharing. How much profitability lookback do you have with this indicator modification? 

  2. Hans63 • 07/17/2016 #

    Well, I am a discretionary trader, so I don’t trade all the signals given by a system or by indicators
    All I can say is that this indicator give you good entry points.
     

    • Nicolas • 07/17/2016 #

      …and that’s clever, thanks again for your feed back and your sharing.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
supertiti
9 years ago
Murray math levels
Murray math levels
2
Indicators
MonopolyTm Hello, Do you think it is possible to code something similar to the example in the following...
robertogozzi Why HAUT and BAS have been calculated AFTER line 8? Shouldn't they be calculated BEFORE lin...
zilliq Be careful, It works only if you are in daily timeframe, and on your graphic you are on hou...
DerPat I guess you are right, like always. If you change n to 24 you have at least the hours of a d...
gabri DerPat, you can also change line1 to read as follow to adapt this script to hourly timefram...
supertiti
9 years ago
Nicolas
9 years ago
ALMA MACD
ALMA MACD
7
Indicators
Arnaud HALVICK Great indicator, thank you!
JMat45 Hi Nicolas, just reviewing this indicator and noticed that you have double assigned the vari...
Nicolas That would not make any difference because the code is read from top to bottom.
Pere
9 years ago
Low-High Bands
Low-High Bands
5
Indicators
supertiti Hola Petrus Estas aficionado de vino para tener este mote ? El canal de donchian es la bas...
Petrus Hombre, no te diré que no me guste el vino, y en especial éste, pero aún me faltan muchos tr...
Petrus Saludos desde Barcelona!
Nicolas Use the wrench of the price chart! Upper left of the window
Dymjohn The wrench shows options for the components of the indicator not how to show in the main cha...
Nicolas http://www.prorealcode.com/topic/overlapping-indicators/  
Conte Caimano
9 years ago
Butterworth Filter
Butterworth Filter
7
Indicators
Nicolas Do I need to change the code accordingly to your formula?
StefanoCG ciao Fabio ... non hai mica tutti i torti ... la notte bisognerebbe dormire per non scrivere...
Nicolas
9 years ago
Nicolas You will find the VWAP code from PRT here: https://www.prorealcode.com/topic/is-there-any-wo...
keks Thanks for sharing this wonderful code. Is there a way to draw a horizontal line to plot pre...
taklause Hello, just one question, can it be that this indicator does not work on ProRealTime v12? T...
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
elanoa Buonasera sig. Nicolas......sarebbe possibile far in modo che quando l'indicatore raggiunga ...
Philip Raphael Hey! Thank so much for sharing this wonderful indicator! I have always tried to code a simil...
CKW Hi Philip, What do you mean "Years" are not defined ? candle? If to code yearly candle size...
dakaodo Years not defined was probably b/c Phillip copied and pasted the code into PRT instead of im...
Nicolas
9 years ago
Williams Percent %R
Williams Percent %R
4
Indicators
Nicolas Thank you but no sorry. Still have some trouble with the comments system. I will fix it soon.
Manuel Cerbi Come posso modificare il codice in modo da poter cambiare a piacimento il numero di periodi?...
Geronima Ortiz period = 14 a posto di 14 scrivi np poi crei una variabile con lo stesso nome
roos Hi Nicolas, another really helpful bit of code, thank you! Can I ask how you might amend so ...
Denis Good evening Nicolas, could you tell me where thae arrows on the chart come from ? I don't s...
Nicolas there is no arrow in this indicator.
bluetime6 Hello Doctrading.   Can you ask you for something? Can you code a screener screen po...
Nicolas
9 years ago
Suzu Yuk Hello, I am still getting the same error even after removing the // in front of the “myPe...
carlvan J'ai la même erreur. Pourtant ABS donne par définition un nombre positif
Nicolas Essayons de remplacer la ligne 27 par: averageperiod=max(round(averageperiod),2)
Nicolas Well done supertiti, nicely coded and very accurate.
Dimi.A Beautiful.
gianlox I added a simple momentum indicator (MACD). I think much better results:   achat = 0v...
gianlox achat = 0 vente = 0 MACD12M = MACDline[12,26,9](close) MACD12S = ExponentialAverage[9](MA...
proreal82 Testing it out, and sorry guys but this indicator is ridiculous. Don't use it!
rama I have tested this indicator , this is one of the best indicator for scalping , I tested on ...
Regan2020 Hi Rama, I am using the indicator now, but it doesn't seem to form live time, and only indic...

Top