06-24-2009, 04:43 PM
|
#1 |
Join Date: Jul 2007 Location: Omaha, NE Thanks: 431
Thanked 551 Times in 228 Posts
| Calculating the Fibonnaci Levels of a Candle I'd like to qualify a study to check and see if the close of a candle is below or above the 78.6 retracement value of that candle. Except I can't seem to calculate the value to check correctly. Code: {C = B + (A — B) x N%}
This is for a downtrend candle.
Step1 = High - Low;
Step2 = Step1*.786;
Step3 = Low + Step2;
Plot4( Close, "IB FO S 78.6", IBShortColor );
Plot9(""+ numtoStr(Step3,5),"78.6 Value");
Alert("IB Fakeout S");
end;
NoPlot( 4 ); So that is what I was doing, which obviously doesn't quite work. Am i thinking about this wrong? Fibonacci is simply a measure of percentage of a given length in a market. Thus, if I want to measure a candle I need to measure the From the High to the Low, and then multiply that by .786 to get 78.6% measure of the candle right?
Last edited by daedalus; 06-24-2009 at 05:00 PM.
|
| |