rsi chandeliers
Forums › ProRealTime forum Français › Support ProBuilder › rsi chandeliers
- This topic has 2 replies, 2 voices, and was last updated 4 years ago by gregoire.
-
-
10/22/2020 at 6:21 AM #148041
bonjour, j ai chercher un peu partout le rsi sous forme de chandeliers et je n ai trouvé que celui ci sur le site de hk, il est composé en 3 partie et la 2eme me pose un souci de variable a la ligne 61 avec le mot hausse qui doit être remplacé.
y à il une version simplifiée depuis ? ou bien quelqu’un pourrait il m aidé à résoudre ce problème de variable si ce n est pas le cas.
merci
rsi chandeliers123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164Il faut bien sûr créer 3 indicateurs : bas, haut et corps. Mettre également p en variable : longueur du RSI.Et les codes pour Proréaltime ://////////// rsi chandelier bas ////////////////hausse=max(0,close-close[1])baisse=max(0,close[1]-close)mh=wilderaverage[p](hausse)mb=wilderaverage[p](baisse)rs=mh/mbrsii=100-100/(1+rs)hauss=max(0,open-close[1])baiss=max(0,close[1]-open)testh=(mh[1]*(p-1)+hauss)/ptestb=(mb[1]*(p-1)+baiss)/ptestrs=testh/testbtestrsi=100-100/(1+testrs)hauss1=max(0,low-close[1])baiss1=max(0,close[1]-low)testh1=(mh[1]*(p-1)+hauss1)/ptestb1=(mb[1]*(p-1)+baiss1)/ptestrs1=testh1/testb1testrsi1=100-100/(1+testrs1)c2=min(rsii,testrsi)r=abs(c2-testrsi1)r=(r)/29b1=testrsi1c=1b2=b1+rb3=b2+rb4=b3+rb5=b4+rb6=b5+rb7=b6+rb8=b7+rb9=b8+rb10=b9+rb11=b10+rb12=b11+rb13=b12+rb14=b13+rb15=b14+rb16=b15+rb17=b16+rb18=b17+rb19=b18+rb20=b19+rb21=b20+rb22=b21+rb23=b22+rb24=b23+rb25=b24+rb26=b25+rb27=b26+rb28=b27+rb29=b28+rb30=b29+rreturn b1 coloured by c,b2 coloured by c,b3 coloured by c,b4 coloured by c,b5 coloured by c,b6 coloured by c,b7 coloured by c,b8 coloured by c,b9 coloured by c,b10 coloured by c,b11 coloured by c,b12 coloured by c,b13 coloured by c,b14 coloured by c,b15 coloured by c,b16 coloured by c,b17 coloured by c,b18 coloured by c,b19 coloured by c,b20 coloured by c,b21 coloured by c,b22 coloured by c,b23 coloured by c,b24 coloured by c,b25 coloured by c,b26 coloured by c,b27 coloured by c,b28 coloured by c,b29 coloured by c,b30 coloured by c///////////// rsi chandelier haut ///////////////hausse=max(0,close-close[1])baisse=max(0,close[1]-close)mh=wilderaverage[p](hausse)mb=wilderaverage[p](baisse)rs=mh/mbrsii=100-100/(1+rs)hauss=max(0,open-close[1])baiss=max(0,close[1]-open)testh=(mh[1]*(p-1)+hauss)/ptestb=(mb[1]*(p-1)+baiss)/ptestrs=testh/testbtestrsi=100-100/(1+testrs)hauss1=max(0,high-close[1])baiss1=max(0,close[1]-high)testh1=(mh[1]*(p-1)+hauss1)/ptestb1=(mb[1]*(p-1)+baiss1)/ptestrs1=testh1/testb1testrsi1=100-100/(1+testrs1)c2=max(rsii,testrsi)r=abs(c2-testrsi1)r=(r)/29b1=c2c=1b2=b1+rb3=b2+rb4=b3+rb5=b4+rb6=b5+rb7=b6+rb8=b7+rb9=b8+rb10=b9+rb11=b10+rb12=b11+rb13=b12+rb14=b13+rb15=b14+rb16=b15+rb17=b16+rb18=b17+rb19=b18+rb20=b19+rb21=b20+rb22=b21+rb23=b22+rb24=b23+rb25=b24+rb26=b25+rb27=b26+rb28=b27+rb29=b28+rb30=b29+rreturn b1 coloured by c,b2 coloured by c,b3 coloured by c,b4 coloured by c,b5 coloured by c,b6 coloured by c,b7 coloured by c,b8 coloured by c,b9 coloured by c,b10 coloured by c,b11 coloured by c,b12 coloured by c,b13 coloured by c,b14 coloured by c,b15 coloured by c,b16 coloured by c,b17 coloured by c,b18 coloured by c,b19 coloured by c,b20 coloured by c,b21 coloured by c,b22 coloured by c,b23 coloured by c,b24 coloured by c,b25 coloured by c,b26 coloured by c,b27 coloured by c,b28 coloured by c,b29 coloured by c,b30 coloured by c////////////// rsi chandelier corps ///////////////hausse=max(0,close-close[1])baisse=max(0,close[1]-close)mh=wilderaverage[p](hausse)mb=wilderaverage[p](baisse)rs=mh/mbrsii=100-100/(1+rs)hauss=max(0,open-close[1])baiss=max(0,close[1]-open)testh=(mh[1]*(p-1)+hauss)/ptestb=(mb[1]*(p-1)+baiss)/ptestrs=testh/testbtestrsi=100-100/(1+testrs)r=abs(testrsi-rsii)r=(r)/29if testrsi<rsii thenb1=testrsielseb1=rsiiendifb2=b1+rb3=b2+rb4=b3+rb5=b4+rb6=b5+rb7=b6+rb8=b7+rb9=b8+rb10=b9+rb11=b10+rb12=b11+rb13=b12+rb14=b13+rb15=b14+rb16=b15+rb17=b16+rb18=b17+rb19=b18+rb20=b19+rb21=b20+rb22=b21+rb23=b22+rb24=b23+rb25=b24+rb26=b25+rb27=b26+rb28=b27+rb29=b28+rb30=b29+rc=rsii-testrsireturn b1 coloured by c,b2 coloured by c,b3 coloured by c,b4 coloured by c,b5 coloured by c,b6 coloured by c,b7 coloured by c,b8 coloured by c,b9 coloured by c,b10 coloured by c,b11 coloured by c,b12 coloured by c,b13 coloured by c,b14 coloured by c,b15 coloured by c,b16 coloured by c,b17 coloured by c,b18 coloured by c,b19 coloured by c,b20 coloured by c,b21 coloured by c,b22 coloured by c,b23 coloured by c,b24 coloured by c,b25 coloured by c,b26 coloured by c,b27 coloured by c,b28 coloured by c,b29 coloured by c,b30 coloured by c10/22/2020 at 8:27 AM #148049Voir ce sujet où tu trouveras le code du RSI en chandelier japonais: https://www.prorealcode.com/topic/rsi-with-candlestick/#post-31725
Une autre version lissée avec des bandes dynamiques basé sur les Keltner: https://www.prorealcode.com/prorealtime-indicators/rsi-candles-smoothed-with-keltner-channel/
10/22/2020 at 1:44 PM #148085 -
AuthorPosts
Find exclusive trading pro-tools on