-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
When code hline as:
hline(30, "Upper Band", color.gray, hline.style_dashed)We will get the evaluated hline options as:
{"color":"#787B86","linestyle":"dashed","overlay":false}But, if we code hline as:
hline(30, "Lower Band", color = color.gray, linestyle = hline.style_dashed)We will get the evaluated hline options as:
{"color":{"color":"#787B86","linestyle":"dashed"},"overlay":false}The result of the first one is correct, and we should also get the same result for the second one.
BTW, it better to include an option "style":"hline" in options.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels