Write an explicit rule
Start with a PineNode strategy whose entry, exit, position sizing and risk conditions can be inspected. A chart observation becomes testable only when those choices are stated before reviewing the results.
Sentimentor uses optional analytics cookies to understand visits and improve the product. Essential cookies remain enabled either way.
Privacy policyPineNode strategy lab
Sentimentor’s PineNode workflow turns a market idea into editable rules, tests those rules against historical price bars and keeps the assumptions beside the result. A quick exploratory test helps you learn; chronological validation asks the harder question of whether the frozen rule survived data it was not tuned on.
Historical candles let you ask what a specified rule would have done under chosen execution assumptions. They cannot prove that the rule would have filled at the modeled price, that the data was complete or that the result will repeat. The useful output is a falsifiable record: which bars generated signals, which trades followed, what costs were applied and where the rule struggled.
Start with a PineNode strategy whose entry, exit, position sizing and risk conditions can be inspected. A chart observation becomes testable only when those choices are stated before reviewing the results.
Choose the symbol, timeframe, historical window, starting capital and execution costs. Commission, slippage, missing bars and bar-close timing can materially change an attractive-looking result.
Use an exploratory backtest to debug a hypothesis. For stronger evidence, freeze the exact strategy and evaluate chronological rolling periods and a reserved final window under Sentimentor’s validation protocol.
Inspect trades, drawdown and uncertainty, not only total return. Save the configuration and result together; later edits or optimizer choices require a new validation run.
Suppose you observe an ascending triangle. “Buy the breakout” is not yet a reproducible rule. Specify the resistance zone, the candle close that counts as a breakout, the position size, the exit or invalidation condition, and how you will handle a close back inside the triangle. Fix the timeframe and costs. Run the rule on every qualifying historical occurrence rather than selecting only the attractive example. Then compare an exploratory result with later chronological periods without silently rewriting the original rule.
PineNode exposes the strategy source, parameters, simulated trades and diagnostics. Its debugger can step through bars and inspect the values behind a signal. Validation can use rolling chronological folds, a reserved final lockbox and robustness checks for the exact configuration. This makes it easier to find overfitting or a fragile assumption than a single headline return would.
A historical backtest is not live execution. Loaded data, model assumptions, supported order types and available markets constrain the conclusion. Paper forward testing observes a frozen rule on later bars, but paper fills still are not live-money fills. Past or simulated performance does not guarantee future results.
Sentimentor provides research software, not individualized investment advice. Verify data coverage, timestamps and account-plan limits before relying on any test.
See supported PineNode features and limits