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 • 274 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
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...
fabio407 Thanks, Nicolas. Very useful. Would you tell me where to find what result conveys the functi...
Nicolas This is not an instruction of the programming language but a variable from this indicator (l...
fabio407 OK. I didn't notice it. Many thanks, Nicolas!
Wilko And not only readable.... makes it much easier to iterate different entry/exit-conditions, d...
IGOSNELL Hi Interesting strategy, when I used $ M-R Dif EURUSD M15 Long if does not enter any positi...
ilvillans HI, I modified the system, from good results but from this error: Replace the variables wit...
Nicolas Merci dans ce cas d'ouvrir un sujet dans le forum ProScreener svp.
Andrea Hi Nicolas, thx for your code. Please i need your help to understand this part of your code:...
Nicolas the MA200 is ascending since 20 periods.
Leo Hi Gabri, have you ever try this in a trading system?
gabri Leo, I used to crosscheck this indicator a long time ago. For the trading I was doing at tha...
Nolubok Bonjour Gabri, merci pour l'ensemble de vos publications, serait il possible d'avoir le scr...
Regan2020 Hi, has anybody update the above code to enable on a 15m or 5m TF?
gigi64 ik heb de code op mijn pro realtime gezet , en bij indicator staat hij erbij maar komt niet ...
gigi64 I have put the code on my pro realtime, and it is on the indicator, but it does not appear o...
supertiti Thanks you so much Lucassen
dreif123 hi, copied the above code, not working on 10.3 the system says "return can only be used at ...
LUCASSEN Hallo , i have no problem , and i have the same versie 10.3, maybe you can ask Nicolas, tha...
Nicolas si il n'y a pas de stoploss définit dans le code, alors c'est normal :)
bertrandpinoy bonjour merci pour la réponse. Oui b sur ... est il possible que le SL soit coder sous une a...
Nicolas ok mais pourquoi poser la question ici ? Pour des questions non spécifique à cette article, ...
Krallenmann Hallo Nicolas, kannst du mir die Regeln für den Halftrend Indikator sagen? Aus dem Code kann...
davefransman Dear Nicolas, i want set a alert on the "HalfTrend "custom moving average" met Heikin Ashi w...
Nicolas Please post the question in a new forum topic, that would need custom coding I believe.
Lyam Pareil ne marche pas dommage
ahmedbouaziz89 Bonjour, quand j'ajoute le code ou le fichier dans l'outils screeners de Prorealtime je ne v...
tyvix Bonjour le code marche bien c est juste qu'il n y a pas d opportunité au moment ou vous le...
verdi55 Is there such a thing as a free lunch ?
maceng Thanks Nicolas for this great work! I would like to understand the math behind it in order t...
Nicolas Sorry I have no time to provide assistance for python programmers. Have a good day.
Maz Hi all, firstly happy to know that this is helping you. I look into updating it for PRT11 wh...
Nicolas just use 3 times a linear regression channel code you will find in the library.
leederbyshire Here's the link to alternative linear regression channel indicator Nicolas is referring to t...
julien1978 The ADR value that is plotted intraday does not match the value of the regular ATR indicator...
Fab666 I've tried to get a fix for this also but no luck, it doesn't print the correct data as far ...
Seabiscuit Hi! With the new PRT update, this indicator does not work anymore

Top