♥ 0 |
Hey Pete, I’ve seen a few labels being created but was wondering if you could create a label showing the range of a linear regression channel from upper LR to lower LR. here is the code for the linear regression channel I’m using. input price = close; plot MiddleLR; def dist = HighestAll(AbsValue(MiddleLR – price)) * (widthOfChannel / 100.0); plot UpperLR = MiddleLR + dist; MiddleLR.SetDefaultColor(GetColor(5));
Marked as spam
|
Private answer
Add this to the bottom of your code:
Full details about adding chart labels can be found here: https://toslc.thinkorswim.com/center/reference/thinkScript/Functions/Look---Feel/AddLabel.html Marked as spam
|
Please log in to post questions.