• Get $30 off VIP with code SUMMER30. Ends July 27. Happy trading!

All time high & 52 weeks high label & bubble on the chart

x718style

New member
Hello!
Can someone help me with the following script?
First, I'm trying to display only the dollar value without the decimal point?
Second, I'm looking for the script that displays the all time high and low in the chart.
---
AddLabel(1, Highest(high(period = AggregationPeriod.MONTH), 120), Color.GRAY);
AddLabel(1, Highest(high(period = AggregationPeriod.WEEK), 52), Color.GREEN);
--

7OsZxov.png
 

KG3344

New member
VIP
So like this?

Code:
##HighOfYear
def High52Week = Highest(High(period = "Day"), 252);
AddLabel(1, (High52Week), Color.Cyan);
plot HighofYear=High52Week;
 

Similar threads

Top