You Are At The Fivots Page
No There Is No Charge - If You Learn Or Get Something From It  - Contribute What You Think It Is Worth - Trading Is A Craft - I Should Learn It Well

"If, by chance, something less or more proper or necessary I omitted, your indulgence for me is entreated, as there is no one who is without fault, and in all things altogether circumspect." - Fibonacci

Contribute Here - Thank You
Return To Indicators - TOS Scripts - Page

Fivots - Pivots With The Math Of Fibonacci
If you use out of the box pivots they seem to have only a few levels and run out of levels before price does.
If you have used Camarilla pivots they seem to miss the price alot, and their formula doesn't allow adding more levels. They supposedly are based on Fibonacci.
The other thing is the third line being a point of reversal, really the third line is the .382 and or .618 depending on direction The fourth line is actually the .50, with Fivots these levels are correct by decimal.

Price & Fibonacci Are Infinite. You need more then four levels and a sequence of those levels. When you pull a Fib from one extreme to the other you are in essence creating the next periods Fib levels.
The Fivots are doing the same thing in the period you choose to have them calculate. If large time frames rule the day, then why wouldn't you want to see them in a year?
So many scripts use some strange math, where it comes from is unknown, we live in a 
Hindu–Arabic numeral system, 0 to 100 and it starts again 100 to 200 etc. Infinite.
The equivalencies of the Fibonacci Sequence used in trading are .236, .382, .500, .618, 1.000 and are infinite. The equivalencies used in scripting Fivots are .118, .236, .382, .500, .618, .764, .882, 1.00,
and are infinite, the .764 is the equivalent of .236, the .118 and .882 are the equivalents at the 0 and or 1,00's, see the Fivots in practice page. All these numbers are infinite and can be scripted
 a million ways to Sunday, it is surprising no one has converted Fibonacci to Metric, the only thing not infinite in this life time is the amount of money one can loose. For most people!
As an awakening of just using the decimal numbers of Fibonacci the script for Fivots was arrived at. So you don't run out of price action.
If you google pivots with Fibonacci math there are some out there, so many that are scripted to have a open and close time, confusing.

There Are 3 Fivot Scripts Here - First Two Can Plot In A Whole Year
Third One Cannot - It Does Show Previous Periods
, Has Period Pivot & Future Period Plotting
Scripts 1 & 2 Try Saving Them As Three Separate Charts - FivotsMajors0to4 - FivotsMajors4to8 - FivotsMajors0to8 - So your not running all the scripts at once.
Try Saving Scripts 1 & 2 As FIVOTSZEROTOFOUR - FIVOTSFOURTOEIGHT - FIVOTSLOOKBACKZEROTOFOUR
The reason 1 and 2 are scripted 0.000 to 4.000 & 4.000 to 8.000 is you don't need all these levels at one time, driving you insane.
You will find most under lying's never make it past 4.000
Script 3 is only 0.000 to 4.000 odds are price will never exceed any of the available time periods & if it does, pull a fib from the last 0 to 100 with a 1.0 extension
If you are of a floor trader mindset and only trade period pivots, use script three for its calculated pivot, day, week, month, whatever you choose.

Take away my inhibitions  Take away my solitude  Fire me up with your resistance  Put me in the mood  Storm the walls around this prison  Leave the inmates  Free the guards
Deal me up another future  From some brand new deck of cards  Take the chip off of my shoulder  Smooth out all the lines  Take me out among the rustling pines

Till It Shines
This Page's Layout Guide
L to R - Top To Bottom

1. Major Levels 0.000 to 4.000

2. Major Levels 4.000 to 8.000
3. Major Levels 0.000 to 4.000
Shows Previous Periods
Fivots In Practice






There is a company or website out there that teaches a Fibonacci mastery class, using pivots - to watch there videos, these Fivots and there pivots are one or two points off from each other.
They are asking $3200.00 to $7200.00 for the class & they actually don't trade anything.
Take these and learn to do it yourself. All Fibonacci is, Is the repeating of anything in nature, from markets to bad habits, it just keeps repeating. Start Repeating Good Habit's!
You can google that sight and check it out.
Fibonacci Mastery Class
Fivots Major Levels - 0.000 to 4.000
Return To Top Of Page

This Set Is The Major Levels Of Fibonacci - 0.000 to 4.000
You Can Use This As A One Year Set Of Fivots
You must adjust this the first of every month.
12 months is length and every month you turn down the prediction length by one, January 12-11 - November 12-1, December  12-0, etc.
Actually you can get it to go back 120, 108, 96, etc, months and out 12, 24, 36, etc, months.
As long as you subtract out the months remaining in the current year and front years. Every under lying is different in the amount of data it can calculate from.
In 12 Month Mode (One Year)  Fivots Only Display On Day, Week, Month Periods. Simply Pull A Fib From a 0 to a 100 & It Is On All Time Frames.
On Smaller Period Settings It Will Display On Smaller Time Frames & Tick Charts - Not On Range Bars
Simply Pull A Fib From a 0 to a 100 & Its On All Time Frames - See In Practice Page.
It works on any underlying of quality and or at least a couple of years of data. Works Great On Indexes & Futures
  Zero Is Simply The Center Of Any Period Of Setting Of Support S Or Resistance R
The best way to use these is color code them so you can quickly identify where you are.
Numerical With Large Dashes - Or Whatever Works For You


Script For Think Or Swim - Copy & Paste

input aggregationPeriod = {default "DAY","30 MIN", "1 HOUR", "WEEK", "MONTH"};
input length = 12;
input predictionLength = 3;

Assert(length > 0, "'length' should be positive: " + length);
Assert(predictionLength >= 0, "'prediction length' should be greater than or equal to 0: " + predictionLength);
Assert(predictionLength <= length, "'prediction length' should be less than or equal to 'length'");

def isEnd = !IsNaN(close(period = aggregationPeriod)[-length + predictionLength]) and IsNaN(close(period = aggregationPeriod)[-length + predictionLength - 1]);

