Understanding of SessionEndTime(SessionType,SessionNum)  [SOLVED]

Questions about MultiCharts and user contributed studies.
my2108
Posts: 12
Joined: 06 Aug 2018
Has thanked: 1 time

Understanding of SessionEndTime(SessionType,SessionNum)

Postby my2108 » 21 Aug 2018

HI,
I am very confused by this function in EasyLangauge.
What I want to achieve is to tigger some signals 10 mins before the end of the regular session.

Lets take an example: https://www.hkex.com.hk/Services/Tradin ... sc_lang=en

The HK Future exchange close its afternoon seesion at 4:30pm. I want to be able to tigger some action at 4:20pm.

How should I make use of the SessionEndTime(SessionType,SessionNum) and what should I put as SessionType and SessionNum?

Thanks.

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Understanding of SessionEndTime(SessionType,SessionNum)

Postby TJ » 21 Aug 2018

HI,
I am very confused by this function in EasyLangauge.
What I want to achieve is to tigger some signals 10 mins before the end of the regular session.

Lets take an example: https://www.hkex.com.hk/Services/Tradin ... sc_lang=en

The HK Future exchange close its afternoon seesion at 4:30pm. I want to be able to tigger some action at 4:20pm.

How should I make use of the SessionEndTime(SessionType,SessionNum) and what should I put as SessionType and SessionNum?

Thanks.
What is your chart resolution?

If it is an intraday chart,

You can try

ComputerDateTime

my2108
Posts: 12
Joined: 06 Aug 2018
Has thanked: 1 time

Re: Understanding of SessionEndTime(SessionType,SessionNum)  [SOLVED]

Postby my2108 » 22 Aug 2018

HI TJ, I m using 5min bar.


Return to “MultiCharts”