Support Board
Date/Time: Sun, 23 Feb 2025 14:02:38 +0000
Post From: ACSIL - sc.ChangeChartReplaySpeed causes replay to reset back to bar opening time.
[2021-02-12 18:51:01] |
ChrisM - Posts: 2 |
By adding a CountDown Timer to the chart (set to seconds only and realtime). On 5 min chart, start replay with speed 5 at time 08:50, custom study changing speed to 10: sc.ChangeChartReplaySpeed(sc.ChartNumber, 10); Time starts at 299s goes down a few seconds and resets back to 299s. Have done some further tests: On a 5 min chart, start replay at time 08:49 and it starts at 59s goes down a few seconds and resets back to 59s. On a 5 min chart, start replay at time 08:48 and it starts at 119s goes down a few seconds and resets back to 119s. On a 5 min chart, start replay at time 08:47 and it starts at 179s goes down a few seconds and resets back to 179s. |