fibonacci de la veille
Forums › ProRealTime forum Français › Support ProBuilder › fibonacci de la veille
- This topic has 5 replies, 2 voices, and was last updated 4 years ago by Nicolas.
-
-
05/05/2020 at 10:44 AM #129990
Bonjour à tous,
je suis à la recherche d’un indicateur permettant de tracer de façon automatique sur le graphique du jour les niveaux de Fibonacci de la veille.
Existe-t-il déjà une formule ? Apres quelques recherches je n’ai rien trouvé sur le forum.
Merci à tous
05/05/2020 at 12:59 PM #130022sur le graphique du jour les niveaux de Fibonacci de la veille
Les niveaux de Fibonacci en fonction du High et Low de la veille ?
05/05/2020 at 1:04 PM #130024Si oui, cette modification d’un indicateur de notre bibliothèque devrait faire l’affaire :
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374// Daily Fibo_Percent | Graph Indicator// 15.12.2018// Swapping @ www.forexswap.fr// Sharing ProRealTime knowledge (alt+16)DefParam DrawOnLastBarOnly = true// --- settingsrectangle = 1 //(0=false;1=true)pourcentage = 0 //(0=false;1=true)fibonacci = 1 //(0=false;1=true)alpha = 255// --- end of settingsif day <> day[1] thenstartbar = barindexendifHiDay = dhigh(1)LowDay = dlow(1)if rectangle = 1 thenDrawRectangle(startbar,HiDay,barindex,LowDay) coloured(123,0,0,alpha)elserectangle = 0endifDrawText(" ◄ Open",barindex,dopen(0),Dialog,Bold,11) coloured(250,150,100,alpha)if pourcentage = 1 thenpourcentage100 = (hiday-lowday)*1.0+lowdayDrawSegment(startbar,pourcentage100,barindex,pourcentage100) coloured(150,200,50,alpha)DrawText(" ◄ 100%",barindex,pourcentage100,Dialog,Bold,11) coloured(150,200,50,alpha)pourcentage80 = (hiday-lowday)*.80+lowdayDrawSegment(startbar,pourcentage80,barindex,pourcentage80) coloured(150,200,50,alpha)DrawText(" 80%",barindex,pourcentage80,Dialog,Bold,11) coloured(150,200,50,alpha)pourcentage60 = (hiday-lowday)*.6+lowdayDrawSegment(startbar,pourcentage60,barindex,pourcentage60) coloured(150,200,50,alpha)DrawText(" 60%",barindex,pourcentage60,Dialog,Bold,11) coloured(150,200,50,alpha)pourcentage40 = (hiday-lowday)*.4+lowdayDrawSegment(startbar,pourcentage40,barindex,pourcentage40) coloured(150,200,50,alpha)DrawText(" 40%",barindex,pourcentage40,Dialog,Bold,11) coloured(150,200,50,alpha)pourcentage20 = (hiday-lowday)*.2+lowdayDrawSegment(startbar,pourcentage20,barindex,pourcentage20) coloured(150,200,50,alpha)DrawText(" 20%",barindex,pourcentage20,Dialog,Bold,11) coloured(150,200,50,alpha)pourcentage0 = (hiday-lowday)*.0+lowdayDrawSegment(startbar,pourcentage0,barindex,pourcentage0) coloured(150,200,50,alpha)DrawText(" ◄ 0%",barindex,pourcentage0,Dialog,Bold,11) coloured(150,200,50,alpha)elsepourcentage = 0endifif fibonacci = 1 thenfib100 = (hiday-lowday)*1.0+lowdayDrawSegment(startbar,fib100,barindex,fib100) coloured(234,234,234,alpha)DrawText(" ◄ 100%",barindex,fib100,Dialog,Bold,11) coloured(234,234,234,alpha)fib764 = (hiday-lowday)*.764+lowdayDrawSegment(startbar,fib764,barindex,fib764) coloured(234,234,234,alpha)DrawText(" 76.4%",barindex,fib764,Dialog,Bold,11) coloured(234,234,234,alpha)fib618 = (hiday-lowday)*.618+lowdayDrawSegment(startbar,fib618,barindex,fib618) coloured(234,234,234,alpha)DrawText(" 61.8%",barindex,fib618,Dialog,Bold,11) coloured(234,234,234,alpha)fib382 = (hiday-lowday)*.382+lowdayDrawSegment(startbar,fib382,barindex,fib382) coloured(234,234,234,alpha)DrawText(" 38.2%",barindex,fib382,Dialog,Bold,11) coloured(234,234,234,alpha)fib236 = (hiday-lowday)*.236+lowdayDrawSegment(startbar,fib236,barindex,fib236) coloured(234,234,234,alpha)DrawText(" 23.6%",barindex,fib236,Dialog,Bold,11) coloured(234,234,234,alpha)fib0 = (hiday-lowday)*.0+lowdayDrawSegment(startbar,fib0,barindex,fib0) coloured(234,234,234,alpha)DrawText(" ◄ 0%",barindex,fib0,Dialog,Bold,11) coloured(234,234,234,alpha)elsefibonacci = 0endifreturn05/05/2020 at 1:34 PM #130034Bonjour Nicolas,
cela correspond exactement à ce que je cherchais, je me suis effectivement mal exprimé.
Serait-il possible d’avoir ce même tracé de Fibonacci qui respecte les pourcentages haussier lors d’une journée haussière et baissière lors d’une journée baissière ?
Enfin comment supprimer le fond du rectangle qui se dessine et modifier la couleur des lignes tracées ?
Merci d’avance de votre aide.
05/05/2020 at 1:40 PM #13003505/05/2020 at 1:42 PM #130036 -
AuthorPosts
Find exclusive trading pro-tools on