FIBONACCI DYNAMIC
Forums › ProRealTime forum Français › Support ProOrder › FIBONACCI DYNAMIC
- This topic has 4 replies, 2 voices, and was last updated 1 month ago by
Iván.
-
-
08/27/2025 at 8:19 AM #250092
Bonjour,
j’utilise dans mon trading les ratio de Fibonacci.j’ai testé l’indicateur suivant trouvé sur prorealcode qui me va bien.
Mais une fois importé dans la plateforme ,il m’affiche uniquement les niveaux de 38.2 et 50. J’aimerai y rajouter le niveau de 61.8 avec de manière à avoir un canal ou 50% serait la middle line de ce canal.
Merci d’avance pour votre aide.
//PRC_Fibonacci Golden Wave
//version = 0
//13.03.24
//Iván González @ http://www.prorealcode.com
//Sharing ProRealTime knowledge08/27/2025 at 9:08 AM #250100Bonjour. Je l’ai préparé pour que l’indicateur affiche comme niveau 1 le 38 %, niveau 2 le 62 % et une ligne médiane qui correspond à 50 %.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485//-------------------------------------------------------------------////PRC_Fibonacci Golden Wave//version = 0//13.03.24//Iván González @ www.prorealcode.com//Sharing ProRealTime knowledge//-------------------------------------------------------------------////-------------------------------------------------------------------//prd=20usepivots=0 //Boolean/ 0=Calculate Donchian Channel / 1=Calculate Pivot Pointslevel1=2 //1=0.236 / 2=0.382 / 3=0.500 / 4=0.618 / 5=0.786level2=4//1=0.236 / 2=0.382 / 3=0.500 / 4=0.618 / 5=0.786//-------------------------------------------------------------------////-----Level 1 Selection---------------------------------------------//if level1=1 thenfibArea1=0.236elsif level1=2 thenfibArea1=0.382elsif level1 = 4 thenfibArea1=0.618elsif level1=5 thenfibArea1=0.786elsefibArea1=0.500endif//-------------------------------------------------------------------////-----Level 2 Selection---------------------------------------------//if level2=1 thenfibArea2=0.236elsif level2=2 thenfibArea2=0.382elsif level2=3 thenfibArea2=0.500elsif level2=5 thenfibArea2=0.786elsefibArea2=0.618endif//-------------------------------------------------------------------////-----Level Top and Bottom Calculation------------------------------//if usepivots then//-----Pivot Points Method----------------------------------------//src1 = lowsrc2 = high//-----pivots lowif src1 > src1[prd] and lowest[prd](src1) > src1[prd] and src1[prd] < lowest[prd](src1)[prd+1] then$ply[z+1] = src1[prd]$plx[z+1] = barindex[prd]z = z+1endif//-----pivots highif src2 < src2[prd] and highest[prd](src2)<src2[prd] and src2[prd]>highest[prd](src2)[prd+1] then$phy[t+1]=src2[prd]$phx[t+1]=barindex[prd]t=t+1endif//-----Top and Bottom levelif isset($phy[t]) and isset($ply[z]) thenfibtop=$phy[t]fibbot=$ply[z]diff=fibtop-fibbotfib1=fibtop-(diff*fibArea1)fib2=fibtop-(diff*fibArea2)endifelse//-----Donchian----- Method----------------------------------------//fibtop=highest[prd](high)fibbot=lowest[prd](low)diff=fibtop-fibbotfib1=fibtop-(diff*fibArea1)fib2=fibtop-(diff*fibArea2)endif//-------------------------------------------------------------------//colorbetween(fib1,fib2,"orange",100)//-------------------------------------------------------------------//myfib1=round(fib1,2)myfib2=round(fib2,2)if islastbarupdate thendrawtext("Fibo Level #fibArea1#: #myfib1#",barindex+5,fib1)drawtext("Fibo Level #fibArea2#: #myfib2#",barindex+5,fib2)endif//-------------------------------------------------------------------//MidLine=(fib1+fib2)/2//-------------------------------------------------------------------//return fib1 as "Fibonacci Level1" coloured("orange"), fib2 as "Fibonacci Level2" coloured("orange"), MidLine coloured("blue")08/27/2025 at 1:40 PM #25011209/04/2025 at 4:41 PM #250362Bonjour Ivan,
Suite de notre échange de la semaine dernière,
Serait il possible sur cette dernière configuration de pouvoir y rajouter un réglage d’accès rapide dans le menu configurer de manière à pouvoir l’utiliser sur un timeframe différent du graphique ?
Dans l’idéal mois , semaine, daily, H4, H1 , 30 m , 15 m , 5 m ,1m Ou alors un réglage en nombre de minutes ?
D’avance merci
09/05/2025 at 7:37 AM #250367Bonjour. Vous pouvez mettre au début **timeframe(daily,updateonclose)** par exemple.
Tenez compte que vous ne pourrez utiliser l’indicateur que sur des unités de temps inférieures et qui soient des multiples de l’actuelle.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788timeframe(daily,updateonclose)//-------------------------------------------------------------------////PRC_Fibonacci Golden Wave//version = 0//13.03.24//Iván González @ www.prorealcode.com//Sharing ProRealTime knowledge//-------------------------------------------------------------------////-------------------------------------------------------------------//prd=20usepivots=0 //Boolean/ 0=Calculate Donchian Channel / 1=Calculate Pivot Pointslevel1=2 //1=0.236 / 2=0.382 / 3=0.500 / 4=0.618 / 5=0.786level2=4//1=0.236 / 2=0.382 / 3=0.500 / 4=0.618 / 5=0.786//-------------------------------------------------------------------////-----Level 1 Selection---------------------------------------------//if level1=1 thenfibArea1=0.236elsif level1=2 thenfibArea1=0.382elsif level1 = 4 thenfibArea1=0.618elsif level1=5 thenfibArea1=0.786elsefibArea1=0.500endif//-------------------------------------------------------------------////-----Level 2 Selection---------------------------------------------//if level2=1 thenfibArea2=0.236elsif level2=2 thenfibArea2=0.382MyIndicator(2)elsif level2=3 thenfibArea2=0.500elsif level2=5 thenfibArea2=0.786elsefibArea2=0.618endif//-------------------------------------------------------------------////-----Level Top and Bottom Calculation------------------------------//if usepivots then//-----Pivot Points Method----------------------------------------//src1 = lowsrc2 = high//-----pivots lowif src1 > src1[prd] and lowest[prd](src1) > src1[prd] and src1[prd] < lowest[prd](src1)[prd+1] then$ply[z+1] = src1[prd]$plx[z+1] = barindex[prd]z = z+1endif//-----pivots highif src2 < src2[prd] and highest[prd](src2)<src2[prd] and src2[prd]>highest[prd](src2)[prd+1] then$phy[t+1]=src2[prd]$phx[t+1]=barindex[prd]t=t+1endif//-----Top and Bottom levelif isset($phy[t]) and isset($ply[z]) thenfibtop=$phy[t]fibbot=$ply[z]diff=fibtop-fibbotfib1=fibtop-(diff*fibArea1)fib2=fibtop-(diff*fibArea2)endifelse//-----Donchian----- Method----------------------------------------//fibtop=highest[prd](high)fibbot=lowest[prd](low)diff=fibtop-fibbotfib1=fibtop-(diff*fibArea1)fib2=fibtop-(diff*fibArea2)endif//-------------------------------------------------------------------//colorbetween(fib1,fib2,"orange",100)//-------------------------------------------------------------------//MidLine=(fib1+fib2)/2//-------------------------------------------------------------------//timeframe(default)myfib1=round(fib1,2)myfib2=round(fib2,2)if islastbarupdate thendrawtext("Fibo Level #fibArea1#: #myfib1#",barindex+5,fib1)drawtext("Fibo Level #fibArea2#: #myfib2#",barindex+5,fib2)endif//-------------------------------------------------------------------//return fib1 as "Fibonacci Level1" coloured("orange"), fib2 as "Fibonacci Level2" coloured("orange"), MidLine coloured("blue")Vous pouvez voir plus d’informations sur timeframe ici : https://www.prorealcode.com/documentation/timeframe-probacktest-proorder/
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on