Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 19:46:46 +0000



Post From: use of time bar duration

[2019-05-25 00:27:18]
User259724 - Posts: 43
I would like to use the bar time duration as part of a calculation. I would need to convert the time to a standard decimal format. In other words a time of 6:14 would need to be 6 + 14/60 which would be 6.23 rounded to 2 decimals. A time of 30 seconds would be 0.5 etc. How may I convert bar time duration to standard decimal format? Also on a fast moving tic chart sometimes at news the bar duration is occasionally zero which cannot be used in calculations. Is it possible for a bar duration of zero to have it converted to 1 for calculation purposes?
Thanks
Date Time Of Last Edit: 2019-05-25 00:30:06