[PL] How to tell PL what resolution the chart is?

Questions about MultiCharts and user contributed studies.
duration
Posts: 179
Joined: 20 Dec 2005
Been thanked: 1 time

[PL] How to tell PL what resolution the chart is?

Postby duration » 29 Mar 2010

Dear All,

Is there a Powerlanguage function to tell what resolution the chart is running?

For example: the chart is plotting GBPUSD, with a resolution of 6 points.

I want write a signal that says: if low is above (chart resolution, so 6 points) of moving average then plot1(blablabla)

Many thanks,

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

Postby TJ » 29 Mar 2010

press [F1] key in MultiCharts,

Under PowerLanguage > Keyword Reference,

look for Data Information/General


keywords:

BarInterval
BarType
BarType_ex

duration
Posts: 179
Joined: 20 Dec 2005
Been thanked: 1 time

Postby duration » 29 Mar 2010

Dear TJ,

Thanks a lot, this is exactly what I was looking for.

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

Postby TJ » 29 Mar 2010

you are welcome !

it is good to know you have found what you needed.


Return to “MultiCharts”