ENTRYDAYOFMONTH

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

ENTRYDAYOFMONTH (no arguments)

 

Example

Sample code

IF ENTRYDAYOFMONTH < 15 THEN NEWCONTRACTS = My_RISK * .9

' entering in the 1st half of the month, 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.