TripleFunctionIndicator (TFI)
Forums › ProRealTime English forum › ProBuilder support › TripleFunctionIndicator (TFI)
- This topic has 4 replies, 2 voices, and was last updated 4 years ago by Zigo.
Viewing 5 posts - 1 through 5 (of 5 total)
-
-
02/06/2020 at 5:32 PM #118855
TFI is applicable even for very small timeframes, as You can see in the attachement, I use that indicator togheter with the Zigomathematics Indicator (arrowup and arrowdown in the graphic.
12345678910111213141516171819202122232425//Compute %R Williams Indicator twice, once with the High and second with the low instead of the closec1=Williams[n](high)c2=Williams[n](low)//Compare with the Overbought conditionsif c1 >-20 and c1 > c1[1] thenb = close+(0.1*close)-close//Compare with the Oversold conditionselsif c2 < -80 and c2 < c2[1] thenb=close -(0.1*close)-closeendif//Backgroundcolors and arrow's up and downif b >= 0 thenBACKGROUNDCOLOR(0,0,0,35)if b crosses over 0 thenDRAWARROWUP(barindex, low-1.5*AverageTrueRange[14](close))coloured(30,0,150,255)endifelsif b < 0 thenBACKGROUNDCOLOR(0,0,0,55)if b crosses under 0 thenDRAWARROWDOWN(barindex, high +1.5*AverageTrueRange[14](close))coloured (255,0,55,255)endifendifreturn02/06/2020 at 5:42 PM #11885702/10/2020 at 11:59 AM #11916302/10/2020 at 12:20 PM #11917102/10/2020 at 2:33 PM #119180 -
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)