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
ODIE AT-DDT calculates trend direction using ALMA smoothing alongside an ATR-based AlphaTrend that utilizes MFI or RSI. Visual buy and sell signals are generated when ALMA shifts color or when AlphaTrend lines cross over. Settings allow users to adjust ALMA parameters, ATR multipliers, volume calculations, and visual elements.
Arnaud Legoux Moving Average directional color trend line
AlphaTrend integration using ATR with MFI or RSI calculations
Visual Buy and Sell signal labels plotted on price chart
Color fills between AlphaTrend and lagged plot lines
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Grup seç
string
1
grupSec
PERİYOT
timeframe
per
Konum Ayarı
int
20
loc
ALMA-1
int
14
len55
Source
source
close
src22
ALMA Offset
float
0.85
offset
ALMA Sigma Value
int
6
sigma
Multiplier
float
1
coeff
Common Period
int
14
AP
src5
source
close
src5
Show Signals?
bool
true
showsignalsk
Change calculation (no volume data)?
bool
false
novolumedata
Show all 40 settings
Setting
Type
Default
Variable
ATR Period
int
10
Periods
Source
source
hl2
src88
ATR Multiplier
float
3.0
Multiplier
Change ATR Calculation Method ?
bool
true
changeATR
Show Buy/Sell Signals ?
bool
true
showsignals
Highlighter On/Off ?
bool
true
highlighting
History bars back
int
300
history_bars
Resolution (bars)
int
6
xx1
Swing High/Low Length
int
10
swing_length
History To Keep
int
20
history_of_demand_to_keep
ARZ/TALEP KUTUSU GENİŞLİĞİ
float
10
box_width
Show Zig Zag
bool
false
show_zigzag
Show Price Action Labels
bool
false
show_price_action_labels
DİRENÇ
color
color.new(#e70000, 95)
supply_color
Outline
color
color.new(#ec0101, 1)
supply_outline_color
DESTEK
color
color.new(#22aa00, 89)
demand_color
Outline
color
color.new(#2d00f8, 0)
demand_outline_color
POI Label
color
color.rgb(12, 11, 11)
poi_label_color
Price Action Label
color
color.black
swing_type_color
Zig Zag
color
color.new(#000000,0)
zigzag_color
1
symbol
sb1
2
symbol
sb2
3
symbol
sb3
4
symbol
sb4
5
symbol
sb5
6
symbol
sb6
7
symbol
sb7
8
symbol
sb8
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 overlays trend-following Supertrend bands on the price chart using Average True Range calculations. It plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. I
The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p
Trend Compass 4H plots a multi-EMA ribbon (10/21/50) along with higher-timeframe reference levels on the price chart. It classifies trend phase into six states and calculates a composite weighted trend score. The script detects RSI and MACD divergences, analyz
My Macro Cycle Indicator plots daily and weekly simple and exponential moving averages on the price chart, plus Pi Cycle and Mayer Multiple levels derived from the 200-day average. Optional toggles add support-band fills, a Keltner channel, CME futures gaps, a
This indicator plots a double-smoothed Supertrend baseline on the price chart, combining a Supertrend midline with WMA and EMA smoothing to show trend direction. Direction uses an ATR-scaled baseline slope with hysteresis, while percentile-ranked slope magnitu
This indicator overlays an all-in-one technical analysis toolkit on the price chart. It plots multiple moving averages, including standard EMAs, SMAs, and a Trend Regularity Adaptive Moving Average, alongside Bollinger Bands, Supertrend, Nadaraya-Watson envelo