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
MapleStax CBC Trend Filter [Danny] plots EMA clouds, VWAP, key reference levels, session opening ranges, LTF and HTF pivots, and touch signals for major moving averages. Users can filter buy and sell labels to only align with higher-timeframe trend direction using configurable trend filter modes. All elements are drawn directly on the price chart. Higher timeframe calculations may utilize lookahead logic on historical bars.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Solo senales a favor de tendencia
bool
true
trend_filter_on
Confirmacion de tendencia
string
EMA Cloud
trend_filter_mode
Filtrar tambien etiquetas LONG/SHORT HTF
bool
true
trend_filter_htf
Show CBC Reversal
bool
true
show_reversal
EMA20 touch dots
bool
true
show_ema_touch_dots
VWAP touch dots
bool
true
show_vwap_touch_dots
EMA200 touch dots
bool
true
show_ema200_touch_dots
BRSG Zone
bool
false
show_brsg_zone
col_brsg_zone
color
color.gray
col_brsg_zone
High
float
0.55
brsg_high_mult
Low
float
0.45
brsg_low_mult
Pivot
bool
false
show_ltf_pivots
Show all 40 settings
Setting
Type
Default
Variable
N
int
1
ltf_piv_n
H
color
color.red
col_ltf_piv_res
L
color
color.green
col_ltf_piv_sup
Width
int
1
ltf_piv_w
Style
enum
RefLineStyle.dashed
ltf_piv_style
HTF EMA cloud
bool
false
show_htf_ema_cloud
htf_enabled
bool
true
htf_enabled
Timeframe
timeframe
10
htf_timeframe
Size
string
normal
htf_label_size
HTF LONG/SHORT labels
bool
true
show_htf_cbc_labels
Pivot
bool
false
show_htf_pivots
N
int
1
htf_piv_n
H
color
color.red
col_htf_piv_res
L
color
color.green
col_htf_piv_sup
Width
int
2
htf_piv_w
Style
enum
RefLineStyle.dashed
htf_piv_style
CBC agreement bar colors
bool
false
show_bar_coloring
New York
bool
true
or_ny
col_orb_ny_lbl
color
#ffeb3b
col_orb_ny_lbl
col_orb_ny_fill
color
color.rgb(255, 235, 59, 90)
col_orb_ny_fill
London
bool
false
or_london
col_orb_ln_lbl
color
#9c27b0
col_orb_ln_lbl
col_orb_ln_fill
color
color.rgb(155, 39, 176, 90)
col_orb_ln_fill
Asian
bool
false
or_asian
col_orb_as_lbl
color
#e65100
col_orb_as_lbl
col_orb_as_fill
color
color.rgb(230, 81, 0, 90)
col_orb_as_fill
Minutes
int
30
or_minutes
YDH
bool
true
show_ydh
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 identifies pivot highs and lows using a swing lookback period and connects them with trendlines on the price chart. It generates long and short entry signals when price moves through predefined percentage thresholds in three steps for buy and se
The Day Trading Strategy v1 indicator displays key intraday technical levels and signal markers on the main price chart. It plots standard 8 and 21 SMAs, multi-timeframe 200 SMAs (5m, 10m, 1h), session VWAP, pre-market high/low levels, and the initial 9:30–9:4
This indicator collects overlay tools for the price chart in one script. It draws two configurable vertical time separators, tints the background by day of week, and plots two EMAs of 100 and 50 periods. It also marks support and resistance from pivot highs an
This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal
This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts