EXITPRICE

Top  Previous  Next

Keyword Description

Trade exit price

Class

Function

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

l

l

l

 

 

 

Syntax

EXITPRICE, EXITPRICE[n]  

Where n is an integer representing the desired number of days ago. Argument is optional.

Return Value

Returns the price at which a trade was exited. Returns zero before exit takes place.

Example

Sample code

IF EXITPRICE[1] > 0 THEN .....

' If we exited a trade yesterday then do something.

 

See also:

LONG, SHORT, DIRECTION