Plots Line that is interrupted, when no values are available

0 74 Views 1 Comment 50 Tipped Credits 4 weeks 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 3 weeks 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