// This is my first script. Enjoy! // Author itisCalvin @itisCalvin on Twitter // //Aroon Oscillator is difference between Arron Up and Aroon Down. Normally Aroon is plotted with the two distinct lines. //This indicator fluctuates between -100 and +100 with 0 as the mid line. When oscillator is positive there tends to //be upward trend bias, and downward trend bias when this oscillator is negative. The default value for this oscillator //is 25, while Aroon is 14. study("Aroon Oscillator (itisCalvin)", shorttitle="Aroon Oscillator") Period = input(25, minval=1) AroonUp = 100 * (highestbars(high, Period+1) + Period)/Period AroonDown = 100 * (lowestbars(low, Period+1) + Period)/Period AroonOscillator = AroonUp - AroonDown hline(0, linestyle=(solid)) plot(AroonOscillator, color=#E96300, style=area, transp=(70))