Learn

Validated RealTest 2.0 code syntax guides, survivorship-bias-free .rts backtest templates, IBKR OrderClerk workflows, and systematic trading references.

RealTest StatsGroup, Capital Allocation, and Live Strategy Correlation Matrix Code
Allocation Correlation Matrix

RealTest StatsGroup, Capital Allocation, and Live Strategy Correlation Matrix Code

Use RealTest's StatsGroup section with Using and MaxExposure to track and cap subsets of strategies together (such as...

Read →
Margin, IBKR Reg-T vs Portfolio Margin, MaxInvested, and MinFreeCash in RealTest
Margin MaxInvested

Margin, IBKR Reg-T vs Portfolio Margin, MaxInvested, and MinFreeCash in RealTest

Model cash cushions, IBKR Reg-T overnight margin (150 percent), and Portfolio Margin (200 percent) realistically in R...

Read →
IBKR Live Execution in RealTest Using NextClose MOC, CloseSlip, and MarkToMarket False
CloseSlip Interactive Brokers

IBKR Live Execution in RealTest Using NextClose MOC, CloseSlip, and MarkToMarket False

Model Interactive Brokers Market-on-Close orders honestly in RealTest using EntryTime NextClose paired with CloseSlip...

Read →
Coding Laurens Bensdorp, Larry Connors, and Nick Radge Book Strategies in RealTest
Larry Connors Laurens Bensdorp

Coding Laurens Bensdorp, Larry Connors, and Nick Radge Book Strategies in RealTest

Code textbook Larry Connors Double 7s, Laurens Bensdorp momentum trend, and short-term RSI(3) pullback strategies cle...

Read →
Overnight Gaps, Turnaround Tuesday, and Turn-of-Month Calendar Edges in RealTest
Calendar Edges DayOfWeek

Overnight Gaps, Turnaround Tuesday, and Turn-of-Month Calendar Edges in RealTest

Code calendar and seasonal anomalies in RealTest using DayOfWeek (where Monday equals 1 through Friday equals 5), Day...

Read →
RealTest Mac, Parallels, VPS, RAM, and Speed Optimization Guide (64-Byte Engine Math)
Mac Optimization

RealTest Mac, Parallels, VPS, RAM, and Speed Optimization Guide (64-Byte Engine Math)

RealTest is a native 64-bit Windows C++ application that runs cleanly on Windows PCs, Windows VPS servers, and Macs v...

Read →
TradeStation EasyLanguage to RealTest Conversion Guide (Exact Syntax Translation)
Backtesting EasyLanguage

TradeStation EasyLanguage to RealTest Conversion Guide (Exact Syntax Translation)

Converting TradeStation EasyLanguage strategies to RealTest 2.0 maps imperative chart instructions (Average, Highest,...

Read →
Futures Backtesting in RealTest (PointValue, FuturesMargin, TickSize, and CSI Rollover)
CSI Futures

Futures Backtesting in RealTest (PointValue, FuturesMargin, TickSize, and CSI Rollover)

To backtest futures accurately in RealTest 2.0, import contract specs (PointValue, TickSize, Margin) automatically fr...

Read →
Volatility Targeting, Risk Parity, and Keller DAA / VAA Allocation in RealTest
DAA DynamicSizing

Volatility Targeting, Risk Parity, and Keller DAA / VAA Allocation in RealTest

To build inverse-volatility risk parity or Wouter Keller's Defensive Asset Allocation (DAA / VAA) cleanly in RealTest...

Read →
Partial Exits and Scaling Out in RealTest Using ExitQty, ExitLimitQty, FillQty, and ExitNum
ExitLimitQty FillQty

Partial Exits and Scaling Out in RealTest Using ExitQty, ExitLimitQty, FillQty, and ExitNum

To scale out cleanly in RealTest without accidentally shrinking every tranche geometrically or triggering repeated pa...

Read →
Crypto 24/7 Backtesting in RealTest (QtyRound 0, CalendarSym, SymRef, and Binance CSV)
Binance Crypto

Crypto 24/7 Backtesting in RealTest (QtyRound 0, CalendarSym, SymRef, and Binance CSV)

Backtesting 24/7 crypto cleanly in RealTest requires four syntax rules that trip up equity traders. Set QtyRound 0 so...

Read →
Python Pandas and Backtrader to RealTest Code Guide (Speed, Fills, and Syntax)
Backtesting Backtrader

Python Pandas and Backtrader to RealTest Code Guide (Speed, Fills, and Syntax)

Porting Python Pandas or Backtrader strategies to RealTest replaces hundreds of lines of corporate-action joins, manu...

Read →
TradingView Pine Script to RealTest Migration Guide (Exact Syntax Translation)
Backtesting Migration

TradingView Pine Script to RealTest Migration Guide (Exact Syntax Translation)

Translating TradingView Pine Script v5 into RealTest 2.0 replaces bar-by-bar single-chart calls (ta.ema, ta.highest, ...

Read →
Dividends, Stock Splits, Multi-Currency FX, and CashInOut Accounting in RealTest
Accounting CashInOut

Dividends, Stock Splits, Multi-Currency FX, and CashInOut Accounting in RealTest

RealTest stores historical prices unadjusted and applies split or TotalReturn dividend adjustments dynamically on loo...

Read →
CSV Data Import, Extra Fundamental Columns, and TradeList Playback in RealTest
CSV Import Extra Column

CSV Data Import, Extra Fundamental Columns, and TradeList Playback in RealTest

Import custom CSV files with fundamental or alternative columns in RealTest using DataSource CSV, CSVFields ending wi...

Read →
VIX Regime Filtering and Dynamic Position Sizing in RealTest Using Extern($$VIX, C)
Extern Market Regime

VIX Regime Filtering and Dynamic Position Sizing in RealTest Using Extern($$VIX, C)

Because Norgate Data names the volatility index $VIX (with a leading dollar sign) and RealTest uses $ as its symbol-l...

Read →
Weekly Trend Following in RealTest (BarSize Weekly, Clenow Momentum, and Pullbacks)
Clenow Multi-Timeframe

Weekly Trend Following in RealTest (BarSize Weekly, Clenow Momentum, and Pullbacks)

Setting BarSize Weekly in RealTest automatically builds weekly OHLCV bars from your daily .rtd file so every indicato...

Read →
Custom Results Columns (CAGR, Sortino, Ulcer Index) and Benchmarks in RealTest
Benchmark CAGR

Custom Results Columns (CAGR, Sortino, Ulcer Index) and Benchmarks in RealTest

Customize RealTest's Results table directly inside any script by adding a Results section with exact S.TWEQ, S.NetPct...

Read →
Walk-Forward Optimization and Monte Carlo Testing in RealTest (Validated Syntax)
Backtesting Monte Carlo

Walk-Forward Optimization and Monte Carlo Testing in RealTest (Validated Syntax)

RealTest runs walk-forward optimization natively inside OptimizeSettings using OptWalkForward True, OptTestLength (in...

Read →
Sector and Industry Exposure Caps in RealTest Using InfoTRBC, MaxSameCat, and MaxCatExp
InfoTRBC MaxSameCat

Sector and Industry Exposure Caps in RealTest Using InfoTRBC, MaxSameCat, and MaxCatExp

To cap sector concentration in RealTest, extract the 2-digit economic sector code via Top(InfoTRBC, 2) or Top(InfoGIC...

Read →
← Previous 1 2 3 4 Next →