Properties

TradingView Strategy Properties Options

Capital

  • Initial Capital: Sets the starting balance for backtesting.

  • Base Currency: Defines the currency used in the backtest.

  • Order Size: Specifies position size as a percentage of equity or a fixed amount.

  • Pyramiding: Limits the number of simultaneous open orders.


Cost Simulation

  • Commission: Sets trade fees as a percentage or fixed value.

  • Verify Price for Limit Orders: Defines the number of ticks to verify order execution.

  • Slippage: Adjusts simulated price deviations due to market conditions.


Margin

  • Margin for Long/Short Positions: Sets margin requirements as a percentage of position size.


Recalculate Options

  • After Order is Filled: Recalculates strategy logic when a trade is executed.

  • On Every Tick: Updates calculations on each price tick.


Fill Orders

  • Using Bar Magnifier: Simulates intrabar price movements for more accurate fills.

  • On Bar Close: Executes orders at the close of each bar.

  • Using Standard OHLC: Uses Open, High, Low, Close data for order execution.

Last updated