Nicolas

Fibonacci auto channel

Category: Indicators By: Nicolas Created: February 5, 2016, 10:12 PM
February 5, 2016, 10:12 PM
Indicators
3 Comments
Fibonacci auto channel

Another channel indicator made of Fibonacci retracements levels over an x period.

 

//parameters
// period = 50

ll = lowest[period](low)
hh = highest[period](high)
mid = (ll+hh)/2

fibo1 = (hh-ll)*0.764+ll
fibo2 = (hh-ll)*0.618+ll
fibo3 = (hh-ll)*0.382+ll
fibo4 = (hh-ll)*0.500+ll
fibo5 = (hh-ll)*0.236+ll

RETURN mid as "center", fibo1, fibo2, fibo3, fibo4, fibo5

 

Download
Filename: Fibonacci-auto-channels.itf
Downloads: 424
Nicolas
Nicolas Legend
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

supertiti
9 years ago
#

Bonjour Nicolas comme j'avais l'impression qu'il en manque un bout j'ai fais ça : Peux tu valider ce code , merci Le bouton ADD PRT code ne marche pas cette fois !? // Fibonacci Auto Channels PRC //parameters // period = 50 ll = lowest[period](low) hh = highest[period](high) //mid = (ll+hh)/2 fibo1 = 1/(hh-ll)*1.236+ll fibo2 = (hh-ll)*0.236+ll fibo3 = (hh-ll)*0.382+ll fibo4 = (hh-ll)*0.500+ll fibo5 = (hh-ll)*0.618+ll fibo6 = (hh-ll)*0.764+ll fibo7 = (hh-ll)*1+ll RETURN customclose as " customclose " , fibo1 as " fibo1", fibo2 as " fibo2" , fibo3 as " fibo3" , fibo4 as " fibo center ", fibo5 as " fibo5 ", fibo6 as " fibo6 ", fibo7 as " fibo7 "

Nicolas
9 years ago
#

Merci supertiti ! C'est juste, encore un ptit bug quelquepart ! :|

211
211
9 years ago
#

Really nice indicator Nicolas! Well done!

ProRealCode ProRealCode
Loading...