Scatter Plot Analysis of RSI, Stochastic, Williams%R and ADX

v11
Scatter Plot Analysis of RSI, Stochastic, Williams%R and ADX

This indicator can analyse the four indicators RSI, Stochastic, Williams%R and ADX and present the results in a scatter chart.

This indicator only works on PRTv11 onwards.

Each of these bounded indicators returns a result between zero and 100. Every candles returned value is calculated rounded up and then a win rate and profit and loss calculated on where price was ‘BarsAfter’ candles later and stored for that returned indicator value. The results are further separated into results for if our tested candle was a red candle or a green candle. The results are then displayed in a scatter chart and also as text to the left of the scatter chart. Sample size is also calculated and displayed so that we can see how big a sample the results are calculated on.

So for example on the DJI daily if we check the RSI indicator and base our calculations on 2 bars after we can see that if the RSI returned a value of 35 (actually >34 and <=35) then we had 192 candles in our history with an RSI value of 35 with 57 of them being green and 135 red. We can then also see the win rate for if we went long on green candles with RSI=35 and exited after two bars or short on green candles with RSI=35 and exited after two bars – and the same for long on red or short on red.

If we switch ‘ProfitLoss’ on then the scatter chart changes so we can see how much each trade direction would have won or lost. The scatter chart y axis is calculated to represent the most profitable indicator value return at 100% and the worst at 0%.

The x axis always represents the indicator returned values between zero and 100.

The indicator has two modes. ‘Live’ or not live. In Live mode the results and scatter plot display change to only show results for the current candle colour and current chosen indicator return value for the current candle. In ‘Not Live’ mode you can enter a ‘Value’ and check the results for any indicator returned value for any colour candle. In ‘Live’ mode the blue line represents the current candles indicator returned value location on the scatter chart and it will move up and down as this changes. The points at the top and bottom of the blue line change colour from red to green depending on current candle colour. In ‘Not Live’ mode the points of the line are blue and the blue line is located on whatever you have set ‘Value’ to be.

You can set a ‘Spread’ to be used in the profit and loss calculations. Spread is not taken into account when calculating the win rates however.

You can also set ‘DecimalPlaces’ to display more or less decimal places in the profit and loss displayed results.

Set ‘p’ to whatever period of your chosen indicator you want to analyse.

There are four tick boxes to choose an indicator. If no boxes are ticked then the default is RSI but if you tick more than one box then the order of display priority is ADX then Williams%R then Stochastic.

As always I advise downloading and importing to get full functionality.

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. Vinks_o_7 • 04/06/2020 #

    Vonasi you’re a beast !!! ;-)))

  2. pableitor • 04/06/2020 #

    Amazing indicator , you are pushing PRT to the limit! But looking at the scatter its not clear to me how can we interpret the plot , I mean should we look for some kind of linear correlation between x/y ?

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Kosuda76 Thanks for your reply! But I do not really understand what the opposite of them the values ​...
AdriTrade Good job Louis!! How could do this for the Williams indicator? Thank you very much.
imorandin Hi!, Nice code. I'm tryng to port it to another language, but I don't understand this part:...
luxrun Thanks, bolsatrilera, for a very good and solid screener!
luxrun sorry... indicator!
Lily Rios Gracias por el indicador, tengo una pregunta necesito programar un screener de valores que e...
Bebbo Grazie del prezioso contributo Nicolas, scusa la mia inesperienza, sono alle prime armi e s...
Nicolas To avoid recalculation, you should use the one from this post.
Bebbo Ok Grazie Nicolas.
gabri Brined :) look on this indicator how on the 6th and on the 9th you have very high positive s...
Pepsmile Hi everybody, An application could be found by applying this indicator on the strategy prof...
zilliq Thanks for your indicator Gabri but are you sure for your code because on EUR/USD for exampl...
bolsatrilera
7 years ago
jissey Bonjour Bolsatrilera, je trouve le cm rsi interessant, merci de l'avoir mis à disposition ! ...
bolsatrilera bonjour jissey, je n'ai aucune information sur ce que tu dis, je suis désolé.
ALE Hi the color is given by a numerical value derived from the oscillator in use. If you comp...
efahmy Thanks mate
Jo-01-R Hello, it is possible to have this indicator but instead of colors rather have numbers rangi...
bharatjai Script 'Adaptive ATR' has been saved line 24: no viable alternative at input 'lr' Gettin...
Nicolas download the itf file and import it into your platform.
Francis3332 Bonjour à tous, J'aime beaucoup cet indicateur et j'aimerais pouvoir l'utiliser sur la dern...
Domenec Claro Juanjo de todas maneras en deinversoratrader.com tienes estsos osciladores evolucionad...
Dron Hola Domenec, en la descripción hablas del indicador velas de colores, no lo encuentro en la...
Domenec Hola Dron mira en el blog deinversoratrader.com en formacion indicadores ahi hay varios grat...
Nicolas
7 years ago
enricot Scusa nn riesco.
SoloContado If you smooth the signal using a "summation" function, you get a nice "crossing of 0" graph....
ShaunG Greatly appreciated Nicolas!
AGTrader Interesante, muy visual Doc. Felicidades!!!
Andraxx simplemente impresionante Dom...te sigo en youtube. Me ha gustado tu canal. Gracias por comp...
Nicolas Add it on price using the wrench on the left upper side of the price chart.
Stenozar thanks Nicolas, I' ll try again!
Radetzky Buongiono e grazie : l'immagine sopra ritrae l'indicatore sul TF 15 min ma a me funzio...
odin hi luisella, i think breadth indicators a not available in pro realtime, because you the cal...
4example Thank you
Gaby333 to good to be true dosent do anything))
Etienne Hi, thanks for proving this code. I would like to contribute by adding a computation speed...
Etienne //Compute Super Smoother coefficients once if barindex = 1 then a1 = exp( -1.414 * 3.14159...
Nicolas Thanks a lot!

Top