Page 1 of 1

How to get the current period of the chart

PostPosted: Mon Dec 07, 2020 12:38 am
by xiupingge
I try to get the current period of the chart in tradestation, like M15, H1, H2, H4, Day, Week, etc.
Is there any code example/interface to get it?
Thanks.

Re: How to get the current period of the chart

PostPosted: Wed Dec 16, 2020 9:33 am
by Apprentice
Try
source:barSize()