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
Criptom4N(r) generates buy and sell signals from crossovers between close price and SuperTrend. Additional features include ATR-based stop loss and take profit levels, candlestick coloring, and swing structure detection. Main settings control SuperTrend sensitivity, ATR length, level display, and risk parameters. It draws directly on the price chart with no separate pane.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Buy/Sell Signal
bool
true
nbuysell
Show TP/SL Levels2
bool
true
levels2
Show Lines
bool
true
lvlLines
linesStyle
string
SOLID
linesStyle
Distance
int
40
lvlDistance
Decimals
int
4
lvlDecimals
Risk %
int
3
atrRisk
ATR Length
int
14
atrLen
Cirrus Cloud
bool
true
CirrusCloud
ADX Sideways Threshold (10-30)
int
15
sidewaysThreshold
Stop Loss % (0 to Disable)
float
1
percentStop
mode
string
Historical
mode
Show all 40 settings
Setting
Type
Default
Variable
style
string
Colored
style
Color Candles
bool
false
show_trend
Show Internal Structure
bool
false
show_internals
Bullish Structure
string
All
show_ibull
swing_ibull_css
color
#089981
swing_ibull_css
Bearish Structure
string
All
show_ibear
swing_ibear_css
color
#f23645
swing_ibear_css
Confluence Filter
bool
false
ifilter_confluence
Internal Label Size
string
Tiny
internal_structure_size
Show Swing Structure
bool
true
show_Structure
Bullish Structure
string
All
show_bull
swing_bull_css
color
color.rgb(0, 0, 0)
swing_bull_css
Bearish Structure
string
All
show_bear
swing_bear_css
color
#000000
swing_bear_css
Swing Label Size
string
Small
swing_structure_size
Show Swings Points
bool
false
show_swings
length
int
50
length
Show Strong/Weak High/Low
bool
true
show_hl_swings
Internal Order Blocks
bool
false
show_iob
iob_showlast
int
5
iob_showlast
Swing Order Blocks
bool
true
show_ob
ob_showlast
int
5
ob_showlast
Order Block Filter
string
Atr
ob_filter
Internal Bullish OB
color
#ffdd0033
ibull_ob_css
Internal Bearish OB
color
#ffdd0033
ibear_ob_css
Bullish OB
color
color.rgb(255, 255, 255, 80)
bull_ob_css
Bearish OB
color
color.rgb(255, 255, 255, 80)
bear_ob_css
Equal High/Low
bool
false
show_eq
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