TOTALONGPOSITIONS

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

TOTALONGPOSITONS

       

Return Value

Returns the number of long positions currently held by all systems.

Example

Sample code

IF TOTALONGPOSITIONS > 3 THEN NEWSHARES = MY_POSITION_SIZE