ChartMystic
  • How it works
  • Products
  • Results
  • Pricing
  • FAQ
  • Docs
Log inSign up
  • How it works
  • Products
  • Results
  • Pricing
  • FAQ
  • Docs
  • Log in

Documentation

Getting Started

IntroductionInstallationGet Help

Atlas Pro

OverviewHow Atlas Pro ThinksLive And Confirmed SignalsDashboardAtlas Pro OscillatorSignal ModesKey Zone And Invalidation LineMulti-Timeframe DashboardOrder BlocksFair Value GapsStructure LevelsLiquidity LevelsPremium And Discount ZonesAlertsPine Screener IntegrationFootprint Precision ModeSupported Markets And ChartsSettings ReferenceTroubleshooting

Scribe Studio

OverviewFrom Idea to PineScriptGenerate An IndicatorGenerate A StrategyBacktest In TradingViewImage-To-CodeDebug And Fix Pine ScriptAlerts And WebhooksSaved StrategiesLimits, Reliability, And ReviewTroubleshooting

Resources

FAQBest PracticesGlossary
Documentation/Scribe Studio/Overview

Overview

What Scribe Studio does and how it fits into the ChartMystic workflow.

Scribe Studio is ChartMystic's AI Pine Script workspace. Plain English in. Production Pine Script out.

It is a chat-driven environment for building, debugging, explaining, and refining TradingView indicators and strategies. You describe what you want — a moving-average crossover, a Smart Money setup, a webhook-ready alert message — and Scribe returns a complete script, a paste-ready snippet, or a fix for the error TradingView just threw at you.

💬 You describe. Scribe builds. You ship to TradingView.

Scribe Studio collapses the gap between a trading idea and the Pine Script that runs it. No syntax cliff. No starter templates to scavenge. Just describe the behavior you want.

What Scribe Studio Can Help With

Generate indicators

Plots, colors, labels, fills, tables, multi-timeframe overlays. Anything you can describe, Scribe can draft.

Generate strategies

Entries, exits, stops, take profits, position sizing, filters — everything TradingView's Strategy Tester needs to produce a report.

Add alert conditions

Bullish and bearish triggers, webhook-ready JSON payloads, bar-close confirmation. Wire it straight into TradingView's alert dialog.

Debug compiler errors

Paste the TradingView error and the full script. Scribe returns a corrected full script and explains what broke.

Modernize old Pine code

Paste a script written for an older Pine version and ask for a clean, modern rewrite. Scribe updates deprecated calls, fixes namespace changes, and returns a script that compiles today.

Explain existing code

Paste any Pine script and ask what each block does, why a value is na, or why a plot looks the way it does.

Image-to-code

Upload a chart screenshot. Scribe approximates the visible indicator behavior in Pine and explains the assumptions it had to make.

Repainting review

Audit request.security() calls, lookahead settings, and bar-close timing. Scribe flags anything that could quietly use future data.

A Quick Tour

The Scribe workflow is short on purpose. Three moves, repeated.

1

Describe

Type a goal in plain English. Mention the script type (indicator or strategy), the rules, the visuals, the inputs, and any alert requirements. Specifics beat adjectives every time.

2

Generate

Scribe returns a complete script with a copy button. Read it, then paste it into TradingView's Pine Editor and click Add to chart.

3

Iterate

Stay in the same chat. Ask for color changes, new inputs, a volume filter, tighter stops. Scribe preserves the context and returns the full updated script every time.

What Scribe Studio Cannot Guarantee

Scribe Studio cannot guarantee profitable strategies

Scribe generates code. It does not predict markets. A script that compiles cleanly and backtests well still has to survive live conditions — that is your job, not the model's.

It also cannot guarantee that every script will compile on the first try. Pine Script has strict syntax and platform rules. If TradingView rejects a script, paste the exact error back into Scribe and ask for a fix.

TradingView's compiler is the final syntax check. Your own testing is the final behavior check.

The Best Way To Use Scribe Studio

Treat Scribe as a working partner, not a vending machine.

  1. Describe the goal clearly. Say whether you want an indicator, strategy, alert workflow, explanation, or fix. Include market context only when it actually affects the code.
  2. Give Scribe the details. Timeframes, inputs, visuals, plots, labels, alert needs, entry rules, exit rules. Anything you already know belongs in the prompt.
  3. Test in TradingView. Paste the code into Pine Editor, compile it, and inspect the chart or Strategy Tester before trusting the behavior.
  4. Iterate in the same chat. Paste errors or change requests back into the same conversation. Scribe keeps context and returns the full updated script.
PreviousTroubleshootingNextFrom Idea to PineScript

Need help?