def highValue = if isEnd then Highest(high(period = aggregationPeriod), length) else highValue[1];
def lowValue = if isEnd then Lowest(low(period = aggregationPeriod), length) else lowValue[1];
def closeValue = if isEnd then close(period = aggregationPeriod) else closeValue[1];

def show = !IsNaN(close(period = aggregationPeriod)[predictionLength]) and IsNaN(close(period = aggregationPeriod)[-length + predictionLength]);

def range = highValue - lowValue;

def R33;
plot R32;
plot R31;
plot R30;
plot R29;
plot R28;
plot R27;
plot R26;
plot R25;
plot R24;
plot R23;
plot R22;
plot R21;
plot R20;
plot R19;
plot R18;
plot R17;
plot R16;
plot R15;
plot R14;
plot R13;
plot R12;
plot R11;
plot R10;
plot R9;
plot R8;
plot R7;
plot R6;
plot R5;
plot R4;
plot R3;
plot R2;
plot R1;
plot Zero;
plot S1;
plot S2;
plot S3;
plot S4;
plot S5;
plot S6;
plot S7;
plot S8;
plot S9;
plot S10;
plot S11;
plot S12;
plot S13;
plot S14;
plot S15;
plot S16;
plot S17;
plot S18;
plot S19;
plot S20;
plot S21;
plot S22;
plot S23;
plot S24;
plot S25;
plot S26;
plot S27;
plot S28;
plot S29;
plot S30;
plot S31;
plot S32;
def S33;


if !show
then {
    R33 = Double.NaN;
    R32 = Double.NaN;
    R31 = Double.NaN;
    R30 = Double.NaN;
    R29 = Double.NaN;
    R28 = Double.NaN;
    R27 = Double.NaN;
    R26 = Double.NaN;
    R25 = Double.NaN;
    R24 = Double.NaN;
    R23 = Double.NaN;
    R22 = Double.NaN;
    R21 = Double.NaN;
    R20 = Double.NaN;
    R19 = Double.NaN;
    R18 = Double.NaN;
    R17 = Double.NaN;
    R16 = Double.NaN;
    R15 = Double.NaN;
    R14 = Double.NaN;
    R13 = Double.NaN;
    R12 = Double.NaN;
    R11 = Double.NaN;
    R10 = Double.NaN;
    R9 = Double.NaN;
    R8 = Double.NaN;
    R7 = Double.NaN;
    R6 = Double.NaN;
    R5 = Double.NaN;
    R4 = Double.NaN;
    R3 = Double.NaN;
    R2 = Double.NaN;
    R1 = Double.NaN;
    Zero = Double.NaN;
    S1 = Double.NaN;
    S2 = Double.NaN;
    S3 = Double.NaN;
    S4 = Double.NaN;
    S5 = Double.NaN;
    S6 = Double.NaN;
    S7 = Double.NaN;
    S8 = Double.NaN;
    S9 = Double.NaN;
    S10 = Double.NaN;
    S11 = Double.NaN;
    S12 = Double.NaN;
    S13 = Double.NaN;
    S14 = Double.NaN;
    S15 = Double.NaN;
    S16 = Double.NaN;
    S17 = Double.NaN;
    S18 = Double.NaN;
    S19 = Double.NaN;
    S20 = Double.NaN;
    S21 = Double.NaN;
    S22 = Double.NaN;
    S23 = Double.NaN;
    S24 = Double.NaN;
    S25 = Double.NaN;
    S26 = Double.NaN;
    S27 = Double.NaN;
    S28 = Double.NaN;
    S29 = Double.NaN;
    S30 = Double.NaN;
    S31 = Double.NaN;
    S32 = Double.NaN;
    S33 = Double.NaN;

} else {

    R33 = (highValue / lowValue) * closeValue;
    R32 = closeValue + range * (4.000);
    R31 = closeValue + range * (3.882);
    R30 = closeValue + range * (3.764);
    R29 = closeValue + range * (3.618);
    R28 = closeValue + range * (3.500);
    R27 = closeValue + range * (3.382);
    R26 = closeValue + range * (3.236);
    R25 = closeValue + range * (3.118);
    R24 = closeValue + range * (3.000);
    R23 = closeValue + range * (2.882);
    R22 = closeValue + range * (2.764);
    R21 = closeValue + range * (2.618);
    R20 = closeValue + range * (2.500);
    R19 = closeValue + range * (2.382);
    R18 = closeValue + range * (2.236);
    R17 = closeValue + range * (2.118);
    R16 = closeValue + range * (2.000);
    R15 = closeValue + range * (1.882);
    R14 = closeValue + range * (1.764);
    R13 = closeValue + range * (1.618);
    R12 = closeValue + range * (1.500);
    R11 = closeValue + range * (1.382);
    R10 = closeValue + range * (1.236);
    R9 = closeValue + range * (1.118);
    R8 = closeValue + range * (1.000);
    R7 = closeValue + range * (0.882);
    R6 = closeValue + range * (0.764);
    R5 = closeValue + range * (0.618);
    R4 = closeValue + range * (0.500);
    R3 = closeValue + range * (0.382);
    R2 = closeValue + range * (0.236);
    R1 = closeValue + range * (0.118);
    Zero = closeValue - range * (0.0);
    S1 = closeValue - range * (0.118);
    S2 = closeValue - range * (0.236);
    S3 = closeValue - range * (0.382);
    S4 = closeValue - range * (0.500);
    S5 = closeValue - range * (0.618);
    S6 = closeValue - range * (0.764);
    S7 = closeValue - range * (0.882);
    S8 = closeValue - range * (1.000);
    S9 = closeValue - range * (1.118);
    S10 = closeValue - range * (1.236);
    S11 = closeValue - range * (1.382);
    S12 = closeValue - range * (1.500);
    S13 = closeValue - range * (1.618);
    S14 = closeValue - range * (1.764);
    S15 = closeValue - range * (1.882);
    S16 = closeValue - range * (2.000);
    S17 = closeValue - range * (2.118);
    S18 = closeValue - range * (2.236);
    S19 = closeValue - range * (2.382);
    S20 = closeValue - range * (2.500);
    S21 = closeValue - range * (2.618);
    S22 = closeValue - range * (2.764);
    S23 = closeValue - range * (2.882);
    S24 = closeValue - range * (3.000);
    S25 = closeValue - range * (3.118);
    S26 = closeValue - range * (3.236);
    S27 = closeValue - range * (3.382);
    S28 = closeValue - range * (3.500);
    S29 = closeValue - range * (3.618);
    S30 = closeValue - range * (3.764);
    S31 = closeValue - range * (3.882);
    S32 = closeValue - range * (4.000);
    S33 = (closeValue - (R33 - closeValue));

}

Zero.SetDefaultColor(GetColor(5));
R32.SetDefaultColor(GetColor(5));
R31.SetDefaultColor(GetColor(5));
R30.SetDefaultColor(GetColor(5));
R29.SetDefaultColor(GetColor(5));
R28.SetDefaultColor(GetColor(5));
R27.SetDefaultColor(GetColor(5));
R26.SetDefaultColor(GetColor(5));
R25.SetDefaultColor(GetColor(5));
R24.SetDefaultColor(GetColor(5));
R23.SetDefaultColor(GetColor(5));
R22.SetDefaultColor(GetColor(5));
R21.SetDefaultColor(GetColor(5));
R20.SetDefaultColor(GetColor(5));
R19.SetDefaultColor(GetColor(5));
R18.SetDefaultColor(GetColor(5));
R17.SetDefaultColor(GetColor(5));
R16.SetDefaultColor(GetColor(5));
R15.SetDefaultColor(GetColor(5));
R14.SetDefaultColor(GetColor(5));
R13.SetDefaultColor(GetColor(5));
R12.SetDefaultColor(GetColor(5));
R11.SetDefaultColor(GetColor(5));
R10.SetDefaultColor(GetColor(5));
R9.SetDefaultColor(GetColor(5));
R8.SetDefaultColor(GetColor(5));
R7.SetDefaultColor(GetColor(5));
R6.SetDefaultColor(GetColor(5));
R5.SetDefaultColor(GetColor(5));
R4.SetDefaultColor(GetColor(5));
R3.SetDefaultColor(GetColor(5));
R2.SetDefaultColor(GetColor(5));
R1.SetDefaultColor(GetColor(5));
S1.SetDefaultColor(GetColor(6));
S2.SetDefaultColor(GetColor(6));
S3.SetDefaultColor(GetColor(6));
S4.SetDefaultColor(GetColor(6));
S5.SetDefaultColor(GetColor(6));
S7.SetDefaultColor(GetColor(6));
S8.SetDefaultColor(GetColor(6));
S9.SetDefaultColor(GetColor(6));
S10.SetDefaultColor(GetColor(6));
S11.SetDefaultColor(GetColor(6));
S12.SetDefaultColor(GetColor(6));
S13.SetDefaultColor(GetColor(6));
S14.SetDefaultColor(GetColor(6));
S15.SetDefaultColor(GetColor(6));
S17.SetDefaultColor(GetColor(6));
S17.SetDefaultColor(GetColor(6));
S18.SetDefaultColor(GetColor(6));
S19.SetDefaultColor(GetColor(6));
S21.SetDefaultColor(GetColor(6));
S22.SetDefaultColor(GetColor(6));
S23.SetDefaultColor(GetColor(6));
S24.SetDefaultColor(GetColor(6));
S25.SetDefaultColor(GetColor(6));
S26.SetDefaultColor(GetColor(6));
S27.SetDefaultColor(GetColor(6));
S28.SetDefaultColor(GetColor(6));
S29.SetDefaultColor(GetColor(6));
S30.SetDefaultColor(GetColor(6));
S31.SetDefaultColor(GetColor(6));
S32.SetDefaultColor(GetColor(6));

Suggested Colors - To Orientate
Look at the plot to check the Fibo levels.
Sky Blue is 0 or 100
Pink is .236 or .764
Green is .382 or .618 at the 50
Gray is .118 or .882 at the 0 or 100
Yes even the 0 or 100 has a .382 or .618

R32 - SKY BLUE
R31 - GRAY
R30 - PINK
R29 - GREEN
R28 - ORANGE
R27 - GREEN
R26 - PINK
R25 - GRAY
R24 - SKY BLUE
R23 - GRAY
R22 - PINK
R21 - GREEN
R20 - ORANGE
R19 - GREEN
R18 - PINK
R17 - GRAY
R16 - SKY BLUE
R15 - GRAY
R14 - PINK
R13 - GREEN
R12 - ORANGE
R11 - GREEN
R10 - PINK
R9 - GRAY
R8 - SKY BLUE
R7 - GRAY
R6 - PINK
R5 - GREEN
R4 - ORANGE
R3 - GREEN
R2 - PINK
R1 - GRAY
Zero - SKY BLUE
S1 - GRAY
S2 - PINK
S3 - GREEN
S4 - ORANGE
S5 - GREEN
S6 - PINK
S7 - GRAY
S8 - SKY BLUE
S9 - GRAY
S10 - PINK
S11 - GREEN
S12 - ORANGE
S13 - GREEN
S14 - PINK
S15 - GRAY
S16 - SKY BLUE
S17 - GRAY
S18 - PINK
S19 - GREEN
S20 - ORANGE
S21 - GREEN
S22 - PINK
S23 - GRAY
S24 - SKY BLUE
S25 - GRAY
S26 - PINK
S27 - GREEN
S28 - ORANGE
S29 - GREEN
S30 - PINK
S31 - GRAY
S32 - SKY BLUE



Fivots Major Levels - 4.000 to 8.000
Return To Top Of Page

