Outil retracement de Fibonacci pour le price action
Forums › ProRealTime forum Français › Support ProBuilder › Outil retracement de Fibonacci pour le price action
- This topic has 33 replies, 6 voices, and was last updated 3 years ago by Nicolas.
Tagged: fibonacci
-
-
05/25/2019 at 1:25 PM #99419
Ce programme est avant tout destiné aux investisseurs tradant essentiellement avec l’action des prix en utilisant le strict minimum pour une meilleure efficacité.
Sans recours à des indicateurs superflux ces lignes de codes simples permettent:
– La détection automatiquement des niveaux de Fibonacci avec orientation correcte du tracé
– La visualisation du plus haut et bas de la session en cours ou d’une journée précédente sélectionnable sous forme de ligne continu ou d’un rectangle avec largeur ajustable partiellement et
– Le niveau d’ouverture de la session active…Au chapitre des variables il est possible d’intervenir sur les propriétés permettant
– “Grid” de sélectionner une “zone” particulière que vous désirez visualiser entre deux niveaux de Fibonacci ou laisser le programme s’en charger automatiquement (0)
– “XOffset” de paramètrer manuellement la largeur du rectangle recouvrant cette zone choisie
– “Alpha” de régler la transparence du texte à votre convenance
– “SetBar” d’agir sur la largeur du rectangle recouvrant les lignes “plus haut et plus bas”
– “NDay” de sélectionner la session active (0) ou les jours précédents (1 hier, 2 avant hier, ect…)
– “HLine” Cocher visualisation lignes “haut, bas” sélection par “NDay” ou rectangle plus le niveau d’ouverturePrice Action Tools123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185// Price Action Tools | Indicator// 25.05.2019 (Release 1.0)// Swapping @ www.forexswap.fr// Sharing ProRealTime knowledgeDefParam DrawOnLastBarOnly = true// --- Property settings//Grid = 0 // Select Area between Fibonacci levels (0 = automatic)//XOffset = 10 // Text XOffset//Alpha = 12 // Text Transparency//SetBar = 0 // Width adjustment rectangle//NDay = 0 // Choice Day (0 = today, 1 = yesterday)//HLine = 1 // Check (0 = Box, 1 = DrawHLine)// --- end// --- initXOffset = max(2,XOffset)alpha = max(alpha,0) // Limited input "Alpha"alpha = min(alpha,255) // (0 min, 255 max)NDay = max(NDay,0) // Limited input "Day"NDay = min(NDay,31) // (0 today, 31 end of month)// --- endif day <> day[1] thenstartbar = BarIndexendifHiDay = dhigh(NDay)LowDay = dlow(NDay)if HLine = 1 thenDrawHline(HiDay) coloured(40,140,190,255) // Upper Top LineDrawHline(LowDay) coloured(40,140,190,255) // Lower Low LineDrawText("Open ► ",startbar,dopen(0),SansSerif,Bold,11) coloured(40,140,190,alpha)DrawSegment(startbar,dopen(0),barindex,dopen(0)) coloured(40,140,190)elseDrawRectangle(startbar,HiDay,BarIndex-SetBar,LowDay) coloured(40,140,200,10) // Rectangleendifif low > fib50 then // Bullish sensefib100 = DHigh(0) //100%DrawText("Top Day ",BarIndex-XOffset-3,fib100,SansSerif,Bold,10) coloured(20,140,0,alpha)DrawSegment(BarIndex[XOffset-2],fib100,BarIndex,fib100) coloured(0,0,0,alpha)fib76 = (fib100-fib0)*.764+fib0 //76.4%DrawText("76.4% ",BarIndex-XOffset,fib76,SansSerif,Standard,10) coloured(20,140,0,alpha)fib62 = (fib100-fib0)*.618+fib0 //61.8%DrawText("61.8% ",BarIndex-XOffset,fib62,SansSerif,Standard,10) coloured(20,140,0,alpha)fib50 = (fib100-fib0)/2+fib0 //50%DrawText("50.0% ",BarIndex-XOffset,fib50,SansSerif,Standard,10) coloured(20,140,0,alpha)fib38 = (fib100-fib0)*.382+fib0 //38.2%DrawText("38.2% ",BarIndex-XOffset,fib38,SansSerif,Standard,10) coloured(20,140,0,alpha)fib24 = (fib100-fib0)*.236+fib0 //23.6%DrawText("23.6% ",BarIndex-XOffset,fib24,SansSerif,Standard,10) coloured(20,140,0,alpha)fib0 = DLow(0) //0%DrawText("0% ",BarIndex-XOffset,fib0,SansSerif,Standard,10) coloured(20,140,0,alpha)DrawSegment(BarIndex[XOffset-2],fib0,BarIndex,fib0) coloured(0,0,0,alpha)endifif high < fib50 then // Bearish sensefib100 = DHigh(0) //0%DrawText("Low Day ",BarIndex-XOffset-3,fib0,SansSerif,Bold,10) coloured(190,10,10,alpha)DrawSegment(BarIndex[XOffset-2],fib0,BarIndex,fib0) coloured(0,0,0,alpha)fib76 = (fib100-fib0)*.764+fib0 //23.6%DrawText("23.6% ",BarIndex-XOffset,fib76,SansSerif,Standard,10) coloured(190,10,10,alpha)fib62 = (fib100-fib0)*.618+fib0 //38.2%DrawText("38.2% ",BarIndex-XOffset,fib62,SansSerif,Standard,10) coloured(190,10,10,alpha)fib50 = (fib100-fib0)*.5+fib0 //50%DrawText("50.0% ",BarIndex-XOffset,fib50,SansSerif,Standard,10) coloured(190,10,10,alpha)fib38 = (fib100-fib0)*.382+fib0 //61.8%DrawText("61.8% ",BarIndex-XOffset,fib38,SansSerif,Standard,10) coloured(190,10,10,alpha)fib24 = (fib100-fib0)*.236+fib0 //76.4%DrawText("76.4% ",BarIndex-XOffset,fib24,SansSerif,Standard,10) coloured(190,10,10,alpha)fib0 = DLow(0) //100%DrawText("0% ",BarIndex-XOffset,fib100,SansSerif,Standard,10) coloured(190,10,10,alpha)DrawSegment(BarIndex[XOffset-2],fib100,BarIndex,fib100) coloured(0,0,0,alpha)endif//-------------------------------------------------// Check Box Selected Manual Area [1 to 14]if grid = 1 and low > fib50 then // area 0-23.6DrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib24) coloured(0,0,0,0)elsif grid = 1 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib24) coloured(0,0,0,0)endifif grid = 2 and low > fib50 then // area 23.6-38.2DrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib38) coloured(0,0,0,0)elsif grid = 2 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib38) coloured(0,0,0,0)endifif grid = 3 and low > fib50 then // area 38.2-50.0DrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib50) coloured(0,0,0,0)elsif grid = 3 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib50) coloured(0,0,0,0)endifif grid = 4 and low > fib50 then // area 50.0-61.8DrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib62) coloured(0,0,0,0)elsif grid = 4 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib62) coloured(0,0,0,0)endifif grid = 5 and low > fib50 then // area 61.8-76.4DrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib76) coloured(0,0,0,0)elsif grid = 5 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib76) coloured(0,0,0,0)endifif grid = 6 and low > fib50 then // area 76.4-100DrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)elsif grid = 6 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)endifif grid = 7 and low > fib50 then // area 100-61.8DrawRectangle(BarIndex-XOffset,fib100,BarIndex[0],fib62) coloured(0,0,0,0)elsif grid = 7 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib100,BarIndex[0],fib62) coloured(0,0,0,0)endifif grid = 8 and low > fib50 then // area 76.4-50.0DrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib50) coloured(0,0,0,0)elsif grid = 8 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib50) coloured(0,0,0,0)endifif grid = 9 and low > fib50 then // area 61.8-38.2DrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib38) coloured(0,0,0,0)elsif grid = 9 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib38) coloured(0,0,0,0)endifif grid = 10 and low > fib50 then // area 50.0-23.6DrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib24) coloured(0,0,0,0)elsif grid = 10 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib24) coloured(0,0,0,0)endifif grid = 11 and low > fib50 then // area 38.26-0DrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib0) coloured(0,0,0,0)elsif grid = 11 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib0) coloured(0,0,0,0)endifif grid = 12 and low > fib50 then // area 50.0-100DrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib100) coloured(0,0,0,0)elsif grid = 12 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib100) coloured(0,0,0,0)endifif grid = 13 and low > fib50 then // area 50.0-0DrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib50) coloured(0,0,0,0)elsif grid = 13 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib50) coloured(0,0,0,0)endifif grid = 14 and low > fib50 then // area 0-100DrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib100) coloured(0,0,0,0)elsif grid = 14 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib100) coloured(0,0,0,0)endif//-------------------------------------------------// Check Box Selected Automatic Area [0] bull/bearif grid = 0 and low > fib50 and close > fib0 and close < fib24 then // area 0-23.6DrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib24) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib0 and close < fib24 then // bearDrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib0) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib24 and close < fib38 then // area 23.6-38.2DrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib38) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib24 and close < fib38 then // bearDrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib38) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib38 and close < fib50 then // area 38.2-50.0DrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib50) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib38 and close < fib50 then // bearDrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib50) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib50 and close < fib62 then // area 50.0-61.8DrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib62) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib50 and close < fib62 then // bearDrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib62) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib62 and close < fib76 then // area 61.8-76.4DrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib76) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib76 and close < fib100 then // bearDrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib76 and close < fib100 then // area 76.4-100DrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib76 and close < fib100 then // bearDrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)endifreturn05/26/2019 at 2:57 PM #9946709/29/2020 at 7:27 AM #14579609/29/2020 at 7:58 AM #14580309/29/2020 at 8:48 PM #145894J’ai appliqué sur le graphique des prix en changeant “alpha = max(alpha,0) // Limited input “Alpha” par “alpha = max(alpha,255) // Limited input “Alpha” et la je vois effectivement les chiffres mais pas les lignes tracées.
Est il possible de les faire apparaître …?
Merci pour le retour
Pierre
09/30/2020 at 9:56 AM #145934Il faut les coder 🙂 La version du code ci-dessous intègre donc les lignes des retracements de Fibonacci :
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195// Price Action Tools | Indicator// 25.05.2019 (Release 1.0)// Swapping @ www.forexswap.fr// Sharing ProRealTime knowledgeDefParam DrawOnLastBarOnly = true// --- Property settingsGrid = 0 // Select Area between Fibonacci levels (0 = automatic)XOffset = 10 // Text XOffsetAlpha = 255 // Text TransparencySetBar = 0 // Width adjustment rectangleNDay = 0 // Choice Day (0 = today, 1 = yesterday)HLine = 1 // Check (0 = Box, 1 = DrawHLine)// --- end// --- initXOffset = max(2,XOffset)alpha = max(alpha,0) // Limited input "Alpha"alpha = min(alpha,255) // (0 min, 255 max)NDay = max(NDay,0) // Limited input "Day"NDay = min(NDay,31) // (0 today, 31 end of month)// --- endif day <> day[1] thenstartbar = BarIndexendifHiDay = dhigh(NDay)LowDay = dlow(NDay)if HLine = 1 thenDrawHline(HiDay) coloured(40,140,190,255) // Upper Top LineDrawHline(LowDay) coloured(40,140,190,255) // Lower Low LineDrawText("Open ► ",startbar,dopen(0),SansSerif,Bold,11) coloured(40,140,190,alpha)DrawSegment(startbar,dopen(0),barindex,dopen(0)) coloured(40,140,190)elseDrawRectangle(startbar,HiDay,BarIndex-SetBar,LowDay) coloured(40,140,200,10) // Rectangleendifif low > fib50 then // Bullish sensefib100 = DHigh(0) //100%DrawText("Top Day ",BarIndex-XOffset-3,fib100,SansSerif,Bold,10) coloured(20,140,0,alpha)DrawSegment(BarIndex[XOffset-2],fib100,BarIndex,fib100) coloured(0,0,0,alpha)fib76 = (fib100-fib0)*.764+fib0 //76.4%DrawText("76.4% ",BarIndex-XOffset,fib76,SansSerif,Standard,10) coloured(20,140,0,alpha)DrawSegment(BarIndex[XOffset-2],fib76,BarIndex,fib76) coloured(0,0,0,alpha)fib62 = (fib100-fib0)*.618+fib0 //61.8%DrawText("61.8% ",BarIndex-XOffset,fib62,SansSerif,Standard,10) coloured(20,140,0,alpha)DrawSegment(BarIndex[XOffset-2],fib62,BarIndex,fib62) coloured(0,0,0,alpha)fib50 = (fib100-fib0)/2+fib0 //50%DrawText("50.0% ",BarIndex-XOffset,fib50,SansSerif,Standard,10) coloured(20,140,0,alpha)DrawSegment(BarIndex[XOffset-2],fib50,BarIndex,fib50) coloured(0,0,0,alpha)fib38 = (fib100-fib0)*.382+fib0 //38.2%DrawText("38.2% ",BarIndex-XOffset,fib38,SansSerif,Standard,10) coloured(20,140,0,alpha)DrawSegment(BarIndex[XOffset-2],fib38,BarIndex,fib38) coloured(0,0,0,alpha)fib24 = (fib100-fib0)*.236+fib0 //23.6%DrawText("23.6% ",BarIndex-XOffset,fib24,SansSerif,Standard,10) coloured(20,140,0,alpha)DrawSegment(BarIndex[XOffset-2],fib24,BarIndex,fib24) coloured(0,0,0,alpha)fib0 = DLow(0) //0%DrawText("0% ",BarIndex-XOffset,fib0,SansSerif,Standard,10) coloured(20,140,0,alpha)DrawSegment(BarIndex[XOffset-2],fib0,BarIndex,fib0) coloured(0,0,0,alpha)endifif high < fib50 then // Bearish sensefib100 = DHigh(0) //0%DrawText("Low Day ",BarIndex-XOffset-3,fib0,SansSerif,Bold,10) coloured(190,10,10,alpha)DrawSegment(BarIndex[XOffset-2],fib0,BarIndex,fib0) coloured(0,0,0,alpha)fib76 = (fib100-fib0)*.764+fib0 //23.6%DrawText("23.6% ",BarIndex-XOffset,fib76,SansSerif,Standard,10) coloured(190,10,10,alpha)DrawSegment(BarIndex[XOffset-2],fib76,BarIndex,fib76) coloured(0,0,0,alpha)fib62 = (fib100-fib0)*.618+fib0 //38.2%DrawText("38.2% ",BarIndex-XOffset,fib62,SansSerif,Standard,10) coloured(190,10,10,alpha)DrawSegment(BarIndex[XOffset-2],fib62,BarIndex,fib62) coloured(0,0,0,alpha)fib50 = (fib100-fib0)*.5+fib0 //50%DrawText("50.0% ",BarIndex-XOffset,fib50,SansSerif,Standard,10) coloured(190,10,10,alpha)DrawSegment(BarIndex[XOffset-2],fib50,BarIndex,fib50) coloured(0,0,0,alpha)fib38 = (fib100-fib0)*.382+fib0 //61.8%DrawText("61.8% ",BarIndex-XOffset,fib38,SansSerif,Standard,10) coloured(190,10,10,alpha)DrawSegment(BarIndex[XOffset-2],fib38,BarIndex,fib38) coloured(0,0,0,alpha)fib24 = (fib100-fib0)*.236+fib0 //76.4%DrawText("76.4% ",BarIndex-XOffset,fib24,SansSerif,Standard,10) coloured(190,10,10,alpha)DrawSegment(BarIndex[XOffset-2],fib24,BarIndex,fib24) coloured(0,0,0,alpha)fib0 = DLow(0) //100%DrawText("0% ",BarIndex-XOffset,fib100,SansSerif,Standard,10) coloured(190,10,10,alpha)DrawSegment(BarIndex[XOffset-2],fib100,BarIndex,fib100) coloured(0,0,0,alpha)endif//-------------------------------------------------// Check Box Selected Manual Area [1 to 14]if grid = 1 and low > fib50 then // area 0-23.6DrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib24) coloured(0,0,0,0)elsif grid = 1 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib24) coloured(0,0,0,0)endifif grid = 2 and low > fib50 then // area 23.6-38.2DrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib38) coloured(0,0,0,0)elsif grid = 2 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib38) coloured(0,0,0,0)endifif grid = 3 and low > fib50 then // area 38.2-50.0DrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib50) coloured(0,0,0,0)elsif grid = 3 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib50) coloured(0,0,0,0)endifif grid = 4 and low > fib50 then // area 50.0-61.8DrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib62) coloured(0,0,0,0)elsif grid = 4 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib62) coloured(0,0,0,0)endifif grid = 5 and low > fib50 then // area 61.8-76.4DrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib76) coloured(0,0,0,0)elsif grid = 5 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib76) coloured(0,0,0,0)endifif grid = 6 and low > fib50 then // area 76.4-100DrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)elsif grid = 6 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)endifif grid = 7 and low > fib50 then // area 100-61.8DrawRectangle(BarIndex-XOffset,fib100,BarIndex[0],fib62) coloured(0,0,0,0)elsif grid = 7 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib100,BarIndex[0],fib62) coloured(0,0,0,0)endifif grid = 8 and low > fib50 then // area 76.4-50.0DrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib50) coloured(0,0,0,0)elsif grid = 8 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib50) coloured(0,0,0,0)endifif grid = 9 and low > fib50 then // area 61.8-38.2DrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib38) coloured(0,0,0,0)elsif grid = 9 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib38) coloured(0,0,0,0)endifif grid = 10 and low > fib50 then // area 50.0-23.6DrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib24) coloured(0,0,0,0)elsif grid = 10 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib24) coloured(0,0,0,0)endifif grid = 11 and low > fib50 then // area 38.26-0DrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib0) coloured(0,0,0,0)elsif grid = 11 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib0) coloured(0,0,0,0)endifif grid = 12 and low > fib50 then // area 50.0-100DrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib100) coloured(0,0,0,0)elsif grid = 12 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib100) coloured(0,0,0,0)endifif grid = 13 and low > fib50 then // area 50.0-0DrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib50) coloured(0,0,0,0)elsif grid = 13 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib50) coloured(0,0,0,0)endifif grid = 14 and low > fib50 then // area 0-100DrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib100) coloured(0,0,0,0)elsif grid = 14 and low < fib50 thenDrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib100) coloured(0,0,0,0)endif//-------------------------------------------------// Check Box Selected Automatic Area [0] bull/bearif grid = 0 and low > fib50 and close > fib0 and close < fib24 then // area 0-23.6DrawRectangle(BarIndex-XOffset,fib0,BarIndex[0],fib24) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib0 and close < fib24 then // bearDrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib0) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib24 and close < fib38 then // area 23.6-38.2DrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib38) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib24 and close < fib38 then // bearDrawRectangle(BarIndex-XOffset,fib24,BarIndex[0],fib38) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib38 and close < fib50 then // area 38.2-50.0DrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib50) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib38 and close < fib50 then // bearDrawRectangle(BarIndex-XOffset,fib38,BarIndex[0],fib50) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib50 and close < fib62 then // area 50.0-61.8DrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib62) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib50 and close < fib62 then // bearDrawRectangle(BarIndex-XOffset,fib50,BarIndex[0],fib62) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib62 and close < fib76 then // area 61.8-76.4DrawRectangle(BarIndex-XOffset,fib62,BarIndex[0],fib76) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib76 and close < fib100 then // bearDrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)endifif grid = 0 and low > fib50 and close > fib76 and close < fib100 then // area 76.4-100DrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)elsif grid = 0 and high < fib50 and close > fib76 and close < fib100 then // bearDrawRectangle(BarIndex-XOffset,fib76,BarIndex[0],fib100) coloured(0,0,0,0)endifreturn12/12/2020 at 7:47 AM #153457Bonjour,
Je ne sais pas pourquoi ça marche pas chez moi. Pas moyen d’afficher quoique ce soit sur aucun des 2 prog.
En tout cas riche idée.
I like prorealcode.com . Buy
12/12/2020 at 8:02 AM #153458J’ai bien noté “by adding it on price instead. Use the wrench on the left upper side of your price chart.”
prt 11, l”indicateur est tjr sous le prix, pas avec. Je n’ai pas trouver comment lui dire de le mettre avec.
ça doit être ça.
bye
12/12/2020 at 9:34 AM #153460Bonjour, la clé (wrench) n’est qu’en v10.3, elle n’y est plus en v11, à la place il faut cliquer directement sur “prix” dans le coin supérieur gauche de la fenêtre du prix pour faire apparaitre “ajouter un indicateur” qui sera avec le prix.
12/12/2020 at 10:36 AM #153465intégration réussi merci.
tjrs rien malgré tout.
prix = Close
return prix as “prix” n’a pas fait apparaitre le mystérieux résultat.Jouer de l’alpha non plus.
Ce n’est pas grave du tout.
d’ailleurs, je zap
bye
07/07/2021 at 1:52 PM #173295Bonjour,
Merci pour ce superbe outil…
Je ne sais pas pour vous, mais moi j’ai un problème d’actualisation des niveaux. Les lignes s’affichent bien quand j’installe l’indicateur, mais si il y a un nouveau plus haut par la suite, l’indicateur ne met pas à jour la ligne “Top day” et les autres qui en découlent.
Je suis obligé de supprimer l’indicateur du graphique et de le réinstaller…
Y-a-t’il quelque chose à faire pour arranger ça ?
Merci d’avance
07/09/2021 at 8:17 AM #17336407/10/2021 at 12:03 PM #17340807/10/2021 at 1:19 PM #17342707/10/2021 at 5:39 PM #173441 -
AuthorPosts
Find exclusive trading pro-tools on