TRADEMEM[n]

Top  Previous  Next

Keyword Description

Memory relative to an individual trade

Class

Expression

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

 

 

 

l

 

l

Syntax

TRADEMEM[n] 

Where n in an integer value 1-8

Example

Sample code

~POSITION

IF RISK > INITIALRISK * .2 THEN MULTIPLIER = .9 ; TRADEMEM[1] = TRADEMEM[1] + 1

' track how many times a trade has been resized

 

ThumbTack white

Assigned on the Initial Size page or in Categories, and normally referenced in Categories. TRADEMEM[1-8] is alive as long as trade is alive.

 

See also:

MEMORY, TEMPMEM