This Set Is The Major Levels Of Fibonacci - 4.000 to 8.000
You Can Use This As A One Year Set Of Fivots

You must adjust this the first of every month.
12 months is length and every month you turn down the prediction length by one, January 12-11 - November 12-1, December  12-0, etc.
Actually you can get it to go back 120, 108, 96, etc, months and out 12, 24, 36, etc, months.
As long as you subtract out the months remaining in the current year and front years. Every under lying is different in the amount of data it can calculate from.
In 12 Month Mode (One Year)  Fivots Only Display On Day, Week, Month Periods. Simply Pull A Fib From a 0 to a 100 & It Is On All Time Frames.
On Smaller Period Settings It Will Display On Smaller Time Frames & Tick Charts - Not On Range Bars
Simply Pull A Fib From a 0 to a 100 & Its On All Time Frames - See In Practice Page.
Zero Is Simply The Center Of Any Period Of Setting Of Support S Or Resistance R
The best way to use these is color code them so you can quickly identify where you are.

  Numerical With Large Dashes - Or Whatever Works For You
 

Script For Think Or Swim - Copy & Paste

input aggregationPeriod = {default "DAY","30 MIN", "1 HOUR", "WEEK", "MONTH"};
input length = 12;
input predictionLength = 3;

Assert(length > 0, "'length' should be positive: " + length);
Assert(predictionLength >= 0, "'prediction length' should be greater than or equal to 0: " + predictionLength);
Assert(predictionLength <= length, "'prediction length' should be less than or equal to 'length'");

def isEnd = !IsNaN(close(period = aggregationPeriod)[-length + predictionLength]) and IsNaN(close(period = aggregationPeriod)[-length + predictionLength - 1]);

def highValue = if isEnd then Highest(high(period = aggregationPeriod), length) else highValue[1];
def lowValue = if isEnd then Lowest(low(period = aggregationPeriod), length) else lowValue[1];
def closeValue = if isEnd then close(period = aggregationPeriod) else closeValue[1];

def show = !IsNaN(close(period = aggregationPeriod)[predictionLength]) and IsNaN(close(period = aggregationPeriod)[-length + predictionLength]);

def range = highValue - lowValue;

def R34;
plot R33;
plot R32;
plot R31;
plot R30;
plot R29;
plot R28;
plot R27;
plot R26;
plot R25;
plot R24;
plot R23;
plot R22;
plot R21;
plot R20;
plot R19;
plot R18;
plot R17;
plot R16;
plot R15;
plot R14;
plot R13;
plot R12;
plot R11;
plot R10;
plot R9;
plot R8;
plot R7;
plot R6;
plot R5;
plot R4;
plot R3;
plot R2;
plot R1;
plot Zero;
plot S1;
plot S2;
plot S3;
plot S4;
plot S5;
plot S6;
plot S7;
plot S8;
plot S9;
plot S10;
plot S11;
plot S12;
plot S13;
plot S14;
plot S15;
plot S16;
plot S17;
plot S18;
plot S19;
plot S20;
plot S21;
plot S22;
plot S23;
plot S24;
plot S25;
plot S26;
plot S27;
plot S28;
plot S29;
plot S30;
plot S31;
plot S32;
plot S33;
def S34;


