by ashishgkwd· code credited to Custom Trading Signal Indicator
Trade Signal Indicator is an overlay script that combines three tools: an EMA crossover (13 and 48 by default), an adaptive trend finder channel and a Nadaraya-Watson envelope.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Each can be enabled separately, and colours, deviation multiplier, bandwidth and source are adjustable. Buy and sell signals and labels are drawn on the price chart. The envelope has a repainting smoothing option that is on by default, so past envelope values and signals can change as new bars arrive.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Enable EMA Cross Strategy
bool
true
enableEMA
Enable Adaptive Trend Finder
bool
true
enableATF
Enable Nadaraya-Watson Envelope
bool
true
enableNWE
Fast EMA
int
13
emaFast
Slow EMA
int
48
emaSlow
Fast EMA Color
color
color.orange
emaFastColor
Slow EMA Color
color
color.blue
emaSlowColor
Source
source
close
atfSourceInput
Use Long-Term Channel
bool
false
atfPeriodMode
Deviation Multiplier
float
2.0
atfDevMultiplier
Channel Color
color
color.gray
atfColor
Fill Transp
int
93
atfFillTransp
Show all 22 settings
Setting
Type
Default
Variable
Line Transp
int
40
atfLineTransp
Bandwidth
float
8.0
nweBandwidth
Multiplier
float
3.0
nweMultiplier
Source
source
close
nweSource
Repainting Smoothing
bool
true
nweRepaint
Up Color
color
color.teal
nweUpColor
Down Color
color
color.red
nweDnColor
Show Buy Signals
bool
true
showBuySignals
Show Sell Signals
bool
true
showSellSignals
Show Signal Labels
bool
true
showLabels
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator classifies price action into four distinct market regimes: Trend, Expansion, Compression, or Mean Reversion. It determines states using a simplified Hurst exponent estimate, ADX slope thresholds, and realized volatility measurements. Based on th
This indicator plots the original simple moving average, a symmetric moving average calculated from the highest and lowest moving averages over the window length, and a dynamic midline. It generates buy signals when the deviation from the symmetric moving aver
A price-chart overlay that combines several tools. It draws a Nadaraya-Watson kernel envelope with a repainting smoothing option, a Hull moving average band in three variants that can optionally come from a higher timeframe, and an ATR trailing stop in the sty
This indicator combines MACD and RSI to generate pullback signals on forex pairs. It plots MACD line, signal line and histogram alongside RSI and Wave Trend oscillator. Higher-timeframe MACD provides trend bias while RSI identifies overbought and oversold zone
The Adaptive Laguerre Filter calculates a smoothed, dynamically adjusted trendline plotted directly on the main price chart. It dynamically adjusts its damping factor (alpha) based on recent price range variations and median percentile calculations over a spec
This script plots three moving averages on the price chart: a fast EMA or SMA with 10 periods, a slow EMA or SMA with 20 periods, and a trend EMA or SMA with 100 periods. It signals trend changes by drawing a white cross when the fast moving average crosses ab