Relative Bias Filter

Relative Bias Filter

INDICATOR
– Relative Bias Filter
– Version 1.01
– Maz @ prorealcode.com

I have developed this indicator primarily as a tool for algorithmic trading. This version has been formatted for easy graphical representation. It can also work as an aid on the chart.

Relative Bias Filter is used as a tool to prevent taking low probability trades. Please do come forward if you find this useful and/or wish to discuss further.

Outputs
Top line threshold beyond which no shorts should be taken
Bottom line threshold beyond which no longs should be taken
Signal line – to be interpreted as a soft switch or recommendation

INTERPRETATION
There are multiple ways to interpret this indicator but its primary function is to help you avoid low probability positions. Here are some scenarios:

– Signal line moving up into the STRONG (top) line represents bull trend strength and recommends against going short. Longs that are already running have a good chance.

– Signal line moving down into the the WEAK (bottom) line represents bear trend strength and the recommendation is against taking longs. Shorts that are aleady running have a good chance.

– LONG setups may arrise when the bias filter line pops up above the WEAK bottom line. Long setup is weaker if the bias filter curves off. Any such setups should be validated with other indicators

– SHORT setups may arrise when the bias filter line pops down below the STRONG top line. Short setup is weaker if the bias filter line curves off. Any such setups should be validated with other indicators

SETTINGS
Response: (Typical range – 25 to 100)
This adjusts the responsiveness of the signal line. Lower values are less lagging and more noisy. Higher values are less noisy but more lagging. Optimizations should take place on your intended instrument.

Cutoff: (Typical range – 1 to 20)
This adjusts bandwidth between the top (strong) and bottom (weak) lines. The higher the number the more sensitive the “Do not long” / “Do not short” switch becomes.

MODES
Reletive Bias Filter runs in 4 modes:
– Simple
– Dynamic
– Complex
– Complex Dynamic

Each combination of modes will have a considerable affect on overall output.

Dynamic mode:
In Dynamic mode the indicator will adjust an internal look-back period relative to the response rate setting (double the response setting). Without Dynamic switched on, the internal look-back is always set to 200 bars. This is used

