OPEN-SOURCE SCRIPT
banksters

Overview & Synergistic Concept
Banksters Workspace is a multi-component trading framework designed to combine structural market levels, momentum divergence tracking, and dynamic trend filtering into a single, cohesive workspace.
Instead of cluttering the chart with standalone scripts, this tool integrates three distinct non-redundant methodologies to help a trader identify institutional breakouts, overbought/oversold turning points, and the path of least resistance (the core trend).
1. Structural Levels (Breakouts & Retests): Automatically detects significant Swing Highs and Swing Lows using customizable pivot lookbacks. When price breaks these structural points with an impulse expansion (validated by a minimum candle body percentage), a temporary key level is generated. The script monitors this level for either a false breakout (invalidating the line) or a valid retest within a defined buffer zone.
2. Momentum Divergences (MFI & Stochastic): Utilizes the Money Flow Index (MFI) to measure volume-weighted price momentum. By comparing recent MFI peaks/troughs with actual price action across adaptive lookback periods, the script isolates hidden and regular divergences. To prevent premature entries, signals are filtered through a Stochastic Oscillator to ensure they occur strictly within overbought or oversold territories.
3. Dynamic Trend Filtering (EMA Ribbon): Implements a flexible Exponential Moving Average (EMA) matrix (defaulting to 9, 20, 50, 100, and 200 periods).
How the Components Work Together
The system is built on a "Filter, Trigger, Structure" synergy:
* The Filter (EMA): The 200 EMA and 50 EMA act as the ultimate trend filters. Traders should prioritize bullish structural breakouts when price is trading above these moving averages and bearish breakouts when below.
* The Structure (Banksters Levels): Defines the exact execution zones. An impulse break through a level shows market intent, while a subsequent retest provides an optimal risk-to-reward entry point.
* The Trigger (MFI Divergence): When a price retests a key structural level, an accompanying MFI bullish or bearish divergence serves as the ultimate exhaustion trigger, confirming that institutional order flow is defending the level.
Interface Customization
To ensure a clean charts workflow, the user interface features master toggles to completely enable or disable individual modules. All styling properties (colors, line widths, and plot shapes) have been offloaded to the native TradingView "Style" tab for seamless visual customization.
---
Описание на русском языке / Russian Description
Banksters Workspace — это комплексный инструмент, объединяющий три независимые торговые методики для определения институциональных уровней, импульсных пробоев и зон истощения тренда.
Banksters Workspace is a multi-component trading framework designed to combine structural market levels, momentum divergence tracking, and dynamic trend filtering into a single, cohesive workspace.
Instead of cluttering the chart with standalone scripts, this tool integrates three distinct non-redundant methodologies to help a trader identify institutional breakouts, overbought/oversold turning points, and the path of least resistance (the core trend).
1. Structural Levels (Breakouts & Retests): Automatically detects significant Swing Highs and Swing Lows using customizable pivot lookbacks. When price breaks these structural points with an impulse expansion (validated by a minimum candle body percentage), a temporary key level is generated. The script monitors this level for either a false breakout (invalidating the line) or a valid retest within a defined buffer zone.
2. Momentum Divergences (MFI & Stochastic): Utilizes the Money Flow Index (MFI) to measure volume-weighted price momentum. By comparing recent MFI peaks/troughs with actual price action across adaptive lookback periods, the script isolates hidden and regular divergences. To prevent premature entries, signals are filtered through a Stochastic Oscillator to ensure they occur strictly within overbought or oversold territories.
3. Dynamic Trend Filtering (EMA Ribbon): Implements a flexible Exponential Moving Average (EMA) matrix (defaulting to 9, 20, 50, 100, and 200 periods).
How the Components Work Together
The system is built on a "Filter, Trigger, Structure" synergy:
* The Filter (EMA): The 200 EMA and 50 EMA act as the ultimate trend filters. Traders should prioritize bullish structural breakouts when price is trading above these moving averages and bearish breakouts when below.
* The Structure (Banksters Levels): Defines the exact execution zones. An impulse break through a level shows market intent, while a subsequent retest provides an optimal risk-to-reward entry point.
* The Trigger (MFI Divergence): When a price retests a key structural level, an accompanying MFI bullish or bearish divergence serves as the ultimate exhaustion trigger, confirming that institutional order flow is defending the level.
Interface Customization
To ensure a clean charts workflow, the user interface features master toggles to completely enable or disable individual modules. All styling properties (colors, line widths, and plot shapes) have been offloaded to the native TradingView "Style" tab for seamless visual customization.
---
Описание на русском языке / Russian Description
Banksters Workspace — это комплексный инструмент, объединяющий три независимые торговые методики для определения институциональных уровней, импульсных пробоев и зон истощения тренда.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.