Pine Script Export
On this page
You can generate a Pine Script by using --export-pinescript with a combination code.
To run this export, you need the matching combination code.
- In result logs, in the
Backtest Contextsection on theCombination codeline. - In SQLite output, in each objective result table under the
combination_codecolumn. - In JSON output, at
backtests[].context.combination_code.
After you retrieve the code, pass it directly to the export command.
whale-e strategy.toml --export-pinescript G2C45Notes
- During export, Whale‑E loads the price data required for the backtest window and indicator lookback.
--export-pinescriptcannot be combined with--json.--export-pinescriptcannot be combined with--analyze.
Prev
Crossover