Login Page - Create Account

Support Board


Date/Time: Tue, 01 Apr 2025 22:15:40 +0000



Post From: Clock - Study Indicator

[2022-12-06 16:34:25]
DKtrades - Posts: 39
Can I chime in here with a question about this custom study?

Is there a way for the input for the Hour Offset to accommodate fractions, ie 0.x and 0.xx numbers? My local timezones are at times both UTC+9.5 and UTC+8:45 so having a whole number here doesn't help.

I have very limited understanding of the code, but is this where the code would be changed:

    Input_HourOffset.Name = "Hour Offset";
    Input_HourOffset.SetInt(0);

I don't know how to set the second line above to accept a fraction for example 9.5 or 8.75 (as this would be 8 hrs 45 mins I would assume, hopefully correctly).

Thanks.