This script use the pivot point (S1 and R1) and then apply the Fibo to the range of S1 , R1. With this level can see and find easly the next support and resistance. From the format can customize the period of Pivot , and the pivotperiod should be greater then the chart period.