Indicator · Pine Script v4 · On the chart

Combo2

by 0xfffangel

A combined overlay that bundles several tools in one script.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv4older, still runs
Lines of code1,368
Settings40inputs
LicenceNone stated
Last update4 years ago13 Aug 2022

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

Combo2 draws three median-based high/low lines that flip between green and red as price crosses them, support and resistance levels from pivot bars with an optional higher timeframe, Fibonacci levels over several lookback periods, and a market-structure view with local highs and lows, a bias label, background shading and break markers. Many inputs control each part. It is written in Pine version 4 and reads other-timeframe data.

Details

Published by

0xfffangel on GitHub

Type

Indicator, Pine Script v4

Draws

On the price chart

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
method1stringMedianmethod1
length1int5length1
mult1int1mult1
method2stringMedianmethod2
length2int7length2
mult2int1mult2
method3stringMedianmethod3
length3int10length3
mult3int1mult3
SR Level line Widthint4line_width
Set minimum number of bars from level start to qualify a levelint4level_min_lengh
Line ColorstringOrangey
Show all 40 settings
SettingTypeDefaultVariable
Extend Level line Rightboolfalseline_extend
SR Timeframe (Beta)timeframesr_tf
N Left barsint10leftBars
N Right barsint10rightBars
Fibo Periodint100FPeriod
Plot 1.618 Level?booltrueplotF1618
Fibo Periodint200FPeriod2
Fibo Periodint56FPeriod3
lookback window 1:int8window1
lookback window 2:int21window2
ResolutiontimeframeDres2
Display Local Highs & LowsstringFull TextinputLabelDisplayMode
Keep Only Most Recent High & Low LabelboolfalseinputKeepOnlyLastLabel
Display Current Market Bias LabelstringFull TextcurrentStateLabelDisplayMode
▻▻▻ How Many Bars Ahead to Draw Labelint3inputCurrentStateLabelOffset
Colour Background According to Market BiasbooltrueinputMarketBiasBackgroundFill
Show Breaks in Market StructurestringReversals OnlyinputShowBreakMode
Show Close Needed to Break Market StructurebooltrueinputShowBreakLines
Show Buy The Dip, Sell The RallybooltrueinputShowEntries
Force Confirmation of Highs & Lows After N BarsbooltrueinputForceConfirmation
▻▻▻ Number of Barsint20inputForceBars
RSI SourcesourceclosersiSource
RSI Lengthint7rsiLength
RSI Overboughtint70rsiOverbought
RSI Oversoldint30rsiOvesold
Periodint14period
HTF Timeframestring60htf_timeframe
══════ general setting ══════════════════════════════boolfalse_1
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

575 stars

This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult

Indicator v5 Support & resistanceTrend
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Equal Highs and Lows with Screener

This Pine Script indicator plots a ZigZag on the price chart. It identifies reversal points when price moves more than a set percentage from the last pivot. The script calculates forecasts using zigzag data and labels detected geometric patterns including harm

Indicator v4 TrendSupport & resistance
228 stars

This indicator plots market structure on the price chart by identifying swing highs and lows. It connects these points with lines to visualize trend direction and detect Break of Structure (BOS) when price breaks a prior swing in the current trend. Change of C

Indicator v6 TrendSupport & resistance
Updated 3 months ago · None stated GitHub repository of Market Structure - BOS & CHoCH

Open Source Fractal

by cantolab
183 stars

This indicator implements the Fractal Model concept to plot market structure shifts, liquidity sweeps, and Change in State of Delivery (CISD) levels. It overlays custom higher-timeframe candle previews, open prices, and time markers directly on the price chart

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MIT GitHub repository of Open Source Fractal
56 stars

BigBeluga Smart Money Concepts identifies and overlays market structure and volumetric order blocks directly on the price chart. It analyzes market swings, trend sweeps, and mapping structure using customizable pivot lengths and calculation modes. The indicato

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of BigBeluga - Smart Money Concepts
53 stars

Apex Trend & Liquidity Master calculates a trend cloud using customizable moving averages expanded by a volatility multiplier directly on the main price chart. It identifies dynamic support and resistance liquidity zones from swing high and low pivots, extendi

Indicator v6 TrendSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Apex Trend & Liquidity Master

More Trend scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers