From cc77d7ccc034aecba64278e43112a61cf8c7f12c Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 2 Nov 2024 22:24:01 +0100 Subject: Calculate delta bar IoC for 2-124 long periods --- format.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'format.lua') diff --git a/format.lua b/format.lua index 3a126a9..67379a8 100644 --- a/format.lua +++ b/format.lua @@ -10,6 +10,11 @@ function format.csv (tvalues) end +function format.float (float) + return string.format("%.5f", float) +end + + function format.ascii32 (tvalues) local str = "" for _, value in ipairs(tvalues) do -- cgit v1.1