Hey everyone,
This is my first time posting a study on the UseThinkScript forum, so I’m coming in straight and simple: this is a Moving Average stack I built for day-to-day chart work and quick visual alignment.
What it is
Fibonacci MAs – 8-Slot Engine (Per-MA AvgType + Per-MA PriceSource)
It plots up to 8 MA “slots” (default Fib lengths like 3/5/8/13/21/55/144/377), but you can change anything. Each slot has:
- On/Off toggle
- Length
- Average type (AvgType per slot)
- Price source per slot (Close/Open/High/Low/HL2/HLC3/OHLC4)
I wanted a clean way to run multiple MA lengths without constantly rewriting studies or juggling separate indicators. This keeps everything in one place, gives you consistent color mapping by slot, and prints useful labels so you always know exactly what’s on your chart.
Extra features
- Color schemes: Rainbow / Classic / Dark
- Label location control: Top/Bottom + Left/Right
- Bar-safety WARNING label: tells you when you don’t have enough bars for the longest enabled MA (with a barMultiplier buffer)
- The warning label is informational only—Thinkorswim can still throw “N/A” if you push extreme lengths on certain aggregations. That’s a platform limitation.
- I kept it readable and modular so it’s easy to tweak.
I’m not pretending this is perfect. If you see ways to make it cleaner, faster, or smarter—improve it. If you add something useful (better label formatting, add a scoring system, better logic, performance ideas, anything), post it back so everyone benefits.
Appreciate the time, and thanks in advance for any feedback.
— Tricky Rick
Attachments
Last edited: