Indicator · Pine Script v6 · On the chart

Fractals + Dual Mirror Intersection Signals

by morindok

This indicator calculates multi-bar fractals alongside a central moving average and two reference-anchored mirror moving averages directly on the price chart.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code227
Settings16inputs
LicenceNone stated
Last update7 weeks ago6 Sep 2026

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

Fractals + Dual Mirror Intersection Signals provides options to run lengths in automatic, manual, or dynamic fractal-distance modes, with symmetric reversal modes based on midpoint or golden ratio calculations. Smoothing can be applied to base price bars before fractal detection. Intersection signals are derived from the interactions between the mirrored moving averages and central price lines.

Details

Published by

morindok on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Moving averages, Support & resistance

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
Periods (n)int100n
MA Length ModestringAuto (n)lengthMode
Central Multiplier (for Auto/Dynamic)float0.5centralMultiplier
Manual Central MA Lengthint50manualLenCenter
Manual P1 MA Lengthint100manualLen1
Manual P2 MA Lengthint100manualLen2
Golden Ratio Value (phi)float1.618phi
Central MA ModestringNormalmodeCenter
P1 MA ModestringNormalmodeP1
P2 MA ModestringNormalmodeP2
Base Price MA Length (For Smooth Fractals & Mirrors)int5baseMaLen
Central MA SourcesourceclosesrcCenter
Show all 16 settings
SettingTypeDefaultVariable
P1 MA Sourcesourceclosesrc1
P1 Reference Timetime0selectedTime1
P2 MA Sourcesourceclosesrc2
P2 Reference Timetime0selectedTime2
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

948 stars

Moving Average Channel plots separate simple moving averages for upper and lower bands on the price chart. It fills the space between bands with semi-transparent color and colors bars green above the upper band, red below the lower band, or gray in between. Us

Indicator v4 Moving averagesSupport & resistance
Updated 10 days ago · GPL-3.0 GitHub repository of Moving Average Channel

PivotHighLow

by Alorse
330 stars

This indicator calculates pivot high and pivot low points on the price chart based on configurable left and right bar counts. Confirmed pivot highs and lows are plotted with negative bar offsets directly on the price chart using line and cross styles. Addition

Indicator v4 Support & resistanceOscillators & momentum Repaints
Updated 2 months ago · None stated GitHub repository of PivotHighLow

Deduct

by TaichiS
219 stars

This indicator displays moving average deduction reference points directly on the price chart. It plots dynamic labels on historical bars corresponding to short, medium, and long lookback periods, defaulted to 20, 60, and 120 bars. Each text label displays the

Indicator v4 Moving averagesSupport & resistance
Updated 5 years ago · None stated GitHub repository of Deduct

Ichimoku Cloud

by harryguiacorn
219 stars

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

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ichimoku Cloud

Midnight VWAP

by TradersPost
218 stars

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

Indicator v6 Moving averagesSessions & time
Updated 3 months ago · None stated GitHub repository of Midnight VWAP

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