Indicator · Pine Script v5 · On the chart

DIY Custom Strategy Builder [ZP] - v1

by IAMATOMIC001

This overlay indicator generates trading signals by combining a selected leading indicator with multiple customizable confirmation filters.

View on GitHub

Repaints

GitHub stars3on the repository
Pine versionv5runs as is
Lines of code4,250
Settings40inputs
LicenceNone stated
Last update12 months ago31 Oct 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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

Traders can toggle trend filters such as single, double, or triple moving averages, Range Filter, SuperTrend, Half Trend, Rational Quadratic Kernel, Donchian ribbons, and Ichimoku setups. It plots long and short signals on the chart with signal expiry controls and displays a configurable dashboard tracking active conditions. The code contains lookahead references in higher-timeframe data handling.

Details

Published by

IAMATOMIC001 on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Trend, Moving averages, Screeners & dashboards, Breakout

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Signal Expiry Candle Countint3signalexpiry
Alternate Signalbooltruealternatesignal
Show Long/Short Signalbooltrueshowsignal
Show Dashboardbooltrueshowdashboard
Dashboard Positionstringbottomi_tab1Ypos
i_tab1Xposstringrighti_tab1Xpos
Dashboard Size    stringNormalin_dashboardtab_size
Leading IndicatorstringRange Filterleadingindicator
EMA Filterboolfalserespectema
respectemaperiodint200respectemaperiod
2 EMA Cross : boolfalserespect2ma
respect2maperiod_1int50respect2maperiod_1
Show all 40 settings
SettingTypeDefaultVariable
respect2maperiod_2int200respect2maperiod_2
3 EMA Cross : boolfalserespect3ma
respect3maperiod_1int9respect3maperiod_1
respect3maperiod_2int21respect3maperiod_2
respect3maperiod_3int55respect3maperiod_3
Range Filterboolfalserespectrf
rftypestringDefaultrftype
Rational Quadratic Kernel (RQK)booltruerespectrqk
SuperTrendboolfalserespectst
Half Trendboolfalserespectht
Donchian Trend Ribbonboolfalserespectdonchian
Rate of Change (ROC)boolfalserespectroc
Trend Direction Force Index (TDFI)boolfalserespecttdfi
McGinley Dynamicboolfalserespectmd
Detrended Price Oscillator (DPO)boolfalserespectdpo
Ichimoku Cloudboolfalserespectichi
SuperIchiboolfalserespectsuperichi
Trendline Breakoutboolfalserespecttrendline_breakout
B-Xtrenderboolfalserespectbx
bxtypestringShort and Long term trendbxtype
Bull bear Power Trendboolfalserespectbbpt
bbpttypestringFollow Trendbbpttype
VWAPboolfalserespectvwap
BB Oscillatorboolfalserespectbbosc
bbtypestringEntering Lower/Upper Bandbbtype
Trend Meterboolfalserespecttm
tmtypestring3 TM and 2 TB change to same colortmtype
Chandelier Exitboolfalserespectce
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.

Similar Pine Scripts

218 stars

TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · None stated GitHub repository of TradersPost Trading Checklist
92 stars

This indicator plots five moving averages of a chosen source on the price chart, defaulting to EMA lengths 10, 20, 30, 40 and 50. The user can switch the average type to SMA, WMA or HMA and recolor each line. Wide translucent glows sit under the lines, and sof

Indicator v5 TrendMoving averages
Updated 8 weeks ago · Custom licence GitHub repository of Moon Dev Rainbow MA Ribbon 10-50

EMA Ribbon Overlay

by iamrichardD
57 stars

Calculates exponential moving averages for fast, pivot, and slow lengths along with optional 50, 100, and 200 simple moving average context lines. It visualizes bullish and bearish ribbon fills on the main price chart alongside MACD calculations to generate ea

Indicator v6 TrendMoving averages
Updated 1 year ago · Apache-2.0 GitHub repository of EMA Ribbon Overlay
53 stars

This indicator analyzes historical candle direction and price range over a configurable lookback window to gauge market trend. It categorizes trend direction using candle count, price range sum, or both. Signals are filtered using a Simple Moving Average to en

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · MPL-2.0 GitHub repository of Candle Counter + MA + RSI + Mode

RSC Trend Trading Study

by readysetcryptocodes
43 stars

This indicator plots Donchian Channels alongside fast and slow simple moving averages directly on the price chart. It generates bullish breakout signals when the high reaches the upper channel while the close is above the 50 SMA (and optionally the 200 SMA). B

Indicator v4 TrendBreakout
Updated 2 years ago · None stated GitHub repository of RSC Trend Trading Study
43 stars

This indicator evaluates market momentum and risk by calculating trend metrics and volatility stats, displaying them in an on-chart table pane. It measures short-term and long-term trend strength via two MACD configurations built on three customizable EMA leng

Indicator v5 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Trend Strength & Volatility

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers