Plots Line that is interrupted, when no values are available

0 493 Views 1 Comment 50 Tipped Credits 2 years ago
HTS CLOUDBETA
  • This command plots a line that is interrupted, when you provide no values.

    It might be usefull, for instance, when you have a trailing stop loss active during an active position.
    When there is no placed position, then you don’t need the trailing stop loss marker.

    Warning: The plot might be sometimes inaccurate. I haven’t figured you, yet, what the error criteria is.

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

      Nice utility script! But I’m not sure why you would need to take the color input as a StringType, when you could just use EnumType directly? Then you do not have to use color_to_enum function.

      EDIT: AAHH, silly me! I understand why that function exists… 😉

      • This reply was modified 1 year, 8 months ago by pshai. Reason: im stoopid
      50 HaasScript Credits
Login or Register to Comment

Unlock your crypto trading potential

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

Join for Free