Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 13:35:08 +0000



Post From: Accessing chart bar period from within strategy

[2016-01-29 14:59:13]
wat - Posts: 67
Hello, I am trying to get Bar period of chart the strategy is running on but so far I have only found method sc.GetChartName(sc.ChartNumber); to get whole name. Is it possible to get only the time part?

For example when I am on chart named NQ-201603-GLOBEX[CBV] 240 Min I would like to get 240.

Thank you.