TOTALRISK

Top  Previous  Next

Keyword Description

Category-related / Category-legal.

Class

Function

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

 

 

 

l

l

l

Syntax

TOTALRISK

       

Return Value

Returns the total dollar amount that equity would be reduced by if all open positions were stopped out.

Example

Sample code

IF NEWRISK > TOTALRISK * .02 THEN NEWCONTRACTS = 0 

 

See also:

USERDEFINEDRISK