PROTECTED SOURCE SCRIPT

cla

17
e(tpLine)
if not na(slLine)
line.delete(slLine)
tpLine := line.new(bar_index, close + (targetPoints * syminfo.mintick), bar_index + 15,
close + (targetPoints * syminfo.mintick), color=color.green, width=2)
slLine := line.new(bar_index, low, bar_index + 15, low, color=color.red, width=2)

// Alerts
alertcondition(shortEntry, "SHORT", "Reversal SHORT Setup")
alertcondition(longEntry, "LONG", "Reversal LONG Setup")

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.