Twin Range Filter

Twin Range Filter

An experiment to combine two range filters and plot the average of both to smooth out the signals.

This works significantly better than the typical ATR set-up, but there’s still too much noise here to set and forget with bots. Use it as the basis of your own system with additional filtering on top.

(original description from author: colinmck)

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. LUCTRUONG78 • 03/28/2023 #

    Merci beaucoup Nicolas, Il a l’air vraiment interessant. Je vais le tester 😉

  2. Nolubok • 03/28/2023 #

    Bonjour de la Bretagne, merci Nicolas toujours parfait! (serait il possible d’avoir le SCR ? )

    • Nicolas • 03/28/2023 #

      Merci de formuler la demande dans le forum des screeners.

  3. YvesRobert • 03/28/2023 #

    Bonjour, qui pourrait me dire ou trouver la variable rngfilt car on ne la voit pas dans le programme ? Est-ce un appel à un autre programme ? Merci à vous.

    • Nicolas • 03/28/2023 #

      c’est la valeur de la ligne visible sur le graphique, définit plusieurs fois dans le code pourtant ?! 🙂

  4. YvesRobert • 03/28/2023 #

    Bonjour Nicolas, concernant cet indicateur j’ai voulu l’utiliser mais il commence à tracer les lignes vertes et rouges sur le graphique très tard, pourquoi ? Par exemple en backtest je met 50k pour avoir plus de bougies d’études mais il comment à tracer bien après ! Une variable à réajuster peut-être ? En te remerciant pour ta réponse et ton aide. Bonne journée.

    • Nicolas • 03/28/2023 #

      Je ne rencontre pas ce problème avec le NASDAQ par exemple, ce serait plus simple d’ouvrir un sujet sur le forum et d’y ajouter des copies d’écrans, merci !

  5. YvesRobert • 03/28/2023 #

    Bonjour Nicolas, en effet ca marche, je me suis trompé, j’ai bien tout le tracé. C’est parce que j’avais mis une date de début, autant pour moi ! Bonne Soirée.

  6. oliTR • 03/28/2023 #

    Bonjour, les conditions longCond et shortCond ne contiennent-elles pas une condition qui s’annule quasiment d’elle-même: source > source[1] OU source < source[1] ?

  7. xpe74 • 160 days ago #

    Utilitaire vraiment top, d’autant qu’ajouter des filtres de seuil peux aider a limiter le nombre d’entrées sorties visuelles. ça marche sur tous les indices testés…Par contre (comme je suis toujours débutant pour la partie codage) je cherche a voir si il est possible d’attribuer une valeur au déclenchement de la flèche (up ou down) pour en déduire un signal achat ou vente. Je cherche le moyen de convertir la création de flèche en signal ( lignes 57 à 61 du code) …Merci pour le coup de main ( et merci Nicolas pour le partage)

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
mahdi how can I import itf file into mt4? please help
Nicolas That code is not for MT4, we do not offer free assistance for this platform, but you can ask...
guinsu2000 hello could you share your copy in a pdf or where you whant please ?
Steven Bahia Hi Nicolas - great indicator - is there a way to place a alert when the Oscillator crosses ...
Nicolas Alerts can't be programmed, you have to set them yourself with the Alert tool of the platfor...
Steven Bahia just to add to this would there be a way to establish a entry price from the Oscillator
juanj And the point of violation is the close of the candle that violates the line by generating a...
juanj For the latest version of the strategy or to follow updates and developments see the thread ...
phanz i backtested it with 10K units of EURUSD 1 hour i get an equity curve that is going one way ...
Wing Not yet but I plan to.
Leo Have a look in this Forum, I got something interesting for you... https://www.prorealcode.co...
Dávid Gyalus Dear Wing, As I am a daytrader, and one of my best friend is a programmer we think your a...
EchnatonX Hallo Im Demomodus bei IG habe ich das Problem, dass oft keine Orders ausgeführt werden kön...
Jan EchnatonX, nice late answer of me: Make the stop loss a percentage of the close, like 100/...
guleny Hello I made some optimization to make it better. But there are 5 transacttion which incr...
stratobast Good afternoon everyone. Thanks Doctrading for your work. I have an issue while using this ...
stratobast My bad guys. I understood what was the problem. The indicator uses highs and lows for the Re...
samwarduk Has anyone tried this on Bitcoin GBP1? The results look amazing but every time mine trie...
Kris75 Hi Bolsatrilera, I love this indicator! Thanks; => did you develop a strategy around...
redz bonjour, comment changer les paramettre de la BB en 20 , 2.2 ? hello, how to change BB sett...
Realtime82 Hi I was wondering if it would be possible to get an alert (by sound) when the signals shows...
besserwerden Hi, i like this bollinger moz arrwos. How can I use this indicator in an screener? I want to...
Doctrading AH ok, I think the ca3 is the same : ca3 = pB[1] < 0.2 and pB < 0.2 Best regards,
chromosome21 Hello everybody, First, thank you so much for all your advices, I'm a begginer in trading a...
bertrandpinoy bonjour j ai un probleme avec ce code modifié, apparement PRT ne veut pas...avez vous une so...
rispardin no entiendo como funciana este indicador, por favor alguien podria explicar como utilizarlo???
AVT No se trata de un solo indicador, pero cada linea muestra otra información, de abajo hacia ...
IV Mcm Your indicator is interesting, I evaluated its relevance with the squeeze to detect the phas...
Kris75 Hi Gabri I launched a very simple strategy based on the 3 bars trailing stop that you cre...
TimDeCat Hi. Has anyone coded a version that you could alter it to say 5 bar trailing stop? ie make ...
Nicolas Please open a new topic in forums so we can code it there, thanks.
finplus bonjour, il y a un problème à la fin du code avec elsif (close 0 then ... ne manque t il pas...
kj1988 Hello Nicolas, thank you for this useful indicator. Could you tell me how I can remove the...
Nicolas remove lines 101 to 103
GraHal Yes sorry, I set up a link to a screen shot on my google drive and then I got locked into th...
gabri Here's the thread https://www.prorealcode.com/topic/multiframe-rsi-of-rsi/
Bernard13 Bonjour Nicolas, Pourriez-vous m'indiquer si cet indicateur fonctionne avec la V11 ? Le di...
HeikinAshi Do you have an update of this indicator since you've created them, or is this still the actu...
mcha Thank you for this work. Do you try to transform/put this indicator on candlesticks and is ...
David Balance thanks for sharing this excellent indicator.  Here are some thoughts.  please ad...
reb Hello Marc your strat seems very intersting, will take a look Reb
897148 What exactly is meant by Total price? Is r1 =28 in your example the no of days for "Total P...
otty82  THX looks good!
century nice one , thank you
arvindrao01 Hey! Does anyone have a pinescript (tradingview) code for this?
imokdesign Hi Everybody, when I look at the strategy I felt the need to implement a Moneymanagement-Sy...
Inertia newlevel then multiplier=multiplier+1 oldlevel=newlevel newlevel=strategyprofit+startequi...
Inertia Hi Bjoern, I was playing around with your code this morning (EUR/USD 5'). Thank you to the...
CavalierDeCesDames Bonjour Nicolas, Thanks for your use full job. I tried this indicator on a shorter timefram...
Nicolas You are welcome. I'm glad you like it.
Bolbo It does not appear over the price indicator on V11. Thanks in advance.
bearbull As per PhilipSchultz question above, has anybody managed to add code for when it turns blue,...
Ybr35 Bonjour Nicolas, lorsque je lance l'indicateur, il m'est indiqué que je dois définir les var...
Nicolas L'idéal est de télécharger le fichier itf joint sur cette page et de l'importer dans la plat...

Top