pineforgeGet started
Sell strategies

Sell your Pine script as a binary — without exposing the source

Compile your PineScript v6 to a signed .so. Buyers run it locally on their data. You set the license: time-bound, machine-bound, broker-bound, symbol-bound, input-range-bound. Source stays with you.

The compiled-binary distribution model

The problem with selling a Pine strategy today is that Pine is source. If you hand someone a .pine file, you've handed them everything — the logic, the parameters, the edge. There's nothing stopping them from modifying it, reselling it, or posting it publicly. The only "protection" TradingView offers is the invite-only visibility setting, which keeps the source hidden inside the platform but doesn't let buyers run it anywhere else.

The compiled-binary model solves this the same way MetaQuotes solved it for MQL5 fifteen years ago. When you sell an .ex5 binary on the MQL5 Market, the buyer downloads a compiled artifact. They can run it in MetaTrader against their account. They cannot decompile it to readable source. You set a license per account or per machine. The marketplace handles delivery, payment, and dispute resolution. The seller keeps the edge.

PineForge applies the same model to Pine. Your strategy source is transpiled to C++ and compiled to a signed .so shared object. The compiled artifact is what you distribute to buyers. Buyers use the PineForge runtime (the same Docker image you'd use for local development) to run the strategy against their data. The runtime validates the license signature on every invocation against the PineForge license server. No valid license, no execution.

The source never leaves your machine. Not on your hard drive, not in our servers, not anywhere. The codegen API receives your Pine source over an encrypted connection, transpiles it in an ephemeral container, and returns the compiled artifact. Source is not stored after compilation. The artifact itself is native machine code — not reversible to Pine or to readable C++ in any practical sense.

This is the distribution story that the MQL5 Market proved works: a functioning marketplace of thousands of strategy sellers, real recurring revenue for good strategies, buyers who get genuine value from running backtests and live trading without seeing source. PineForge is the infrastructure layer that makes the same model available for the Pine ecosystem.

License dimensions you control

When you publish a strategy for sale, you define the license parameters. The runtime enforces them on every execution. Six dimensions:

For a full walkthrough of how to set up each dimension and the pricing model options, see the /sell page.

Marketplace launches 2027

To be direct: the full public marketplace — browse, buy, subscribe, rate, dispute — opens in 2027. We're not selling a vision; we're building the infrastructure first and opening the store when the infrastructure is ready.

What's available now and in the near term:

If you're a strategy seller with an audience — newsletter, Discord, Twitter — and you want to start distributing compiled binaries before the marketplace opens, get in touch via the waitlist. We've supported manual distribution for several sellers already. It works. It's just not self-serve yet.

The waitlist also determines wave-1 access priority. Sellers who join early get first pick of category niches before the marketplace opens to everyone, which matters for discoverability in a two-sided market.

Get started