if !show
then {
    R34 = Double.NaN;
    R33 = Double.NaN;
    R32 = Double.NaN;
    R31 = Double.NaN;
    R30 = Double.NaN;
    R29 = Double.NaN;
    R28 = Double.NaN;
    R27 = Double.NaN;
    R26 = Double.NaN;
    R25 = Double.NaN;
    R24 = Double.NaN;
    R23 = Double.NaN;
    R22 = Double.NaN;
    R21 = Double.NaN;
    R20 = Double.NaN;
    R19 = Double.NaN;
    R18 = Double.NaN;
    R17 = Double.NaN;
    R16 = Double.NaN;
    R15 = Double.NaN;
    R14 = Double.NaN;
    R13 = Double.NaN;
    R12 = Double.NaN;
    R11 = Double.NaN;
    R10 = Double.NaN;
    R9 = Double.NaN;
    R8 = Double.NaN;
    R7 = Double.NaN;
    R6 = Double.NaN;
    R5 = Double.NaN;
    R4 = Double.NaN;
    R3 = Double.NaN;
    R2 = Double.NaN;
    R1 = Double.NaN;
    Zero = Double.NaN;
    S1 = Double.NaN;
    S2 = Double.NaN;
    S3 = Double.NaN;
    S4 = Double.NaN;
    S5 = Double.NaN;
    S6 = Double.NaN;
    S7 = Double.NaN;
    S8 = Double.NaN;
    S9 = Double.NaN;
    S10 = Double.NaN;
    S11 = Double.NaN;
    S12 = Double.NaN;
    S13 = Double.NaN;
    S14 = Double.NaN;
    S15 = Double.NaN;
    S16 = Double.NaN;
    S17 = Double.NaN;
    S18 = Double.NaN;
    S19 = Double.NaN;
    S20 = Double.NaN;
    S21 = Double.NaN;
    S22 = Double.NaN;
    S23 = Double.NaN;
    S24 = Double.NaN;
    S25 = Double.NaN;
    S26 = Double.NaN;
    S27 = Double.NaN;
    S28 = Double.NaN;
    S29 = Double.NaN;
    S30 = Double.NaN;
    S31 = Double.NaN;
    S32 = Double.NaN;
    S33 = Double.NaN;
    S34 = Double.NaN;

} else {

    R34 = (highValue / lowValue) * closeValue;
    R33 = closeValue + range * (8.000);
    R32 = closeValue + range * (7.882);
    R31 = closeValue + range * (7.764);
    R30 = closeValue + range * (7.618);
    R29 = closeValue + range * (7.500);
    R28 = closeValue + range * (7.382);
    R27 = closeValue + range * (7.236);
    R26 = closeValue + range * (7.118);
    R25 = closeValue + range * (7.000);
    R24 = closeValue + range * (6.882);
    R23 = closeValue + range * (6.764);
    R22 = closeValue + range * (6.618);
    R21 = closeValue + range * (6.500);
    R20 = closeValue + range * (6.382);
    R19 = closeValue + range * (6.236);
    R18 = closeValue + range * (6.118);
    R17 = closeValue + range * (6.000);
    R16 = closeValue + range * (5.882);
    R15 = closeValue + range * (5.764);
    R14 = closeValue + range * (5.618);
    R13 = closeValue + range * (5.500);
    R12 = closeValue + range * (5.382);
    R11 = closeValue + range * (5.236);
    R10 = closeValue + range * (5.118);
    R9 = closeValue + range * (5.000);
    R8 = closeValue + range * (4.882);
    R7 = closeValue + range * (4.764);
    R6 = closeValue + range * (4.618);
    R5 = closeValue + range * (4.500);
    R4 = closeValue + range * (4.382);
    R3 = closeValue + range * (4.236);
    R2 = closeValue + range * (4.118);
    R1 = closeValue + range * (4.000);
    Zero = closeValue - range * (0.0);
    S1 = closeValue - range * (4.000);
    S2 = closeValue - range * (4.118);
    S3 = closeValue - range * (4.236);
    S4 = closeValue - range * (4.382);
    S5 = closeValue - range * (4.500);
    S6 = closeValue - range * (4.618);
    S7 = closeValue - range * (4.764);
    S8 = closeValue - range * (4.882);
    S9 = closeValue - range * (5.000);
    S10 = closeValue - range * (5.118);
    S11 = closeValue - range * (5.236);
    S12 = closeValue - range * (5.382);
    S13 = closeValue - range * (5.500);
    S14 = closeValue - range * (5.618);
    S15 = closeValue - range * (5.764);
    S16 = closeValue - range * (5.882);
    S17 = closeValue - range * (6.000);
    S18 = closeValue - range * (6.118);
    S19 = closeValue - range * (6.236);
    S20 = closeValue - range * (6.382);
    S21 = closeValue - range * (6.500);
    S22 = closeValue - range * (6.618);
    S23 = closeValue - range * (6.764);
    S24 = closeValue - range * (6.882);
    S25 = closeValue - range * (7.000);
    S26 = closeValue - range * (7.118);
    S27 = closeValue - range * (7.236);
    S28 = closeValue - range * (7.382);
    S29 = closeValue - range * (7.500);
    S30 = closeValue - range * (7.618);
    S31 = closeValue - range * (7.764);
    S32 = closeValue - range * (7.882);
    S33 = closeValue - range * (8.000);
    S34 = (closeValue - (R34 - closeValue));

}

Zero.SetDefaultColor(GetColor(5));
R33.SetDefaultColor(GetColor(5));
R32.SetDefaultColor(GetColor(5));
R31.SetDefaultColor(GetColor(5));
R30.SetDefaultColor(GetColor(5));
R29.SetDefaultColor(GetColor(5));
R28.SetDefaultColor(GetColor(5));
R27.SetDefaultColor(GetColor(5));
R26.SetDefaultColor(GetColor(5));
R25.SetDefaultColor(GetColor(5));
R24.SetDefaultColor(GetColor(5));
R23.SetDefaultColor(GetColor(5));
R22.SetDefaultColor(GetColor(5));
R21.SetDefaultColor(GetColor(5));
R20.SetDefaultColor(GetColor(5));
R19.SetDefaultColor(GetColor(5));
R18.SetDefaultColor(GetColor(5));
R17.SetDefaultColor(GetColor(5));
R16.SetDefaultColor(GetColor(5));
R15.SetDefaultColor(GetColor(5));
R14.SetDefaultColor(GetColor(5));
R13.SetDefaultColor(GetColor(5));
R12.SetDefaultColor(GetColor(5));
R11.SetDefaultColor(GetColor(5));
R10.SetDefaultColor(GetColor(5));
R9.SetDefaultColor(GetColor(5));
R8.SetDefaultColor(GetColor(5));
R7.SetDefaultColor(GetColor(5));
R6.SetDefaultColor(GetColor(5));
R5.SetDefaultColor(GetColor(5));
R4.SetDefaultColor(GetColor(5));
R3.SetDefaultColor(GetColor(5));
R2.SetDefaultColor(GetColor(5));
R1.SetDefaultColor(GetColor(5));
S1.SetDefaultColor(GetColor(6));
S2.SetDefaultColor(GetColor(6));
S3.SetDefaultColor(GetColor(6));
S4.SetDefaultColor(GetColor(6));
S5.SetDefaultColor(GetColor(6));
S7.SetDefaultColor(GetColor(6));
S8.SetDefaultColor(GetColor(6));
S9.SetDefaultColor(GetColor(6));
S10.SetDefaultColor(GetColor(6));
S11.SetDefaultColor(GetColor(6));
S12.SetDefaultColor(GetColor(6));
S13.SetDefaultColor(GetColor(6));
S14.SetDefaultColor(GetColor(6));
S15.SetDefaultColor(GetColor(6));
S17.SetDefaultColor(GetColor(6));
S17.SetDefaultColor(GetColor(6));
S18.SetDefaultColor(GetColor(6));
S19.SetDefaultColor(GetColor(6));
S21.SetDefaultColor(GetColor(6));
S22.SetDefaultColor(GetColor(6));
S23.SetDefaultColor(GetColor(6));
S24.SetDefaultColor(GetColor(6));
S25.SetDefaultColor(GetColor(6));
S26.SetDefaultColor(GetColor(6));
S27.SetDefaultColor(GetColor(6));
S28.SetDefaultColor(GetColor(6));
S29.SetDefaultColor(GetColor(6));
S30.SetDefaultColor(GetColor(6));
S31.SetDefaultColor(GetColor(6));
S32.SetDefaultColor(GetColor(6));
S33.SetDefaultColor(GetColor(6));

Suggested Colors - To Orientate
Look at the plot to check the Fibo levels.
Sky Blue is 0 or 100
Pink is .236 or .764
Green is .382 or .618 at the 50
Gray is .118 or .882 at the 0 or 100
Yes even the 0 or 100 has a .382 or .618
Bare in mind S1 & R1 is 4.000
so it is SKY BLUE to start.

R33 - SKY BLUE
R32 - GRAY
R31 - PINK
R30 - GREEN
R29 - ORANGE
R28 - GREEN
R27 - PINK
R26 - GRAY
R25 - SKY BLUE
R24 - GRAY
R23 - PINK
R22 - GREEN
R21 - ORANGE
R20 - GREEN
R19 - PINK
R18 - GRAY
R17 - SKY BLUE
R16 - GRAY
R15 - PINK
R14 - GREEN
R13 - ORANGE
R12 - GREEN
R11 - PINK
R10 - GRAY
R9 - SKY BLUE
R8 - GRAY
R7 - PINK
R6 - GREEN
R5 - ORANGE
R4 - GREEN
R3 - PINK
R2 - GRAY
R1 - SKY BLUE
Zero - SKY BLUE
S1 - SKY BLUE
S2 - GRAY
S3 - PINK
S4 - GREEN
S5 - ORANGE
S6 - GREEN
S7 - PINK
S8 - GRAY
S9 - SKY BLUE
S10 - GRAY
S11 - PINK
S12 - GREEN
S13 - ORANGE
S14 - GREEN
S15 - PINK
S16 - GRAY
S17 - SKY BLUE
S18 - GRAY
S19 - PINK
S20 - GREEN
S21- ORANGE
S22 - GREEN
S23 - PINK
S24 - GRAY
S25 - SKY BLUE
S26 - GRAY
S27 - PINK
S28 - GREEN
S29 - ORANGE
S30 - GREEN
S31 - PINK
S32 - GRAY
S33 - SKY BLUE


Fivots Major Levels - 0.000 to 4.000 - Period Look Back - Period Pivot - Future Period Plotting
Return To Top Of Page

This Set Is The Major Levels Of Fibonacci - 0.000 to 4.000 - With Show Previous Periods - Show Only Today Yes Or No
On Smaller Periods It Will Display On Smaller Time Frames & Tick Charts - Not On Range Bars - Pull A Fib & Its On All Time Frames - See In Practice Page.
It works on any underlying of quality and or at least a couple of days of data. Will only display one month maximum.
PP is a actual calculating Pivot Point for whatever period you are using.
The script is always plotting the next periods lines, that's the way its wrote, which is beneficial in seeing where they are before the next period opening.
The best way to use these is color code them so you can quickly identify where you are.
Numerical With Large Dashes - Or Whatever Works For You



Script For Think Or Swim - Copy & Paste

input timeFrame = {default  DAY, "2 DAYS", "3 DAYS", "4 DAYS", "1 HOUR", "2 HOURS", "4 HOURS", "8 HOURS", "3 MIN", "5 MIN", "10 MIN", "15 MIN", "30 MIN", WEEK, MONTH, "OPT EXP"};
input showOnlyToday = no;

