Indicator · Pine Script v5 · On the chart

BTMM Master Dashboard - Second Leg

by jcortes254

This indicator detects Beat the Market Maker (BTMM) second leg confirmation patterns directly on the price chart.

View on GitHub

GitHub stars3on the repository
Pine versionv5runs as is
Lines of code332
Settings21inputs
LicenceNone stated
Last update1 year ago10 Jul 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

BTMM Master Dashboard - Second Leg evaluates first leg size in pips, sets maximum pullback thresholds, and requires multi-bar confirmation for continuation setups. Trend bias is assessed via a configurable EMA stack (5, 13, 50, and 200 periods), alongside volume analysis with institutional volume thresholds. The script also tracks key Asian, London, and New York trading sessions and displays status metrics within an on-chart multi-timeframe dashboard.

Details

Published by

jcortes254 on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Trend, Moving averages, Sessions & time, Screeners & dashboards

Markets

Forex

Timeframes

M1-M5, M15-H1

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
Enable Second Leg Detectionbooltrueenable_second_leg
First Leg Minimum (pips)int20first_leg_min_pips
Max Pullback %float0.618pullback_max_percent
Second Leg Confirmation Barsint3second_leg_confirmation_bars
Enable Continuation Patternsbooltrueenable_continuation_patterns
Asian Session (5PM-Midnight)session1700-0000btmm_asian_session
London Session (2AM-9AM)session0200-0900btmm_london_session
NY Session (9:30AM-5PM)session0930-1700btmm_ny_session
Enable MTF Dashboardbooltrueenable_dashboard
Dashboard Positionstringtop_rightdashboard_position
Dashboard Sizestringnormaldashboard_size
EMA Fastint5btmm_ema_5
Show all 21 settings
SettingTypeDefaultVariable
EMA Mediumint13btmm_ema_13
EMA Slowint50btmm_ema_50
EMA Filterint200btmm_ema_200
Enable Volume Analysisbooltrueenable_volume_analysis
Volume MA Lengthint20volume_ma_length
Institutional Volume Thresholdfloat1.5institutional_threshold
Volume Confirmation Barsint2volume_confirmation_bars
Require Volume Confirmationbooltruebtmm_signal_confirmation
Stack Tolerance %float0.001btmm_stack_tolerance
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

Market Monitor - 15m

by chris-c-thomas
14 stars

Market Monitor - 15m is a directional bias chart overlay designed for 15-minute intraday chart analysis. It calculates a triple exponential moving average ribbon with EMA cloud shading, session VWAP with multiplier bands, prior day levels, a 30-minute opening

Indicator v6 TrendMoving averages
Updated 6 months ago · MIT GitHub repository of Market Monitor - 15m
257 stars

Donald SPX - Options Trading is an overlay indicator designed for intraday SPX analysis. It plots a 200-period Weighted Moving Average (WMA) on the price chart while evaluating multi-timeframe market structure across Daily, 15-minute, 5-minute, and 2-minute ba

Indicator v5 Moving averagesTrend Repaints
Updated 6 weeks ago · None stated GitHub repository of Donald SPX - Options Trading
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 classifies the market into gamma regime types (negative gamma trend, positive gamma mean-reversion, or transition) by calculating a composite score based on daily ATR ratios, session VWAP crossover frequencies, and opening range displacement. It

Indicator v5 Volatility & bandsTrend
Updated 8 weeks ago · Custom licence GitHub repository of Moon Dev GEX Regime & Trap

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

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