Looking up timezone setting from powerlanguage

Questions about MultiCharts and user contributed studies.
wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Looking up timezone setting from powerlanguage

Postby wilkinsw » 17 Sep 2019

Hi,

Is it possible to return the timezone (local/exchange etc) from within powerlanguage for the instrument?

Thanks,

Will

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

Re: Looking up timezone setting from powerlanguage

Postby TJ » 17 Sep 2019

Go to the Wiki, you will find the following sections on time:

Date and Time Routines‎ (54 P)
DateTime‎ (2 P)

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

Re: Looking up timezone setting from powerlanguage

Postby TJ » 17 Sep 2019

ComputerDateTime is your local time

wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Re: Looking up timezone setting from powerlanguage

Postby wilkinsw » 17 Sep 2019

Thanks, but no joy.

I'm guessing it doesn't exist.

I can't find a way to return the timezone setting of the instrument on a chart (or in PT).

For now I'll make it a user input.


Return to “MultiCharts”