♥ 0 |
I have the code: def highestMonthlyHigh = Highest(high[1], 21); How would I plot this on a lower chart study? plot highestMonthlyLow; doesn’t work
Marked as spam
|
Private answer
Add: Change:
to:
Omit the last statement in your example. The solution for 52 week high and low is similar. Merely change the value used for the monthly (21 days) to a value that represents 1 year of trading days. Roughly 252 Reference here: https://en.wikipedia.org/wiki/Trading_day Marked as spam
|
Please log in to post questions.
Also, how would I plot the 52 wk high and the 52 wk low? Thank you!
I would really prefer to see a title that is more specific than ”Code Help”. Think about the other viewers who will be searching for the same answer.
Sorry, I will give a better title next time.