Complex mode:
In Complex mode we introduce ADX weighting to our signal switch. If the ADX is strong and rising, we accelerate our signal line and thus we switch bias more quickly. If the ADX is weak and falling then our signal line is attenuated and thus we reach our extremes less quickly. Using Complex mode helps to validate price action strength and weakness. You will receive more setups with complex mode – but also more noise. I won’t go into the technical explanation of how complex mode is calculated but feel free to get in touch if you have any suggestions.

 

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. victormork • 05/11/2017 #

    how can I code the slope of the result line? So that I can take long trades when the line is going from bottom to top and short when it’s going down.

  2. Elsborgtrading • 05/11/2017 #

    Thanks for this MAZ:-)
    I will also try and implement it in manual trading.
    I changed the variables to fit a 15 min TF
    Seems valid
    // response = 50
    // cutoff = 10
    // dynamicMode = 1 // true | false
    // complexMode = 1 // true | false
     

  3. ALE • 05/11/2017 #

    Thanks! excellent

  4. Swingforfortune • 05/11/2017 #

    Thanks Maz.

  5. finplus • 05/11/2017 #

    Thanks for the job. Which variables do you suggest for timeframe 1 hour? 

    • 1Randy • 05/11/2017 #

      This a great momentum filter! I would like to see volume momentum incorporated into the indicator. The idea would consist of reduced price momentum and increase in volume momentum for supply and demand zone setups. Any ideas?

  6. Maz • 05/11/2017 #

    Depends massively on your market and the volatility. I suggest using the variable optimizer by writing a simple buy/sell trading system. Otherwise just play around until it until you can discover a reliable pattern.  

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
gregus bonjour a tous quelqu un pourait il recodé en prt il sagit  du dynamique zone ma, je n arri...
Nicolas Merci de faire une requête spécifique sur le forum. 
Nicolas
8 years ago
StepRSI
StepRSI
5
Indicators
Nicolas Thanks for this modification, I still do not have tested it, where did you get this idea to ...
rfsteve Trial and error from study of indicators call it coding mad science was trying to find an in...
Maxime Baudin Nice! Thanks :)
Nicolas
8 years ago
supertiti bonjour à tous J'utilise cet indicateur depuis plusieurs mois, une fois règlé "K" à sa conv...
Nicolas
8 years ago
GraHal Forked code I mention above is here ... GraHal wrote: So below is the PRC Stochastic RSI v...
GraHal Try again (quite limited what you can do as Comments in the Library) https://www.prorealco...
AutoFlanders Thanks GraHal, that's what i was looking for
Nicolas
8 years ago
T3 Velocity
T3 Velocity
16
Indicators
tatankayotanka As you can do to set a marker directly in the price property page and then view it such as m...
Nicolas It may be a good idea to discuss this in the forum instead. Please open a new topic in probu...
Wester Hi, is this more or less the same as the TTM Squeeze indicator (john carter)
Dimi.A Awesome mate.
mora87 Hi David and Nicola, I'd like to share idea with you guys which is related to David's Idea. ...
Nicolas Please ask for custom coding in forums instead.
jeanphi0034 Hello, I would like to use the QQE indicator which is based on smooth RSI as far as I unders...
ilstefano Bonjour Nicolas, te serait il possible de rajouter la fast ATR manquante dans le code? Merci
Nicolas Désolé je ne comprends pas la question ?
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 ...
Naren Yanan what is    diplus  diminus  please
Barney Has anyone tested this algon now when PRT 10.3 was released?
Yngve does anyone know if the issue with the TP/SL is resolved ?
zilliq The reasons why I think it's time consuming and we loose time to try to do backests and Auto...
filiprb Hello Zilliq, You don't need a system to produce a walk forward test. You can easily create...
Philip Raphael It is incredible! Thanks for sharing, Doctrading!
s00071609 Hi, could you please suggest, what this codes gives, lowest[b](rsi[a]) -- just trying to us...
Nicolas lowest[b](rsi[a]) returns the lowest values of the RSI of "a" periods, over the last "b" per...
s00071609 Hi, what would be the code to get the price for last bullish DTOSC cross over. I am looking ...
Doctrading I forgot to write at the beginning :  a = 50 b = 50 These are intermediate levels Sorry
DerPat Thank you. This one could be an aid in my current research on stochastics.
Pelayo it is possible that in line 12 we should put seuilinf=-b, thaks for all
lglmrc Can't make it work, says: "Define p variable"
Ezio Hi Xel and thanks, do you know if there is a way in PRC of reading/counting intraday ticks?...
inadis ive just discovered this, i must say very nice thanks.
Nicolas RSI is an oscillator made for price centering. This strategy bet on mean reverting phenomena...
air Good start. Works decently during stock runaway bull market. I have tested it over 80 year p...
TheHovisTrader Hi - the way Larry trades it does not work - discovered that over 10 years ago! BUT If you ...
phili711 Bonjour Si la moyenne 100 est au dessus de la moyenne 20 le trend est baissier zlors pourqu...
Nicolas La comparaison se fait entre la valeur de la moyenne actuelle et telle qu'elle était il y a ...
Thomas007 we should definitely open a new thread for intraday trading - can we post the link once it's...
Glen Marquis I wonder how this fairs on 5 or 15 mins. Maybe 21 or 25 instead of 14 .
Doctrading Hello, you can test it. It's not my best strategy... but I think someone can improve it.
Investment Account Wow great thanks ... looks good! Do I set the colour shades up from within the indicator 's...
avatar
Anonymous Thanks for your comments and yes, that is exactly how I set up the colour levels.
Vish Thanks I have added this in my watch list. Has anyone tried it yet ? Does it work on currenc...

Top