Nice bit of coding, cos251. Thanks.
Here is my crude attempt at a label for the Target / Loss as mentioned in the .pdf
Code:
# Average Daily Range
def ADR = Average(High(period = AggregationPeriod.DAY) - Low(period = AggregationPeriod.DAY), 7);
AddLabel(yes, "Profit Target = +" +ADR * 3+ "", color.GREEN);
AddLabel(yes, " : Stop Loss = -" +ADR * 1.5+ "", color.PINK);
AddLabel(yes, " : ADR daily = " +ADR+ "", color.GRAY);
plot ADRa = ADR; # uncheckmark the box in settings to hide this.
updated 11-29-20 below to show price as well. This is a label for the points of the current day.
def ADR = Average(High(period = AggregationPeriod.DAY) - Low(period = AggregationPeriod.DAY), 7);
AddLabel(yes, "Profit_X Target = +" +ADR * 3+ "", color.GREEN);
AddLabel(yes, "(" +(close(period = AggregationPeriod.DAY) + (ADR * 3))+ ")", color.GREEN);
AddLabel(yes, " : Stop_X Loss = -" +ADR * 1.5+ "", color.Pink);
AddLabel(yes, "(" +(close(period = AggregationPeriod.DAY) - (ADR * 1.5))+ ")", color.Pink);
#AddLabel(yes, " : ADR_X daily = " +ADR+ "", color.GRAY);
#plot ADRa = ADR; # uncheckmark in settings to hide