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 avatar
Related users ' posts
ggolfet Thanks Nicolas, I imported the itf file and solved the problem.
Hasardeur Hallo Nicolas, i tried to code the multi period heat map in combination with the Ehler’s ...
Nicolas Please open a new topic with the code in forum.
Marie-Eve Vergoz lorsque je copie les codes, le système me signale des erreurs à la ligne 12 et suivantes
Marie-Eve Vergoz sorry - tout est ok -
AlgoAlex
5 years ago
Marcot18 Alex ti sei superato
AlexF Esagerato!
jobswaps Sube como trazar lineas de tendencias a tantas barras
Frankiesc interesting indicator !! Thanks for sharing!!!
robertogozzi Thank you :)
Vinks_o_7
5 years ago
IV Mcm I've always wondered how to make the ADX faster, thank you!
Vinks_o_7 You welcome !
Vinks_o_7 Another variation that may be more accurate : we calculate the average of normalized DI's in...
JJ Tec Hola Las condiciones de entrada / salida vienen en el libro de J. Carter Mastering the trad...
Pixeldd Ich bekomme beim einfügen des Indikators einen Fehler angezeigt. Was bitte muss ich genau än...
HarryPro Hello, Firtly there appears to be a typo on line 6 "lenghkc=20" should this be "lengthkc=...
Nicolas En effet merci, erreur corrigée, la variable Risk affecte désormais comme il se doit les cal...
nader003 How can we get this indicator on MT4
Nicolas You can ask for private custom coding to our programming services: https://www.prorealcode.c...
sir_i Bonjour à tous, Je suis nouveau sur le forum et sur la plateforme, pourriez-vous me dire com...
Nicolas Il faut simplement l'appliquer sur le prix.
sir_i Merci pour la réponse, je ne suis pas familier avec l'application de cette procédure simple,...
Nicolas Il s'agit d'un indicateur compatible avec PRT v11 uniquement. Pour éviter les erreurs de cop...
Sébi Intéressant. Merci pour ce partage Nicolas. L'indicateur ne considère pas les divergences ...
Nicolas ok, pour les divergences chacun voit midi à sa porte je dirai :) Vu qu'il n'y a pas de formu...
Vinks_o_7 Great, thanks a lot Nicolas !
Teddy Coronak Top Nicolas ! Merci
Andyswede Thank's! Great indicator:)
mcha merci bien et félicitations pour la réactivité avec laquelle il a été mis dans la bibliothèq...
soulintact Great indicator Nicolas, thanks!
cdc.andersson Hello, when trying to include this wonderful Dynamic RSI on my trading system i get the erro...
Rafyone Bonjour Nicolas et bonne année lol J'ai une erreur qui apparait concernant drawbarchart une...
Nicolas Je pense que tu n'utilises pas le bon éditeur de code, cette instruction est compatible uniq...
Exalaxe Hey, i just noticed you optimized this strategy. Could i see your new version, please?
Andrea.1981 sorry i add my code but it not enter why i dont know
Andrea.1981 this is code simply stop , and you can see another version for stop / Codice principale...
AntoGH how did you backtest it ?
PastaPesto @AntoGH , I dont know if you are asking me, but my backtest was made in an IS of 4 years bet...
Ridder @PastaPesto Do you still running this and how is the results? Thanks
dau710 Are the Bulls Blue & the Bears Red?
dau710 Many thanks :)
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
myhlo Super Nicolas !! Cet indicateur offre une nouvelle lecture du Rsi ! Ces bandes up & Dawn...
okiki please how can i acess the indicator i like it and want it please am new here
Nicolas download the itf file above and import it into your prorealtime platform: https://www.prorea...
teddy58 Ich habe es mit N= 1,5 und N=2,5 getestet mit 200000 Einheiten. Es funktioniert leider erst ...
Matriciel I use this indicator to help me make a decision when there is a divergence. The divergences ...
Jan Wind Hi, I personnaly am not a big fan of ZIGZAG indicator, as it repaints itself during time. ...

Top