Index Projections

v11
Index Projections

This indicator allows us to analyse four popular index indicators that return values between zero and 100 and plot lines that show the average of historical price movements following the index indicator returning any particular value.

This indicator only works on PRTv11 onwards.

The four indicators that you can analyse are:

  • RSI
  • Stochastic
  • Williams%R
  • ADX

Select whichever indicator you want to analyse with the ‘RSIndex’, ‘Stoch’, ‘WilliamsR’ and ‘ADXIndex’ settings. RSI is the default if nothing is selected. If more than one is selected then they are prioritised from bottom to top in the above list.

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

The returned values for each indicator are divided into 20 different buckets. (0 to 5) then (>5 and <=10) then (>10 and <=15) and so on. These buckets are then divided into two sets of buckets for if the value was rising or if it was falling. All of history is analysed and lines calculated that show where on average price went for each bucket of returned values.

Set ‘Length’ to how many bars long you want the projection lines to be. Be warned that high values can be very slow to calculate!

The different types of lines can be displayed or not displayed with the ‘Rising’, ‘Falling’ and ‘Both’ settings. In Auto mode (explained further down) the current candles line will always be displayed at minimum. Use the ‘AllValues’ setting combined with ‘Rising’, ‘Falling’ and ‘Both’ settings to display every possible line.

The lines are colour coded and at the end of the lines each one is labelled. The labelling is separated in to six columns for clarity. Green values are for lines where the chosen indicators returned value was rising and red are for when it was falling. The blue ones are for both combined so that is any returned value no matter whether it was rising or falling.

The right three columns of figures coloured similarly show the sample size or quantity of tests in each bucket. You can turn the display of this on or off with the ‘SampleSize’ setting.

The indicator can work in two modes’ in ‘Auto’ mode it can highlight or display only the lines that represent the current candle indicator’s current returned value. If ‘Auto’ is switched off then it will display or highlight just the lines that match your chosen ‘Value’ setting.

The highlighting of the current candles lines in auto mode or the ‘Value’ lines in non auto mode can be turned on or off with the ‘Points’ setting.

The ‘StartBack’ allows you to move the start of the projection lines back through past candles. The candle where the lines start will always be the one whose value is used when in auto mode.

As always I advise downloading and importing the indicator 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

avatar
Register or

Likes

avatar avatar avatar avatar
Related users ' posts
kats Bonjour, j'ai essayé de faire afficher cet indic en temps 5 mn sur le 1 mn et c'est Hiroshim...
Nicolas Il suffit d'ajouter l'instruction TIMEFRAME(5 minutes,updateonclose) en tête du code
diegofe_2000 cordial saludo Nicolas, una pregunta senciLla : Como coloco un STOPS en un maximo o un mini...
Jigsaw20000 Bonjour, Je voudrais mettre le liens du code en format .itf mais je n'y arrive pas , quelqu'...
Corto78 Il faut aller dans la liste des ProBacktest & Trading Automatique (là ou tu as créer ton...
Malloc Bonjour, Votre système a l'air intéressant et prometteur mais en l'état il est inutilisable...
AntoGH Bonjour peut-on backtester cela ? Et si vous l'avez fait pourriez vous nous donner le code.....
Nicolas désolé c'est un oubli de ma part, tu peux supprimer cette ligne, elle n'est plus utile dans ...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je suis en effet avec PRT 10.3 , et j'ai bidouil...
venugopal Hi Nicolas, Thanks for this code. Is it possible to build a screener using this indicator?. ...
Nicolas It has been done in that topic. Enjoy.
Abouadam2 EFFICACE
supertiti https://zupimages.net/viewer.php?id=20/50/2e3v.jpg
volanirina Bonjour Je souhaite l'avoir sur l'indicateur MT4 si possible s'il vous plait. car je l'ai fa...
Nicolas ProRealCode est un site dédié à l'utilisation de la plateforme de trading ProRealTime: https...
Nicolas Merci d'ouvrir un sujet dans le forum des screeners en respectant les règles de publication ...
Pensera Bravo Nicolas ! Tu es en quelque sorte l’inventeur de Metascore…(oups je viens de lire jusqu...
Nicolas Dans un but d'investissement pure, et non spéculatif.
DIOS Bonjour Nicolas, comment coder un indicateur de rsi de Divergence? Merci pour ta réponse
Nicolas En apprenant la programmation :) Plus sérieusement, il y a quantité d'exemples dans la libra...
DonTony Bonjour Nicolas, Très bel indicateur! Bravo!
superfalcio Hello, on the 2h timeframe I got a better performance in terms of win% and profit factor. I ...
Jiankyr82 Juan thanks for sharing, I had played with it few days, as also try to catch up on my pro-re...
Lespa212 Hi Samsampop, are you using this strategy? did you add a SL and an exit in case of a trend ...
Madrosat I Have not see a fully functioning automated strategy on your site?? Really have you???
juanj Hi Madrosat, why would it be on my site? I have developed it for my personal use and also to...
Madrosat ok I understood you are using prorealcode to hack the fish
imonix Have been trying this on demo since Monday before deciding whether to go live with it. Using...
Roberto Blázquez I'm sorry, I've tried it since November 2012 and it's bad results.
Bard Hi @Vonasi, this is an excellent tool! I noticed you times by 180 and was wondering why? W...
Bard I have no idea what is wrong with the posting on this website. I have problems editing posts...
Bard And now my first post displays okay? It literally had copies of my orig post all added toget...
woktrade Superbe !
Vonasi An updated version with a bug fix can be found here: https://www.prorealcode.com/topic/dis...
snucke hey Vonasi is it possible you can help me get this indicator to show how much a market mo...
kbrooks323 Hello would someone be willing to release a scan code for this? that would be helpful as I s...
Nicolas You can do easily this screener by using the assisted creation tool. It would take you about...
kbrooks323 I just figured it out thanks!
Bard Hi @Vonassi, just wondering if you'd had a chance to take another look at developing this gr...
Vonasi Sorry - I'm not coding anything at the moment.
IG_CFD_Trader Hi Vonassi, Your coding skills in PRT are amazing. Keep up the great contributions. I have...
Vinks_o_7 Vonasi you're a beast !!! ;-)))
pableitor Amazing indicator , you are pushing PRT to the limit! But looking at the scatter its not c...
Zigo
2 years ago
groen200 Hi Zigo can you make backtest from this indicator
rosario Good evening I would like to understand why it doesn't work for me. Rosary
xar3 Hello, I would like to comment that observing the logic of the variables of the three indica...

Top