Signal to noise ratio

Signal to noise ratio

This technical indicator is an attempt to find the good momentum of trend : is it actually trending or in a range market?

Interestingly, it follows that π is not only the ratio between the length of a circle to its diameter, it is also a constant rather appears in statistics and, oddly enough, in the relationship between the distance between a price oscillation and a straight line.

  • If the signal / noise ratio is less than or equal to 1/2 π, we will be in a trading range or range.
  • If the signal / noise ratio is greater than 1/2 π, we are in a trending market.

Code converted from the Metatrader4 version, by request on Spanish forums.

Description from x-trader.net website.

 

 

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. bolsatrilera • 12/21/2016 #

    Sin duda,esta es la conversión correcta.Le quedo eternamente agradecido Nicolas.

  2. bolsatrilera • 12/21/2016 #

    ¿Hay algún problema para hacerlo público también en un blog que tengo?Entiendo que es un código de libre acceso.Gracias por todo Nicolas.

    • Nicolas • 12/21/2016 #

      Mientras el código y los comentarios permanezcan intactos por supuesto. Un enlace a este post también será muy apreciado 🙂

  3. verdi55 • 12/21/2016 #

    Thanks a lot, this is something I had been looking for for quite a while. Are there any other indicators on this site that can be used to decide whether the market is in a sideward range or trending ? I know the ADX and the RAVI for example. Anything else ? 

    • Nicolas • 12/21/2016 #

      You can also use the choppiness index,  which is also an oscillator made to detect ranging market : http://www.prorealcode.com/prorealtime-indicators/choppiness-index/

  4. sanjivmodi • 12/21/2016 #

    Respected sir, I would be grateful if you could send me signal to ratio indicator for Amibroker. Thanking you in advance. Regards Sanjiv modi

  5. robcole • 12/21/2016 #

    Hello Nicolas,

    I found this indicator by a google search. since I am mt4 user and you wrote that you have taken a mt4 version as a basis my question, is it possible to get this from you?

    Greetings robcole

    • Nicolas • 12/21/2016 #

      Hi Rob, sorry I do not offer MT4 support and I coded this one months ago, I think you’ll have to find it by yourself in the forums or elsewhere on the web 🙂

  6. robcole • 12/21/2016 #

    Thx for your reply, i understand, my hope was that you stillhave the mt4 version… however, can you point me into the right direction with the name of the mt4 version, i was searching with google without luck untill now :/ THX

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
jacquesgermain Bonjour non pas de soucis car src=customclose donc dans le menu configuration/propriété me...
geroniman Merci Jacques , indic tres utile. J'ai un indic à programmer avec du price action. es tu dis...
jacquesgermain ok pour regarder ...
Bateson
5 months ago
Bateson
5 months ago
Quino
5 months ago
Bateson
5 months ago
MACD Reloaded
MACD Reloaded
2
Indicators
NEOMKEY Nada nuevo
Carlose I love your version of the MACD, if you use it you can get a lot of use out of it, for me ma...
Bateson
6 months ago
TSI 3.0
TSI 3.0
6
Indicators
Fgats a = (Average[l1,m1](Average[l2,m2](ROC[mfvalue](close)))) b = (Average[l3,m3](Average[l4,m4...
Bateson Fgats, Un grand merci. Cela fonctionne parfaitement. J'ai bien compris la partie à rajouter ...
Fgats
6 months ago
bousalahane hello, thank you for sharing, I’m not top strong in the programation part, there is a way to...
Fgats Hi, With this indicator I just wanted to show the interest that can exist to synthesize th...
davidguerreir how to adapt nbStdSig values ?
lkiklkik thanks a lot. description of the indicator seems wrong ...
robertogozzi Sorry, you're right. The correct description, from https://www.tradingview.com/script/omlpq...
carlvan Hi Nicolas, thank you for this very interesting code. There is something I don't get though ...
Atemi19 probleme code : message veuillez definir alpha futur nbO X X1Y y1
Xtian Bjr Nicolas , pour exemple cet indicateur est extrêmement bien développé chez trading view ...
Actaru5 Hi, I couldn't see the candles well. Changing the code solves the problem. from line 164 to...
LucasBest Thank you
Alai-n @LucasBest Hello, do you think it is possible to isolate moving averages? I would like to us...
Alai-n I really like it when you develop ideas around price movement! I am much less a fan of all t...
finplus Bonjour, une petite demande concernant cet indicateur : comment faire pour que lorsque la bo...
LucasBest Bonjour, la coloration des bandes se fait ligne 111 et 112 à l'aide des instructions colorbe...
Matriciel Very nice job ! Is it possible to do the opposite because what interests me is to have the ...
YvesRobert Hi Matriciel, how can we do this, because stochastic is limited between 0 and 100 but price ...
Traderfox06 Dear zeiiermantrading, I really like your approach combining adaptive averages with MACD in...
Goldotor Thank you for sharing this indicator. That's a great work.
Stefano1234 there is an error: Define the variable: prd, showBreak, showPattern, showPvts
romanelli4 molto interessante e grazie ma come faccio a trasformarlo in trading system? grazie per l...

Top