Setting Deadline Timer on Candle Chart

0 268 Views 1 Comment 5 months ago
HTS CLOUDSTABLE
  • I’ve come over a problem, I wanted to solve, that has to do with reaching deadlines in the future, like canceling a position or something the like.

    I have implemented a Custom Command library function and the corresponding code. (See below)

    Setting uses the same parameters as AdjustTimestamp().

    I hope you enjoy it

    PS: @phsai, Thanks for pointing out, that StartTimer, StopTimer, and GetTimer is for measuring process time within a script.

    HaasScript Code
    Sign in or Register to download for free
    • #3689
      Up
      0
      Down
      ::

      Hey, I tried saving your script but I’m getting the following errors:
      “4. Sep 29, 24, 19:05:56 Compiling script…
      3. Sep 29, 24, 19:05:56 ERROR: – time_utils
      2. Sep 29, 24, 19:05:56 ERROR: – greater_interval
      1. Sep 29, 24, 19:05:56 ERROR: Unknown references”

      What am I missing exactly?

Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free