Indicatore Market resilience
Forums › ProRealTime forum Italiano › Supporto ProBuilder › Indicatore Market resilience
- This topic has 2 replies, 2 voices, and was last updated 1 month ago by Msport71.
Viewing 3 posts - 1 through 3 (of 3 total)
-
-
10/03/2024 at 8:14 AM #238442
Buongiorno,
sto guardando questo indicatore in libreria, che indica i livelli di fibonacci in base alla pre apertura mercati tra le 8,05 e le 9,00 della seduta corrente.
Sarebbe possibile modificarlo in modo che mostri i livelli anche in look back , fermo restando l’intervallo temporale cui sopra?
Grazie per l’aiuto.
https://www.prorealcode.com/prorealtime-indicators/market-resilience/
10/03/2024 at 12:31 PM #238461Puoi convertire le variabili in array e creare un riquadro nell'ultima barra.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119// Market Resilence EUR | Graph Indicator// 19.01.2019 (Release 1.0)// Swapping @ www.forexswap.fr// Sharing ProRealTime knowledge (alt+16) ( use with time frame 5mn )DefParam DrawOnLastBarOnly = true// --- property settingsAlpha = 180 // Transparency textOffset = 10 // Offset alphanumeric/rectangle OPRLevel = 1 // (0=hidden; 1=observable)Text = 1 // (0=no text; 1=text)numshow = 15 // Show last X days// --- endstarttime = 080500 // 08h00 Pré Market EU (Cac, Dax, Footsie, ect...)endtime = 090000 // 09h00 Ouverture session européennealpha = max(alpha,0) // Restricted input variable Max-Minalpha = min(alpha,255)if day<>day[1] and dayofweek<>0 thenn=n+1$hh[n]=0$ll[n]=0endifif time = starttime thenstartbar = barindex$startbar[n]=barindexendifif time = endtime thenendbar = barindex$endbar[n]=barindexendifif time >= starttime and time <= endtime thenif high > $hh[n] then$hh[n] = highendifif low < $ll[n] or $ll[n] = 0 then$ll[n] = lowendifendifif islastbarupdate thenfor i=n downto n-min(n,numshow)+1 dohh=$hh[i]ll=$ll[i]dif = $hh[i]-$ll[i]fib38 = $hh[i]fib0 = $ll[i]fibobull200 = (fib38-fib0)*5.236+fib0fibobull162 = (fib38-fib0)*4.236+fib0fibobull124 = (fib38-fib0)*3.236+fib0fibobull100 = (fib38-fib0)*1.618+fib38fibobull76 = (fib38-fib0)+fib38fibobull62 = (fib38-fib0)*1.618+fib0fibobear62 = (fib0-fib38)*.618+fib0fibobear76 = (fib0-fib38)+fib0fibobear100 = (fib0-fib38)*1.618+fib0fibobear124 = (fib0-fib38)*2.236+fib0fibobear162 = (fib0-fib38)*3.236+fib0fibobear200 = (fib0-fib38)*4.236+fib0if Text = 1 thenDrawText("OPR #dif#pts",$startbar[i]+6,$hh[i]+(offset*4),SansSerif,Bold,11) coloured(150,150,150,alpha)DrawText(" HI #hh# ",$startbar[i]+6,$hh[i]+(offset),SansSerif,Standard,10) coloured(22,111,0,alpha)DrawSegment($endbar[i],$hh[i],$endbar[i-1],$hh[i]) coloured(0,200,0,alpha)DrawText("╔═════► ",$startbar[i]+6,$hh[i]+(dif),Dialog,Bold,10) coloured(22,111,0,alpha) // Option OPR - 100% (Glyphe alt+201, alt+205)DrawText(" LO #ll# ",$startbar[i]+6,$ll[i]-(offset),SansSerif,Standard,10) coloured(200,20,20,alpha)DrawSegment($endbar[i],$ll[i],$endbar[i-1],$ll[i]) coloured(200,0,0,alpha)DrawText("╚═════► ",$startbar[i]+6,$ll[i]-(dif),Dialog,Bold,10) coloured(200,10,10,alpha) // Option OPR - 100% (Glyphe alt+200, alt+205)endifif Level = 1 thenDrawSegment($endbar[i]+2,fibobull200,$endbar[i-1]-10,fibobull200) coloured(25,100,0,alpha)DrawText("Bullish 200%",$endbar[i-1]-2,fibobull200,SansSerif,Bold,11) coloured(25,100,0,alpha)DrawSegment($endbar[i]+2,fibobull162,$endbar[i-1]-10,fibobull162) coloured(25,100,0,alpha)DrawText("161.8%",$endbar[i-1]-3,fibobull162,SansSerif,Bold,11) coloured(25,100,0,alpha)DrawSegment($endbar[i]+2,fibobull124,$endbar[i-1]-10,fibobull124) coloured(25,100,0,alpha)DrawText("123.6%",$endbar[i-1]-3,fibobull124,SansSerif,Bold,11) coloured(25,100,0,alpha)DrawSegment($endbar[i]+2,fibobull100,$endbar[i-1]-10,fibobull100) coloured(25,100,0,alpha)DrawText("100%",$endbar[i-1]-3,fibobull100,SansSerif,Bold,11) coloured(25,100,0,alpha)DrawSegment($endbar[i]+2,fibobull76,$endbar[i-1]-10,fibobull76) coloured(25,100,0,alpha)DrawText("76.4%",$endbar[i-1]-3,fibobull76,SansSerif,Bold,11) coloured(25,100,0,alpha)DrawSegment($endbar[i]+2,fibobull62,$endbar[i-1]-10,fibobull62) coloured(25,100,0,alpha)DrawText("61.8%",$endbar[i-1]-3,fibobull62,SansSerif,Bold,11) coloured(25,100,0,alpha)DrawSegment($endbar[i]+2,fibobear62,$endbar[i-1]-10,fibobear62) coloured(200,11,11,alpha)DrawText("61.8%",$endbar[i-1]-3,fibobear62,SansSerif,Bold,11) coloured(200,10,10,alpha)DrawText("76.4%",$endbar[i-1]-3,fibobear76,SansSerif,Bold,11) coloured(200,10,10,alpha)DrawSegment($endbar[i]+2,fibobear76,$endbar[i-1]-10,fibobear76) coloured(200,11,11,alpha)DrawText("100%",$endbar[i-1]-3,fibobear100,SansSerif,Bold,11) coloured(200,10,10,alpha)DrawSegment($endbar[i]+2,fibobear100,$endbar[i-1]-10,fibobear100) coloured(200,11,11,alpha)DrawSegment($endbar[i]+2,fibobear124,$endbar[i-1]-10,fibobear124) coloured(200,11,11,alpha)DrawText("123.6%",$endbar[i-1]-3,fibobear124,SansSerif,Bold,11) coloured(200,10,10,alpha)DrawSegment($endbar[i]+2,fibobear162,$endbar[i-1]-10,fibobear162) coloured(200,11,11,alpha)DrawText("161.8%",$endbar[i-1]-3,fibobear162,SansSerif,Bold,11) coloured(200,10,10,alpha)DrawSegment($endbar[i]+2,fibobear200,$endbar[i-1]-10,fibobear200) coloured(200,11,11,alpha)DrawText("Bearish 200%",$endbar[i-1]-2,fibobear200,SansSerif,Bold,11) coloured(200,10,10,alpha)endifnextendifreturn10/03/2024 at 12:49 PM #238463 -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
Find exclusive trading pro-tools on
Similar topics: