Paste a YouTube link.Get validated Pine Script.

Strategy Forge watches trading videos, both what's said and what's drawn on the chart. It writes every rule down with its timestamp and turns the rules into TradingView Pine Script v6 that passes 12 static checks. PDFs, audio files and plain-text rules work too.

  • No card required
  • Free pre-check on every source
  • Auto-refund if nothing is codable
Animated product demo: a YouTube link passes the free pre-check, the rules are extracted into a strategy spec card with timestamps and assumptions, and Pine Script v6 code streams in and passes all 12 static checks.

Any source inPine Script v6 out

  • YouTube links
  • PDF e-books & guides
  • Audio & video files
  • Plain-text rules
  • Pine Script v6
  • EMA crossovers
  • RSI thresholds
  • ATR stops
  • Bollinger Band breakouts
  • MACD histogram flips
  • VWAP reclaims
  • Session filters
  • Trailing stops
  • Higher-timeframe filters
  • Volume spikes
  • Range breakouts
  • Risk-reward targets

How it works

From video to validated code in three steps

You bring the trading idea. Strategy Forge does the transcription, the bookkeeping and the typing, and shows its work at every step.

  1. 01

    Check for free

    Paste a YouTube link or drop a PDF, audio file or text. Before a single credit moves, a quick screen looks for a codable strategy. Music videos, market commentary, price predictions and promos are turned away at no cost.

    • Lo-fi beats to trade to0 credits
    • BTC weekly outlook0 credits
    • My trading course, 50% off0 credits
    • EMA pullback, step by stepStrategy detected
  2. 02

    Extract the rules

    Gemini watches the whole video, both the narration and what's drawn on the charts. It writes each rule as a short, testable condition with the timestamp it came from. Anything the source never said is listed as an assumption.

    No codable strategy after all? Credits are refunded automatically.

    00:0012:48
    • R1Close above EMA 50 and EMA 50 rising03:12
    • R2Bar low touches EMA 2003:40
    • R3RSI 14 crosses above 4004:05
    • R4Stop 1.5 × ATR 14 below entry06:22
  3. 03

    Forge & validate

    The spec becomes Pine Script v6. A coder agent writes it, 12 static checks and a reviewer agent verify it rule by rule, and a fixer agent repairs anything they flag before you see it.

    12/12checks
    • Pine Script v6 header
    • Valid line wrapping
    • No lookahead / repainting
    • + 9 more, then an auto-fix pass

Features

Everything between the idea and the code

Built for people who want to read, check and own their Pine Script, not to be told what to trade.

Free pre-check

Every source is screened before credits are spent. If a source passes but the full analysis finds nothing codable, credits are refunded automatically.

Music videosMarket commentaryPrice predictionsPromotionsOff-topicRule-based strategy
0credits spent on
rejected sources

A spec card, not an essay

A one-sentence summary, indicators, entry and exit rules as short testable conditions, and risk settings. Every assumption is spelled out.

EMA Pullback
EMA 20EMA 50RSI 14ATR 14
  • R1Close above EMA 50 and EMA 50 rising
  • R2Bar low touches EMA 20

Assumed: Timeframe not stated → uses the chart timeframe

Validated Pine Script v6

12 checks + auto-fix

Backtest-ready code from a team of AI agents: a coder writes it, a validator runs static checks, a reviewer checks every rule against the code and a fixer repairs what they find. Each rule is mapped to the lines that implement it, so you can verify the logic yourself.

  • Pine Script v6 header
  • Single strategy()/indicator() call
  • No removed v4/v5 functions
  • Balanced brackets
  • Valid line wrapping
  • Plots & inputs in global scope
  • No reserved names as variables
  • Every := target declared
  • No == na comparisons
  • ta.* calls run on every bar
  • Orders match script type
  • No lookahead / repainting

Rule map

  • R1Close above EMA 50 and EMA 50 risingL9-10
  • R2Bar low touches EMA 20L11
  • R3RSI 14 crosses above 40L12
  • R4Stop 1.5 × ATR 14 below entryL19-20
  • R5Target at 2 × the stop distanceL21

