OPEN-SOURCE SCRIPT
Aggiornato

Guitar Hero [theUltimator5]

666
The Guitar Hero indicator transforms traditional oscillator signals into a visually engaging, game-like display reminiscent of the popular Guitar Hero video game. Instead of standard line plots, this indicator presents oscillator values as colored segments or blocks, making it easier to quickly identify market conditions at a glance.


Choose from 8 different technical oscillators:
  1. RSI (Relative Strength Index)
  2. Stochastic %K
  3. Stochastic %D
  4. Williams %R
  5. CCI (Commodity Channel Index)
  6. MFI (Money Flow Index)
  7. TSI (True Strength Index)
  8. Ultimate Oscillator


Visual Display Modes
1) Boxes Mode: Creates distinct rectangular boxes for each bar, providing a clean, segmented appearance. (default)
This visual display is limited by the amount of box plots that TradingView allows on each indictor, so it will only plot a limited history. If you want to view a similar visual display that has minor breaks between boxes, then use the fill mode.

2) Fill Mode: Uses filled areas between plot boundaries.
Use this mode when you want to view the plots further back in history without the strict drawing limitations.

Five-Level Color-Coded System
The indicator normalizes all oscillator values to a 0-100 scale and categorizes them into five distinct levels:
Level 1 (Red): Very Oversold (0-19)
Level 2 (Orange): Oversold (20-29)
Level 3 (Yellow): Neutral (30-70)
Level 4 (Aqua): Overbought (71-80)
Level 5 (Lime): Very Overbought (81-100)

Customization Options

Signal Parameters
Signal Length: Primary period for oscillator calculation (default: 14)
Signal Length 2: Secondary period for Stochastic %D and TSI (default: 3)
Signal Length 3: Tertiary period for TSI calculation (default: 25)

Display Controls
Show Horizontal Reference Lines: Toggle grid lines for better level identification
Show Information Table: Display current signal type, value, and normalized value
Table Position: Choose from 9 different screen positions for the info table
Display Mode: Switch between Boxes and Fills visualization
Max Bars to Display: Control how many historical bars to show (50-450 range)


Normalization Process
The indicator automatically normalizes different oscillator ranges to a consistent 0-100 scale:
  • Williams %R: Converts from -100/0 range to 0-100
  • CCI: Maps typical -300/+300 range to 0-100
  • TSI: Transforms -100/+100 range to 0-100
  • Other oscillators: Already use 0-100 scale (RSI, Stochastic, MFI, Ultimate Oscillator)



This was designed as an educational tool
The gamified approach makes learning about oscillators more engaging for new traders.
Note di rilascio
Added info labels to user inputs
Changed default view from boxes to fills.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.