Settings Reference Complete reference for all Backtest Strategy Builder settings, including entry/exit conditions, trade parameters, and risk management.
This page documents every configurable setting in the Backtest Strategy Builder. All settings are accessible through TradingView's indicator settings panel (click the gear icon on the Strategy Builder label).
Setting Type Default Description SSA Long Signal Toggle Off Enter long when Smart Signals Assistant generates a bullish signal SSA Confluence Long Toggle Off Enter long when SSA generates a confluence bullish signal (+) ILPAC Bullish BOS Toggle Off Enter long when ILPAC detects a bullish Break of Structure ILPAC Bullish CHoCH Toggle Off Enter long when ILPAC detects a bullish Change of Character MC Fast Osc Bullish Toggle Off Enter long when the Fast Oscillator reverses from oversold MC Impulse Bullish Toggle Off Enter long when the Momentum Impulse crosses above zero MC Flow Bullish Toggle Off Enter long when Hidden Liquidity Flow crosses above zero Long Logic Dropdown AND Logic operator for combining multiple long entry conditions
Setting Type Default Description SSA Short Signal Toggle Off Enter short when SSA generates a bearish signal SSA Confluence Short Toggle Off Enter short when SSA generates a confluence bearish signal (+) ILPAC Bearish BOS Toggle Off Enter short when ILPAC detects a bearish Break of Structure ILPAC Bearish CHoCH Toggle Off Enter short when ILPAC detects a bearish Change of Character MC Fast Osc Bearish Toggle Off Enter short when the Fast Oscillator reverses from overbought MC Impulse Bearish Toggle Off Enter short when the Momentum Impulse crosses below zero MC Flow Bearish Toggle Off Enter short when Hidden Liquidity Flow crosses below zero Short Logic Dropdown AND Logic operator for combining multiple short entry conditions
Setting Type Default Description Take Profit (%) Float 0 (disabled) Close position when profit reaches this percentage. Set to 0 to disable Stop Loss (%) Float 0 (disabled) Close position when loss reaches this percentage. Set to 0 to disable Trailing Stop (%) Float 0 (disabled) A trailing stop-loss that follows price by this percentage. Set to 0 to disable Exit on Opposing Signal Toggle Off Close the position when an entry signal in the opposite direction fires Time-based Exit (bars) Integer 0 (disabled) Close the position after this many bars. Set to 0 to disable
Setting Type Default Description Initial Capital Float 10000 Starting account balance for the simulation (in account currency) Position Size Type Dropdown % of Equity How position size is calculated: % of Equity, Fixed Amount, or Contracts Position Size Value Float 10 The value for position sizing (percentage, dollar amount, or number of contracts depending on type) Trade Direction Dropdown Both Allowed trade directions: Long Only, Short Only, or Both
Setting Type Default Description Leverage Float 1 Leverage multiplier (1 = no leverage; 10 = 10x leverage) Margin Mode Dropdown Cross Margin mode simulation: Cross (uses full account equity as margin) or Isolated (uses only the allocated position margin) Simulate Liquidation Toggle Off When enabled, positions are automatically liquidated if the unrealized loss exceeds the margin. Only relevant when leverage > 1
Setting Type Default Description Commission (%) Float 0 Commission charged per trade as a percentage of the trade value Commission (Fixed) Float 0 Fixed commission amount per trade (in account currency) Slippage (%) Float 0 Estimated slippage per trade as a percentage. Applied to both entries and exits Slippage (Ticks) Integer 0 Estimated slippage per trade in ticks. Use this for futures or exact-tick modeling
For realistic results, always set commission and slippage values. Crypto exchanges typically charge 0.04-0.1% per trade. Stock brokers may charge per-share fees. Slippage of 0.01-0.1% is common depending on the asset's liquidity.
Setting Type Default Description Show Entry Markers Toggle On Display visual markers on the chart where trades are entered Show Exit Markers Toggle On Display visual markers where trades are exited Show Trade Lines Toggle On Draw lines connecting entry and exit points for each trade Entry Color (Long) Color Green Color for long entry markers Entry Color (Short) Color Red Color for short entry markers Profit Color Color Green Color for profitable trade lines Loss Color Color Red Color for losing trade lines