Annonce
Réduire
Aucune annonce.
Ads
Réduire
intraday dax YM NOVEMBRE 2020
Réduire
X
-
Envoyé par mobydickraoul6
Je n'utilise pas tradingView donc je n'ai pas le code.
Je peux te donner celui que j'utilise sur PRT : tu devrais pouvoir le faire à partir de là je pense car ce qui compte ce sont les coeffs qui ont été calculé par Eric Lefort et les paramètres des Stochs rapides et lentes
----
//STPMT Eric colored
ligne0=0
ligne50=50
ligne20=20
ligne80=80
ligne100=100
st1 = stochastic[5,3](close)
st2 = stochastic[14,3](close)
st3 = stochastic[45,14](close)
st4 = stochastic[75,20](close)
stpmt = ( 4.1*st1 + 2.5*st2 + st3 + 4*st4 ) /11.6
MM9STPM = Average[9](STPMT)
//PRC_Stochastic RSI | indicator
//06.12.2016
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
//converted and adapted from Pinescript version
// -- parameters:
//lengthRSI = 14 //RSI period
//lengthStoch = 14 //Stochastic period
//smoothK = 3 //Smooth signal of stochastic RSI
//smoothD = 3 //Smooth signal of smoothed stochastic RSI
lengthRSI = 14 //RSI period
lengthStoch = 14 //Stochastic period
smoothK = 3 //Smooth signal of stochastic RSI
smoothD = 3 //Smooth signal of smoothed stochastic RSI
myRSI = RSI[lengthRSI](close)
MinRSI = lowest[lengthStoch](myrsi)
MaxRSI = highest[lengthStoch](myrsi)
StochRSI = (myRSI-MinRSI) / (MaxRSI-MinRSI)
StochRSI1=StochRSI*100
lengthRSI2 = 8 //RSI period
lengthStoch2 = 8 //Stochastic period
smoothK = 3 //Smooth signal of stochastic RSI
smoothD = 3 //Smooth signal of smoothed stochastic RSI
myRSI2 = RSI[lengthRSI2](close)
MinRSI2 = lowest[lengthStoch2](myrsi2)
MaxRSI2 = highest[lengthStoch2](myrsi2)
StochRSI2 = (myRSI2-MinRSI2) / (MaxRSI2-MinRSI2)
StochRSI3=StochRSI2*100
K = average[smoothK](stochrsi)*100
D = average[smoothD](K)
return stpmt as "STPMT",st1 as "ST1", st2 as "ST2",st3 as "ST3",st4 as "ST4",MM9STPM as "MM9STPM",K as "K%", D as "D%", ligne50 as "ligne 50", ligne80 as "ligne80", ligne20 as "ligne20",ligne0 as "ligneO",ligne100 as "ligne100", StochRSI1 as "StochRSI1",StochRSI3 as "StochRSI2"
inputs:Length(9) ;
variables:STPMT(0),MM_STPMT(0),STOCH1(0),STOCH2(0),STOCH3(0),STOCH4(0),lowligne(20),upligne(80),middleligne(50);
STPMT = (4.1*SlowKCustomOrig(H, L, C, 5, 3) + 2.5*SlowKCustomOrig(H, L, C, 14, 3)
+ SlowKCustomOrig(h, L, C, 45, 14) + 4*SlowKCustomOrig(H, L, C, 75, 20))/11.6;
MM_STPMT = Average(STPMT, Length);
STOCH1=SlowKCustomOrig(H, L, C, 5, 3);
STOCH2=SlowKCustomOrig(H, L, C, 14, 3);
STOCH3=SlowKCustomOrig(H, L, C, 45, 14);
STOCH4=SlowKCustomOrig(H, L, C, 75, 20);
Plot1( STPMT, "STPMT" ) ;
Plot2( MM_STPMT, "MM_STPMT" ) ;
Plot3( STOCH1, "STOCH1" ) ;
Plot4( STOCH2, "STOCH2" ) ;
Plot5( STOCH3, "STOCH3" ) ;
Plot6( STOCH4, "STOCH4" ) ;
Plot7( lowligne, "lowligne" );
Plot8( upligne, "upligne" );
//Plot9( middleligne, "middleligne" );
zn zsylaguage c est autrement + simple ......... et lisible
IMF
- j'aime 1
Commentaire
-
Envoyé par mobydick Voir le messagechipeur
C'est bizarre : il me semble qu'il manque S1 / 228 sur ton graphe ?
perso je suis long dessus sur le DB en UT 1Mn
Edit : en regardant de plus près, sans doute un effet de cadrage sur ton graphe tel que posté
IMF
Commentaire
-
Envoyé par chipeur Voir le message
aucune idée
ou met les b lines au moins
Commentaire
-
Envoyé par phg Voir le messageetei 3mnssur bas de canal obj 29910 ?
suis long 877
sorti vite
à+
Commentaire
-
Envoyé par chipeur Voir le message
inputs:Length(9) ;
variables:STPMT(0),MM_STPMT(0),STOCH1(0),STOCH2(0),STOCH3(0),STOCH4(0),lowligne(20),upligne(80),middleligne(50);
STPMT = (4.1*SlowKCustomOrig(H, L, C, 5, 3) + 2.5*SlowKCustomOrig(H, L, C, 14, 3)
+ SlowKCustomOrig(h, L, C, 45, 14) + 4*SlowKCustomOrig(H, L, C, 75, 20))/11.6;
MM_STPMT = Average(STPMT, Length);
STOCH1=SlowKCustomOrig(H, L, C, 5, 3);
STOCH2=SlowKCustomOrig(H, L, C, 14, 3);
STOCH3=SlowKCustomOrig(H, L, C, 45, 14);
STOCH4=SlowKCustomOrig(H, L, C, 75, 20);
Plot1( STPMT, "STPMT" ) ;
Plot2( MM_STPMT, "MM_STPMT" ) ;
Plot3( STOCH1, "STOCH1" ) ;
Plot4( STOCH2, "STOCH2" ) ;
Plot5( STOCH3, "STOCH3" ) ;
Plot6( STOCH4, "STOCH4" ) ;
Plot7( lowligne, "lowligne" );
Plot8( upligne, "upligne" );
//Plot9( middleligne, "middleligne" );
zn zsylaguage c est autrement + simple ......... et lisible
Commentaire
-
Commentaire