Support Board
Date/Time: Sun, 08 Sep 2024 00:14:03 +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. |