Edit in plain language

Describe the change in plain words and the script is updated for you. 3 credits per edit.

Also require the bar to close back above the 20 EMA.

+reclaim = close > emaFast
-if trendUp and pullback and rsiTurn
+if trendUp and pullback and rsiTurn and reclaim

History, versions & branches

Every generation and each change is kept as a version. Branch any version into its own strategy for free.

  1. v3Close above EMA 20 requirednow
  2. v2Target changed from 1.5R to 2R2h
  3. v1Generated from a 12:48 video2h
Branch v2 into a new strategy

Deep Refine

Optional deeper AI pass

A second pass that re-reads the source and cross-checks every rule before any code is written: misread numbers are fixed, missed rules added and execution gaps closed. Each addition is listed as an assumption. +10 credits (5 on Pro, included on Premium).

  • R1Close above EMA 50 and EMA 50 risingmatches 03:12
  • R3RSI 14 above 40fixed → crosses above 40 (04:05)
  • R4Stop 1.5 × ATR 14 below entrymatches 06:22
  • +Re-entry while in a positiongap closed → one position at a time (assumption)

Before / after

A wall of transcript in. One spec card out.

Long videos used to mean long write-ups. Now you get just the rules. Each one is short enough to test and linked to the moment it was said, and the gaps are marked as assumptions.

Before: raw transcript

[00:04] Alright, welcome back everyone. Grab a coffee, this one runs a bit long. Today I want to walk you through the pullback setup I keep coming back to. People always ask which timeframe. We'll get to that. Or maybe we won't, ha.

[01:58] Quick shout-out to everyone who commented last week, I read all of them. Okay. Where was I. Right, the chart. Let me zoom in here so you can actually see the candles…

[03:12] So the first thing, and people skip this all the time, is the trend. I want price closing above the 50 EMA, and the 50 itself has to be pointing up. If it's flat I'm not interested.

[03:40] Then I just wait. I'm waiting for a candle to dip into the 20. It doesn't have to close below it. The low just needs to tag the 20 EMA. See this wick here? That's what I mean.

[04:05] Some of you asked about RSI. I use the 14, default settings, and I want it coming back up through 40. Not just above 40, crossing up through it. Big difference.

[05:10] Okay, tangent. A lot of you messaged me about which charting setup I use, my monitors, all that. Honestly that's a whole other video, so let's park it for now and get back to it.

[06:22] Stops. My stop goes one and a half ATR below the entry, ATR fourteen. And then the target is two times that stop distance, so a 2R target, nothing fancy.

[07:30] Now look, you have to test this yourself on whatever market you trade. Every market behaves differently. Anyway, let me show you a few more examples on the chart before we wrap up…

[09:15] Here's another one. Same thing, trend first, then the dip, then RSI. You see how it lines up? Let me scroll back a bit. Actually, hold on, wrong chart. There we go.

[00:04] Alright, welcome back everyone. Grab a coffee, this one runs a bit long. Today I want to walk you through the pullback setup I keep coming back to. People always ask which timeframe. We'll get to that. Or maybe we won't, ha.

[01:58] Quick shout-out to everyone who commented last week, I read all of them. Okay. Where was I. Right, the chart. Let me zoom in here so you can actually see the candles…

[03:12] So the first thing, and people skip this all the time, is the trend. I want price closing above the 50 EMA, and the 50 itself has to be pointing up. If it's flat I'm not interested.

[03:40] Then I just wait. I'm waiting for a candle to dip into the 20. It doesn't have to close below it. The low just needs to tag the 20 EMA. See this wick here? That's what I mean.

[04:05] Some of you asked about RSI. I use the 14, default settings, and I want it coming back up through 40. Not just above 40, crossing up through it. Big difference.

[05:10] Okay, tangent. A lot of you messaged me about which charting setup I use, my monitors, all that. Honestly that's a whole other video, so let's park it for now and get back to it.

