RealTest User Guide
RealTest User Guide

 

 

Navigation: RealTest Script Language > Syntax Element Details >

TradeStatStdDev

 

 

 

 

Category

Trade Statistics Functions

Description

The standard deviation of trade record values for the most recent N trades or for all trades

Syntax

TradeStatStdDev(value, count, symbol)

Parameters

value - trade value formula

count - number of recent trades to include, or all trades if omitted or 0

symbol - specific symbol to include, or all symbols if omitted

Notes

TradeStatStdDev is calculated in the same way that Excel calculates the STDEV.P function, which is as if the set of trade values is the entire population.

See the link above for important information about this function category.

Example

TradeVol: TradeStatStdDev(T.NetPct)

Volatility (standard deviation) of trade returns.

 

 

 

Copyright © 2020-2026 Systematic Solutions, LLC