OPEN-SOURCE SCRIPT
KT v8 Reversal 5m

s_scalp = input.bool(true, "Scalp Mode (off = Swing)", group=grp_mode)
show_emas = input.bool(true, "Show EMAs", group=grp_mode)
show_signals = input.bool(true, "Show Entry Signals", group=grp_mode)
show_exit = input.bool(true, "Show Exit Marks", group=grp_mode)
show_trail = input.bool(true, "Show Trailing SL Line", group=grp_mode)
show_tp_sl = input.bool(true, "Show TP/SL Labels", group=grp_mode)
show_sr = input.bool(true, "Show S/R Exit Lines", group=grp_mode)
sr_lookback = input.int(20, "S/R Lookback (bars)", group=grp_mode, minval=5, maxval=100)
buy_thr = input.float(63.0, "Buy Threshold (0-100)", group=grp_mode, minval=51, maxval=95, step=1)
sell_thr = input.float(37.0, "Sell Threshold (0-100)", group=grp_mode, minval=5, maxval=49, step=1)
cooldown_bars = input.int(8,
show_emas = input.bool(true, "Show EMAs", group=grp_mode)
show_signals = input.bool(true, "Show Entry Signals", group=grp_mode)
show_exit = input.bool(true, "Show Exit Marks", group=grp_mode)
show_trail = input.bool(true, "Show Trailing SL Line", group=grp_mode)
show_tp_sl = input.bool(true, "Show TP/SL Labels", group=grp_mode)
show_sr = input.bool(true, "Show S/R Exit Lines", group=grp_mode)
sr_lookback = input.int(20, "S/R Lookback (bars)", group=grp_mode, minval=5, maxval=100)
buy_thr = input.float(63.0, "Buy Threshold (0-100)", group=grp_mode, minval=51, maxval=95, step=1)
sell_thr = input.float(37.0, "Sell Threshold (0-100)", group=grp_mode, minval=5, maxval=49, step=1)
cooldown_bars = input.int(8,
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.