| name | tv-thesis-overlay |
| description | Generates a dynamic Pine Script indicator containing Fair Value, Target Entry, and Breaker levels from SQLite and injects it onto the active TradingView chart. |
| triggers | ["/tv-thesis-overlay","inject thesis overlay","overlay thesis levels"] |
/tv-thesis-overlay — AI Thesis Chart Overlay
Injects fundamental valuation levels (Fair Value from projections, Target Entry from price levels, and Breaker status) from domain_model.sqlite onto the active TradingView chart.
Flow
- Resolves ticker's fundamental levels across SQLite tables.
- Switches active chart to the target ticker via CDP (
chart symbol <TICKER>).
- Generates and lints a Pine Script v6 indicator (
pine_linter.py).
- Injects indicator onto the chart via CDP.
Usage
python3 plugins/tradingview/scripts/tv_thesis_overlay.py --ticker <TICKER>
To test without injecting:
python3 plugins/tradingview/scripts/tv_thesis_overlay.py --ticker <TICKER> --dry-run