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).

Entry Condition Settings

Long Entry Conditions

SettingTypeDefaultDescription
SSA Long SignalToggleOffEnter long when Smart Signals Assistant generates a bullish signal
SSA Confluence LongToggleOffEnter long when SSA generates a confluence bullish signal (+)
ILPAC Bullish BOSToggleOffEnter long when ILPAC detects a bullish Break of Structure
ILPAC Bullish CHoCHToggleOffEnter long when ILPAC detects a bullish Change of Character
MC Fast Osc BullishToggleOffEnter long when the Fast Oscillator reverses from oversold
MC Impulse BullishToggleOffEnter long when the Momentum Impulse crosses above zero
MC Flow BullishToggleOffEnter long when Hidden Liquidity Flow crosses above zero
Long LogicDropdownANDLogic operator for combining multiple long entry conditions

Short Entry Conditions

SettingTypeDefaultDescription
SSA Short SignalToggleOffEnter short when SSA generates a bearish signal
SSA Confluence ShortToggleOffEnter short when SSA generates a confluence bearish signal (+)
ILPAC Bearish BOSToggleOffEnter short when ILPAC detects a bearish Break of Structure
ILPAC Bearish CHoCHToggleOffEnter short when ILPAC detects a bearish Change of Character
MC Fast Osc BearishToggleOffEnter short when the Fast Oscillator reverses from overbought
MC Impulse BearishToggleOffEnter short when the Momentum Impulse crosses below zero
MC Flow BearishToggleOffEnter short when Hidden Liquidity Flow crosses below zero
Short LogicDropdownANDLogic operator for combining multiple short entry conditions

Exit Condition Settings

SettingTypeDefaultDescription
Take Profit (%)Float0 (disabled)Close position when profit reaches this percentage. Set to 0 to disable
Stop Loss (%)Float0 (disabled)Close position when loss reaches this percentage. Set to 0 to disable
Trailing Stop (%)Float0 (disabled)A trailing stop-loss that follows price by this percentage. Set to 0 to disable
Exit on Opposing SignalToggleOffClose the position when an entry signal in the opposite direction fires
Time-based Exit (bars)Integer0 (disabled)Close the position after this many bars. Set to 0 to disable

Trade Parameter Settings

SettingTypeDefaultDescription
Initial CapitalFloat10000Starting account balance for the simulation (in account currency)
Position Size TypeDropdown% of EquityHow position size is calculated: % of Equity, Fixed Amount, or Contracts
Position Size ValueFloat10The value for position sizing (percentage, dollar amount, or number of contracts depending on type)
Trade DirectionDropdownBothAllowed trade directions: Long Only, Short Only, or Both

Leverage Settings

SettingTypeDefaultDescription
LeverageFloat1Leverage multiplier (1 = no leverage; 10 = 10x leverage)
Margin ModeDropdownCrossMargin mode simulation: Cross (uses full account equity as margin) or Isolated (uses only the allocated position margin)
Simulate LiquidationToggleOffWhen enabled, positions are automatically liquidated if the unrealized loss exceeds the margin. Only relevant when leverage > 1

Cost Settings

SettingTypeDefaultDescription
Commission (%)Float0Commission charged per trade as a percentage of the trade value
Commission (Fixed)Float0Fixed commission amount per trade (in account currency)
Slippage (%)Float0Estimated slippage per trade as a percentage. Applied to both entries and exits
Slippage (Ticks)Integer0Estimated 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.

Display Settings

SettingTypeDefaultDescription
Show Entry MarkersToggleOnDisplay visual markers on the chart where trades are entered
Show Exit MarkersToggleOnDisplay visual markers where trades are exited
Show Trade LinesToggleOnDraw lines connecting entry and exit points for each trade
Entry Color (Long)ColorGreenColor for long entry markers
Entry Color (Short)ColorRedColor for short entry markers
Profit ColorColorGreenColor for profitable trade lines
Loss ColorColorRedColor for losing trade lines
⌘K