def range = high(period = timeFrame)[1] - low(period = timeFrame)[1];
plot H33;
plot H32;
plot H31;
plot H30;
plot H29;
plot H28;
plot H27;
plot H26;
plot H25;
plot H24;
plot H23;
plot H22;
plot H21;
plot H20;
plot H19;
plot H18;
plot H17;
plot H16;
plot H15;
plot H14;
plot H13;
plot H12;
plot H11;
plot H10;
plot H9;
plot H8;
plot H7;
plot H6;
plot H5;
plot H4;
plot H3;
plot H2;
plot H1;
plot PP;
plot L1;
plot L2;
plot L3;
plot L4;
plot L5;
plot L6;
plot L7;
plot L8;
plot L9;
plot L10;
plot L11;
plot L12;
plot L13;
plot L14;
plot L15;
plot L16;
plot L17;
plot L18;
plot L19;
plot L20;
plot L21;
plot L22;
plot L23;
plot L24;
plot L25;
plot L26;
plot L27;
plot L28;
plot L29;
plot L30;
plot L31;
plot L32;
plot L33;
if showOnlyToday and !IsNaN(close(period = timeFrame)[-1])
then {
    H1 = Double.NaN;
    H2 = Double.NaN;
    H3 = Double.NaN;
    H4 = Double.NaN;
    H5 = Double.NaN;
    H6 = Double.NaN;
    H7 = Double.NaN;
    H8 = Double.NaN;
    H9 = Double.NaN;
    H10 = Double.NaN;
    H11 = Double.NaN;
    H12 = Double.NaN;
    H13 = Double.NaN;
    H14 = Double.NaN;
    H15 = Double.NaN;
    H16 = Double.NaN;
    H17 = Double.NaN;
    H18 = Double.NaN;
    H19 = Double.NaN;
    H20 = Double.NaN;
    H21 = Double.NaN;
    H22 = Double.NaN;
    H23 = Double.NaN;
    H24 = Double.NaN;
    H25 = Double.NaN;
    H26 = Double.NaN;
    H27 = Double.NaN;
    H28 = Double.NaN;
    H29 = Double.NaN;
    H30 = Double.NaN;
    H31 = Double.NaN;
    H32 = Double.NaN;
    H33 = Double.NaN;
    PP = Double.NaN;
    L1 = Double.NaN;
    L2 = Double.NaN;
    L3 = Double.NaN;
    L4 = Double.NaN;
    L5 = Double.NaN;
    L6 = Double.NaN;
    L7 = Double.NaN;
    L8 = Double.NaN;
    L9 = Double.NaN;
    L10 = Double.NaN;
    L11 = Double.NaN;
    L12 = Double.NaN;
    L13 = Double.NaN;
    L14 = Double.NaN;
    L15 = Double.NaN;
    L16 = Double.NaN;
    L17 = Double.NaN;
    L18 = Double.NaN;
    L19 = Double.NaN;
    L20 = Double.NaN;
    L21 = Double.NaN;
    L22 = Double.NaN;
    L23 = Double.NaN;
    L24 = Double.NaN;
    L25 = Double.NaN;
    L26 = Double.NaN;
    L27 = Double.NaN;
    L28 = Double.NaN;
    L29 = Double.NaN;
    L30 = Double.NaN;
    L31 = Double.NaN;
    L32 = Double.NaN;
    L33 = Double.NaN;
  } else {
    PP = (high(period = timeFrame)[1] + low(period = timeFrame)[1] + close(period = timeFrame)[1]) / 3;
    H1 = close(period = timeFrame)[1] +  range * (0.0);
    H2 = close(period = timeFrame)[1] +  range * (0.118);
    H3 = close(period = timeFrame)[1] +  range * (0.236);
    H4 = close(period = timeFrame)[1] +  range * (0.382);
    H5 = close(period = timeFrame)[1] +  range * (0.500);
    H6 = close(period = timeFrame)[1] +  range * (0.618);
    H7 = close(period = timeFrame)[1] +  range * (0.764);
    H8 = close(period = timeFrame)[1] +  range * (0.882);
    H9 = close(period = timeFrame)[1] +  range * (1.000);
    H10 = close(period = timeFrame)[1] +  range * (1.118);
    H11 = close(period = timeFrame)[1] +  range * (1.236);
    H12 = close(period = timeFrame)[1] +  range * (1.382);
    H13 = close(period = timeFrame)[1] +  range * (1.500);
    H14 = close(period = timeFrame)[1] +  range * (1.618);
    H15 = close(period = timeFrame)[1] +  range * (1.764);
    H16 = close(period = timeFrame)[1] +  range * (1.882);
    H17 = close(period = timeFrame)[1] +  range * (2.000);
    H18 = close(period = timeFrame)[1] +  range * (2.118);
    H19 = close(period = timeFrame)[1] +  range * (2.236);
    H20 = close(period = timeFrame)[1] +  range * (2.382);
    H21 = close(period = timeFrame)[1] +  range * (2.500);
    H22 = close(period = timeFrame)[1] +  range * (2.618);
    H23 = close(period = timeFrame)[1] +  range * (2.764);
    H24 = close(period = timeFrame)[1] +  range * (2.882);
    H25 = close(period = timeFrame)[1] +  range * (3.000);
    H26 = close(period = timeFrame)[1] +  range * (3.118);
    H27 = close(period = timeFrame)[1] +  range * (3.236);
    H28 = close(period = timeFrame)[1] +  range * (3.382);
    H29 = close(period = timeFrame)[1] +  range * (3.500);
    H30 = close(period = timeFrame)[1] +  range * (3.618);
    H31 = close(period = timeFrame)[1] +  range * (3.764);
    H32 = close(period = timeFrame)[1] +  range * (3.882);
    H33 = close(period = timeFrame)[1] +  range * (4.000);
    L1 = close(period = timeFrame)[1] -  range * (0.0);
    L2 = close(period = timeFrame)[1] -  range * (0.118);
    L3 = close(period = timeFrame)[1] -  range * (0.236);
    L4 = close(period = timeFrame)[1] -  range * (0.382);
    L5 = close(period = timeFrame)[1] -  range * (0.500);
    L6 = close(period = timeFrame)[1] -  range * (0.618);
    L7 = close(period = timeFrame)[1] -  range * (0.764);
    L8 = close(period = timeFrame)[1] -  range * (0.882);
    L9 = close(period = timeFrame)[1] -  range * (1.000);
    L10 = close(period = timeFrame)[1] -  range * (1.118);
    L11 = close(period = timeFrame)[1] -  range * (1.236);
    L12 = close(period = timeFrame)[1] -  range * (1.382);
    L13 = close(period = timeFrame)[1] -  range * (1.500);
    L14 = close(period = timeFrame)[1] -  range * (1.618);
    L15 = close(period = timeFrame)[1] -  range * (1.764);
    L16 = close(period = timeFrame)[1] -  range * (1.882);
    L17 = close(period = timeFrame)[1] -  range * (2.000);
    L18 = close(period = timeFrame)[1] -  range * (2.118);
    L19 = close(period = timeFrame)[1] -  range * (2.236);
    L20 = close(period = timeFrame)[1] -  range * (2.382);
    L21 = close(period = timeFrame)[1] -  range * (2.500);
    L22 = close(period = timeFrame)[1] -  range * (2.618);
    L23 = close(period = timeFrame)[1] -  range * (2.764);
    L24 = close(period = timeFrame)[1] -  range * (2.882);
    L25 = close(period = timeFrame)[1] -  range * (3.000);
    L26 = close(period = timeFrame)[1] -  range * (3.118);
    L27 = close(period = timeFrame)[1] -  range * (3.236);
    L28 = close(period = timeFrame)[1] -  range * (3.382);
    L29 = close(period = timeFrame)[1] -  range * (3.500);
    L30 = close(period = timeFrame)[1] -  range * (3.618);
    L31 = close(period = timeFrame)[1] -  range * (3.764);
    L32 = close(period = timeFrame)[1] -  range * (3.882);
    L33 = close(period = timeFrame)[1] -  range * (4.000);

}

