getMonth()

eSignal EFS

getMonth()

 

getMonth([nRelativeOffset] [, nNumBars [, Symbol ] ])

 

  • nRelativeOffset: Offset to bar. 0 is most recent bar, -1 is next bar, etc.
  • nNumBars:  Number of bars to retrieve (a negative number)
  • Symbol:  The symbol to retrieve data for.

 

Examples:

 

getMonth(0);   gets the month value for the current price bar and current symbol

getMonth(-1);    gets the next-to-last month value for the current symbol

getMonth(0, "ES #F");  gets the most recent month value for ES

getMonth(0, -10, "ES #F"); gets the last 10 month values for ES and places them in an array

 

This is a shortcut to getValue, requesting the month value. See getValue for more information.

 

close()

high()

low()

open()

oi()

 

getYear()

getMonth()

getDay()

getHour()

getMinute()

getSecond()

 

 

getValue()

getValueAbsolute()