SECTORISK

Top  Previous  Next

Keyword Description

Category-related.

Class

Function

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

 

 

 

l

 

 

Syntax

SECTORISK

       

Return Value

Returns the combined risk (in dollars) carried by all open positions in the same (commodity or stock) SECTOR set, as the trade being presented for initial sizing.  Risk is defined as the total dollar amount that equity would be reduced by, if all open positions in the same SECTOR set number as the trade being presented (for initial sizing) were stopped out.

Example

Sample code

IF NEWRISK > SECTORISK * .2 THEN NEWCONTRACTS = 0

 

See also:

TOTALRISK, USERDEFINEDRISK