[06:22] Stops. My stop goes one and a half ATR below the entry, ATR fourteen. And then the target is two times that stop distance, so a 2R target, nothing fancy.

[07:30] Now look, you have to test this yourself on whatever market you trade. Every market behaves differently. Anyway, let me show you a few more examples on the chart before we wrap up…

[09:15] Here's another one. Same thing, trend first, then the dip, then RSI. You see how it lines up? Let me scroll back a bit. Actually, hold on, wrong chart. There we go.

After: spec card
EMA Pullback
12:48 video → 1 card

Go long when price pulls back to the 20 EMA in an uptrend and RSI turns up through 40.

EMA 20EMA 50RSI 14ATR 14

Entry (all true)

  • R1Close above EMA 50 and EMA 50 rising03:12
  • R2Bar low touches EMA 2003:40
  • R3RSI 14 crosses above 4004:05

Exit & risk

  • R4Stop 1.5 × ATR 14 below entry06:22
  • R5Target at 2 × the stop distance06:51

Assumptions

  • Timeframe not stated → uses the chart timeframe
  • Shorts never mentioned → long-only

Drag the handle, or focus it with Tab and use the arrow keys, to compare.

Pricing

Start free. Pay per forge.

30 credits when you sign up, no card required. After that, top up with credit packs or a monthly plan.

What a credit buys

Pre-check
Freeon every source
YouTube link, PDF or text
10credits
Audio or video file
15credits, incl. transcription
Plain-language edit
3credits
Deep Refine (optional)
+105 on Pro, included on Premium

If a source passes the pre-check but no codable strategy is found, the credits are refunded automatically.

  • Free

    $0

    30 credits to start

  • Basic

    $19/month

    120 credits/month

  • Pro

    Recommended

    $49/month

    330 credits/month

  • Premium

    $99/month

    700 credits/month

Prefer no subscription? Credit packs start at $9 for 50 credits.

Compare plans

FAQ

Questions, answered

Short version: it writes code from your rules, checks it, and stays out of your trading decisions.

  • No. Strategy Forge is a code generation tool. It turns rules you provide (from a video, document, audio file or your own description) into Pine Script code. It does not provide investment advice, trading signals or recommendations, and it does not judge whether a strategy is any good. You decide what to build, test and use.

  • Videos that explain a concrete, rule-based setup: indicator conditions, price levels or price-action rules for entries and exits. Gemini watches the whole video, including what is drawn on the charts, so rules that are only shown visually are picked up too.

  • Before any credits are spent, the source is screened for a codable strategy. Music videos, market commentary, price predictions, promotions and other non-strategy content are rejected at no cost. If a source passes the check but the full analysis finds no codable strategy, your credits are refunded automatically.

  • Every script is Pine Script v6 and passes 12 static checks covering the version header, removed functions, line wrapping, scopes, na handling, repainting and more. A reviewer agent also checks every rule of the spec against the code, and automatic fix passes run before you see it. These checks catch the common errors, not every possible one, so always load the script in TradingView and review it yourself.

  • The spec card lists it under Assumptions (for example, a timeframe or a position rule the source never mentioned), so nothing is filled in silently. If an assumption isn't what you want, change it in plain language with the editor.

  • Yes. Describe the change in plain language (for example "only enter after a close above the 20 EMA") and the editor updates the script for 3 credits. Every version is kept in your history, and you can copy the code into TradingView at any time.

  • An optional extra, higher-effort AI pass that re-reads the source and cross-checks every rule in the spec before the code is written. It costs 10 extra credits (5 on Pro, included on Premium).

  • You get 30 free credits when you sign up, no card required. A YouTube, PDF or text generation costs 10 credits and an audio or video file 15. After that you can buy credit packs or choose a monthly plan. See the pricing page for details.

Ready when you are

Your rules. Your code.

Paste a link, let the free pre-check screen it, and get Pine Script v6 you can read, edit and backtest on your own terms. You stay in control of the logic.

No card required. Non-strategy sources are rejected for free.