ENTRYDATE

Top  Previous  Next

Keyword Description

Calendar-related.

Class

Function

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

 

 

 

l

 

 

Syntax

ENTRYDATE (no arguments)

 

Example

Sample code

IF ENTRYDATE > 20010101 THEN NEWCONTRACTS = My_RISK * .9

' later date, more markets, risk less per trade

 

ThumbTack white

Unlike other calendar functions, the ENTRY prefixed calendar functions let us access calendar information for any trades including those that we've jumped into the middle of during Order Manager account setup or when slamming on trades using STARTDATE = in historical testing.