PROTECTED SOURCE SCRIPT
cla

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")
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")
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.