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
luxrun I have a problem that I don't understand: by changing the parameters of the CCI and RSI peri...
Iván Hi! Sorry... You have to check lines 9 to 13 and delete. //CCIper = 14 //RSIper = 14 //Ma...
luxrun grazie Ivàn!
Faisalx ChatGPT Hola Iván. Gracias por tu excelente trabajo. Te agradecería si pudieras echarle un...
Iván ok, perfecto! me pongo con ello
Iván
3 months ago
luiskohnen This indicator re-paint?
Iván Hi, Sorry, but what do you mean?
luiskohnen Hola, queria saber si el indicador repinta, porque a mi me parecio que si. Saludos y gracias...
Bernard13 (Je réécris mon commentaire -français- en français car certains mots ne correspondaient pas ...
Iván 1000 indicateurs !!! brutaux
Lean Me parece muy buen indicador, y se complementa muy bien en mi sistema, ¿podrías crear un scr...
Iván Gracias! Para el screener sólo tienes que copiar el indicador y poner como condición de búsq...
Lean Muchas gracias Iván, ya lo he podido crear.
Iván
6 months ago
winnie37 Hi Ivan, if i want to use it, and call the oscillator value (in grey, green or red), how to...
Iván The oscillator is smoothtype. In inputs there is de lag to configure the output
Bateson
8 months ago
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...
jacquesgermain Hello IASD it's normal , when this occurs, uncheck RSI and MFI line and click then the MAC...
emiliobercial Thank you very much for sharing!
Carlose estoy de acuerdo con IASD Esta muy bien el MAD y el indicador en el precio no se ven bien...
bousalahane merci pour le partage de cet l'indicateur, j'ai rajouté un autre indicateur pour faire une s...
joaoarcher Hi, thank you for the this. Is it possible to create a screener from this indicator, so that...
ThaNoizy Yes, you cannot use CFDs on IG for Weekly strats you need to use their Index Futures, they h...
KumoNoJuzza Thanks. I did not know IG had Futures. I am always missing an info or a detail. I used to th...
joaoarcher Hi, thank you for the this. Is it possible to create a screener from this indicator, so that...
Nicolas
1 year ago
f1_maik Ein sehr schöner Indikator, vielen Dank. Wenn ich den Indikator importiere und starte hat d...
Nicolas das ist in der Tat normal, Sie müssen die Auf- und Abwärtsfarbe direkt im Parameterfenster d...
FXtonio Bonjour Nicolas, merci pour cette merveille, je l'utilise en compl2ment du "magical buy sell...
Nicolas
1 year ago
3 RSI
3 RSI
2
Indicators
Violet Nicolas, you calculate iRSI, but don't use it. You show RSI in the returned values, which, a...
Nicolas Yes, that's an error. RSI instruction is set by default to 14 if you don't indicate it that'...
DELBERT Bonjour , Nicolas , je voudrais installer cet indicateur sur ma PRT , version 10.3 , mais je...
Nicolas En effet, il faut à minima une version 11. La 10.3 est tellement ancienne maintenant.. Je pe...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je fais un essai et je verrais . Salutations .
Khaled Thank you Nicolas! Looks like TDI (Trader Dynamic Index). Interesting to give Exit Signal as...
Nicolas ColorBetween is an instruction added last year: https://www.prorealcode.com/documentation/co...

Top