SessionFirstBarTime

Questions about MultiCharts and user contributed studies.
Chillie
Posts: 7
Joined: Oct 01 2010

Nov 29 2010

Hi

I am in Australia and trade FX (24 Hour market).

I am trying to detect when the session changes to calculate pivots. To do this I use SessionFirstBarTime which works well during normal trading. However when I backtest I need to take into account changes in Day Light Saving against the exchange time. Is there a way to detect what session a particular bar is in?

Thanks,

Daniel

User avatar
Dave Masalov
Posts: 1712
Joined: Apr 16 2010
Has thanked: 51 times
Been thanked: 490 times

Dec 08 2010

Dear Daniel,

Please use sessionstartday, sessionstarttime, sessionendday and sessionendtime keywords. You may find the description in the help.

Chillie
Posts: 7
Joined: Oct 01 2010

Dec 13 2010

Thanks.

How do I find what my session number is during back testing?

User avatar
Dave Masalov
Posts: 1712
Joined: Apr 16 2010
Has thanked: 51 times
Been thanked: 490 times

Dec 16 2010

Dear Daniel,

Please use CurrentSession keyword.