PP.SetDefaultColor(GetColor(0));
H1.SetDefaultColor(GetColor(5));
H2.SetDefaultColor(GetColor(5));
H3.SetDefaultColor(GetColor(5));
H4.SetDefaultColor(GetColor(5));
H5.SetDefaultColor(GetColor(5));
H6.SetDefaultColor(GetColor(5));
H7.SetDefaultColor(GetColor(5));
H8.SetDefaultColor(GetColor(5));
H9.SetDefaultColor(GetColor(5));
H10.SetDefaultColor(GetColor(5));
H11.SetDefaultColor(GetColor(5));
H12.SetDefaultColor(GetColor(5));
H13.SetDefaultColor(GetColor(5));
H14.SetDefaultColor(GetColor(5));
H15.SetDefaultColor(GetColor(5));
H16.SetDefaultColor(GetColor(5));
H17.SetDefaultColor(GetColor(5));
H18.SetDefaultColor(GetColor(5));
H19.SetDefaultColor(GetColor(5));
H20.SetDefaultColor(GetColor(5));
H21.SetDefaultColor(GetColor(5));
H22.SetDefaultColor(GetColor(5));
H23.SetDefaultColor(GetColor(5));
H24.SetDefaultColor(GetColor(5));
H25.SetDefaultColor(GetColor(5));
H26.SetDefaultColor(GetColor(5));
H27.SetDefaultColor(GetColor(5));
H28.SetDefaultColor(GetColor(5));
H29.SetDefaultColor(GetColor(5));
H30.SetDefaultColor(GetColor(5));
H31.SetDefaultColor(GetColor(5));
H32.SetDefaultColor(GetColor(5));
H33.SetDefaultColor(GetColor(5));

L1.SetDefaultColor(GetColor(6));
L2.SetDefaultColor(GetColor(6));
L3.SetDefaultColor(GetColor(6));
L4.SetDefaultColor(GetColor(6));
L5.SetDefaultColor(GetColor(6));
L6.SetDefaultColor(GetColor(6));
L7.SetDefaultColor(GetColor(6));
L8.SetDefaultColor(GetColor(6));
L9.SetDefaultColor(GetColor(6));
L10.SetDefaultColor(GetColor(6));
L11.SetDefaultColor(GetColor(6));
L12.SetDefaultColor(GetColor(6));
L13.SetDefaultColor(GetColor(6));
L14.SetDefaultColor(GetColor(6));
L15.SetDefaultColor(GetColor(6));
L16.SetDefaultColor(GetColor(6));
L17.SetDefaultColor(GetColor(6));
L18.SetDefaultColor(GetColor(6));
L19.SetDefaultColor(GetColor(6));
L20.SetDefaultColor(GetColor(6));
L21.SetDefaultColor(GetColor(6));
L22.SetDefaultColor(GetColor(6));
L23.SetDefaultColor(GetColor(6));
L24.SetDefaultColor(GetColor(6));
L25.SetDefaultColor(GetColor(6));
L26.SetDefaultColor(GetColor(6));
L27.SetDefaultColor(GetColor(6));
L28.SetDefaultColor(GetColor(6));
L29.SetDefaultColor(GetColor(6));
L31.SetDefaultColor(GetColor(6));
L32.SetDefaultColor(GetColor(6));
L33.SetDefaultColor(GetColor(6));

Suggested Colors - To Orientate
Look at the plot to check the Fibo levels.
Sky Blue is 0 or 100
Pink is .236 or .764
Green is .382 or .618 at the 5-
Gray is .118 or .882  at the 0 or 100
Yes even the 0 or 100 has a .382 or .618
Bare in mind H1 & L1 is 0.000
so it is SKY BLUE to start.
PP is calculating pivot point - choose a color

H33 - SKY BLUE
H32 - GRAY
H31 - PINK
H30 - GREEN
H29 - ORANGE
H28 - GREEN
H27 - PINK
H26 - GRAY
H25 - SKY BLUE
H24 - GRAY
H23 - PINK
H22 - GREEN
H21 - ORANGE
H20 - GREEN
H19 - PINK
H18 - GRAY
H17 - SKY BLUE
H16 - GRAY
H15 - PINK
H14 - GREEN
H13 - ORANGE
H12 - GREEN
H11 - PINK
H10 - GRAY
H9 - SKY BLUE
H8 - GRAY
H7 - PINK
H6 - GREEN
H5 - ORANGE
H4 - GREEN
H3 - PINK
H2 - GRAY
H1 - SKY BLUE
PP - CHOOSE YOUR COLOR
L1 - SKY BLUE
L2 - GRAY
L3 - PINK
L4 - GREEN
L5 - ORANGE
L6 - GREEN
L7 - PINK
L8 - GRAY
L9 - SKY BLUE
L10 - GRAY
L11 - PINK
L12 - GREEN
L13 - ORANGE
L14 - GREEN
L15 - PINK
L16 - GRAY
L17 - SKY BLUE
L18 - GRAY
L19 - PINK
L20 - GREEN
L21- ORANGE
L22 - GREEN
L23 - PINK
L24 - GRAY
L25 - SKY BLUE
L26 - GRAY
L27 - PINK
L28 - GREEN
L29 - ORANGE
L30 - GREEN
L31 - PINK
L32 - GRAY
L33 - SKY BLUE


Investing And Trading Involve Significant Financial Risk And Is Not Suitable For Everyone. All Information Is Intended For Educational Purposes Only.
To the fullest extent of the law, we will not be liable to any person or entity for the quality, accuracy, completeness, reliability, or timeliness of the information provided on this website,
 or for any direct, indirect, consequential, incidental, special or punitive  damages that may arise out of the use of information we provide to any person or entity
 (including, but not limited to, lost profits, loss of opportunities, trading losses, and damages that may result from any inaccuracy or incompleteness of this information).
We encourage you to invest carefully and read investment information available at the websites of the SEC at http://www.sec.gov and FINRA at http://www.finra.org.

IF YOU DO NOT AGREE WITH THE TERMS OF THIS DISCLAIMER, PLEASE EXIT THIS SITE IMMEDIATELY.  PLEASE BE ADVISED THAT YOUR CONTINUED USE OF THIS SITE
 OR THE INFORMATION PROVIDED HEREIN SHALL INDICATE YOUR CONSENT AND AGREEMENT TO THESE TERMS.


Honor - Respect - Freedom - Country

Web
          Analytics