WINNER

Top  Previous  Next

Keyword Description

Winning trade

Class

Function

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

 

 

 

l

 

 

Syntax

WINNER

 

Example

Sample code

IF LASTRADE = WINNER THEN MY_COUNTER = MY_COUNTER + 1

' increment a counter if most recently exited made money

 

ThumbTack white

WINNER is binary. This keyword allows you to make a conditional sizing decision about an upcoming trade, based on the previous trade

 

See also:

LASTRADE, LOSER