AI editörler için Pine Script v6 referansı ve hata hafızası.
Your AI editor now writes Pine Script v6 correctly — and never forgets its mistakes.
| v5 (don't write) | v6 (write this) |
|---|---|
study("name") | indicator("name") |
security(ticker, tf, expr) | request.security(ticker, tf, expr) |
input(14, type=input.integer) | input.int(14, "Label") |
[k, d] = ta.stoch(...) | float k = ta.stoch(...) |
math.avg(a, b) | (a + b) / 2 |
alertcondition() in strategy | alert() inside if |
barstate.islast | barstate.isconfirmed |
| Folder | Count | Content |
|---|---|---|
examples/indicators/ | 18 | EMA, RSI, MACD, BB, Supertrend, VWAP, Ichimoku, MTF... |
examples/strategies/ | 14 | EMA cross, RSI, Supertrend, MTF, VIOP Session, Fakeout... |
global-markets/ | 22 | ES, NQ, Gold, Crude, EUR/USD, BTC, ETH, DAX, Nikkei... |
webhook-templates/ | 7 | Telegram, Discord, JSON, VIOP alerts |
v5-to-v6-migration/ | 10 | Complete migration guide with examples |
reference/ | 6 | ta.*, strategy.*, request.*, drawing.*, collections.* |
| Script | Status |
|---|---|
| Fakeout Filter — 4-Layer Signal Quality | Published |
| VIOP Session Strategy | Ready |
| Fakeout Confirmed Strategy | Ready |
Clone the repo, connect to your AI editor, and start writing correct Pine Script v6.