FIBONACCI AUTOMÁTICO **************************************
Forums › ProRealTime foro Español › Soporte ProBuilder › FIBONACCI AUTOMÁTICO **************************************
- This topic has 2 replies, 2 voices, and was last updated 1 week ago by
NEOMKEY.
Viewing 3 posts - 1 through 3 (of 3 total)
-
-
11/15/2023 at 8:48 PM #223763
Hola a tod@s, a ver si pudiérais ayudarme con un indicador.
El indicador debe trazar los niveles de retroceso de Fibonacci usando como máximos y mínimos de los puntos pivote en un periodo de 10 velas.
Gracias de antemano,
Un saludo
11/24/2023 at 12:30 PM #224241Ahi esta:
1234567891011121314151617181920212223242526272829303132333435363738394041DEFPARAM CalculateOnLastBars = 3000DEFPARAM DrawOnLastBarOnly = True//ONCE p = 10Pivot = (DHigh(1) + DLow(1) + Close[1]) / 3HH = highest[p](Pivot)LL = lowest[p](Pivot)Diff = HH - LLFib0236 = Diff * 0.236Fib0382 = Diff * 0.382Fib0500 = Diff * 0.500Fib0618 = Diff * 0.618Fib0764 = Diff * 0.764Up = 0Dn = 0FOR i = 0 TO (p - 1)IF Pivot[i] = HH THENUp = 1BREAKENDIFIF Pivot[i] = LL THENDn = 1BREAKENDIFNEXTDRAWHLINE(HH) coloured(238,122,233,255)//(0,128,0,255)DRAWHLINE(LL) coloured(238,122,233,255)//(0,128,0,255)IF Up THENDRAWTEXT("---------------------------(23.6%)",BarIndex,HH - Fib0236,SansSerif,Bold,10)coloured(238,122,233,255)DRAWTEXT("---------------------------(38.2%)",BarIndex,HH - Fib0382,SansSerif,Bold,10)coloured(238,122,233,255)DRAWTEXT("---------------------------(50.0%)",BarIndex,HH - Fib0500,SansSerif,Bold,10)coloured(238,122,233,255)DRAWTEXT("---------------------------(61.8%)",BarIndex,HH - Fib0618,SansSerif,Bold,10)coloured(238,122,233,255)DRAWTEXT("---------------------------(76.4%)",BarIndex,HH - Fib0764,SansSerif,Bold,10)coloured(238,122,233,255)ELSIF Dn THENDRAWTEXT("---------------------------(23.6%)",BarIndex,LL + Fib0236,SansSerif,Bold,10)coloured(238,122,233,255)DRAWTEXT("---------------------------(38.2%)",BarIndex,LL + Fib0382,SansSerif,Bold,10)coloured(238,122,233,255)DRAWTEXT("---------------------------(50.0%)",BarIndex,LL + Fib0500,SansSerif,Bold,10)coloured(238,122,233,255)DRAWTEXT("---------------------------(61.8%)",BarIndex,LL + Fib0618,SansSerif,Bold,10)coloured(238,122,233,255)DRAWTEXT("---------------------------(76.4%)",BarIndex,LL + Fib0764,SansSerif,Bold,10)coloured(238,122,233,255)ENDIFRETURN11/24/2023 at 4:41 PM #224259 -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
Find exclusive trading pro-tools on
Similar topics: