INVITE-ONLY SCRIPT

RT-Mali Pivots & STD Liquidation Levels

53
Introduction
The Mali Pivots indicator is a tool that is able to highlight support and resistance levels in relation to the 9,10,11,12,13 and extended Mali Counts of the trending price action. While numerous traders trade these counts, this tool is unique in that it continues counting past these base levels and will mark extended runs coming to an end with a vertical Red or Green Column.

The indicator identifies levels based on both 9,10,11,12,13 and extended Mali Counts, but splits them into both Support and Resistance levels and marks each level with a horizontal pivot. The level being Support/Resistance can be determined by the colors of the pivot. In addition, note that these pivot styles and colors can be edited in the tool settings.

How It Works
This calculation is based on the value of the current close compared to the close that happened four candles back.
Pine Script®
MaliCount:= close > close[4]
When this condition is true for 9,10,11,12 or 13 consecutive closes in a row, the indicator will mark the candle with the current number count as well as drawing a horizontal pivot to indicate the importance of the Mali Count price levels.

When a count reaches important thresholds for the Mali Count, the indicator will:
  • Label the candle with the current Mali Count.
  • Draw a horizontal pivot at those important Mali Count price levels.
  • Mark extended runs with a vertical red or green column when trends keep pushing beyond the minimum Mali Counts.
The result is a visual map of where prior trend Mali Counts have completed and where price has historically reacted in the past. These levels are not trade signals by themselves, but they can be used as context when planning entries, exits, and risk.
imagenPatterns of Mali Counts
At the core of the Mali Pivots Indicator is a tool that counts candles of a trend. Conceptually, it:
  • Compares the current close to the close a few candles back to determine if the trend is still pressing in the same direction.
  • Increments an internal Mali Count as long as the trend condition continues.
  • Resets the Mali Count when the condition fails.
When the Mali Count reaches the minimum consecutive qualifying closes, the indicator marks that candle with the Mali Count number and establishes a pivot on the important price levels. Because up and down trends are tracked separately, traders can see both bullish and bearish runs and where they completed.imagenPivots
Each completed important Mali Count leaves behind a horizontal pivot that acts as a reference level on the chart. These pivots are split into support and resistance:
  • Bullish Mali Counts leave pivots that often behave as support when price trades back into them from above.
  • Bearish Mali Counts leave pivots that often behave as resistance when price trades back into them from below.
Pivot colors indicate whether the level is currently treated as support or resistance, and these colors can be adjusted in the settings to match the trader’s chart style.
imagenExtended Trends Ending and Exhaustion
One of the unique aspects of Mali Pivots is that it continues counting beyond the typical 9,10,11,12 and 13 thresholds. When a trend keeps running and the internal Mali Count reaches extended levels, the indicator can highlight that area with a vertical red or green column.

These extended markers are designed to draw attention to trend legs that have pushed well beyond the usual Mali Counts. In many cases, these zones coincide with areas where trends begin to stall, consolidate, or reverse, but they should still be treated as context rather than automatic reversal signals.imagen
Scalp Trading Zone
Some traders use Mali Pivots to frame shorter term trades between nearby support and resistance pivots. On example charts, this is sometimes called a “scalp trading zone” where:
  • Active support and resistance pivots outline a defined price range.
  • Traders can study how price reacts inside that zone before deciding if they want to participate.
This is an optional usage pattern meant for review and study. The indicator itself does not define specific scalp entry or exit rules.imagenSettings
Mali Pivots Indicator includes a focused set of settings so traders can tune its visuals to their own charts:

Standard Liquidation Levels
- Liquidations On/Off - Toggles the tool on and off.
- Dark Mode On/Off - Allows users to use settings for light/dark backgrounds.

Mali Pivots - General Settings
- Pivots Toggle - Toggles the Mali Pivots on and off.
- Candle Color Toggle - Toggles the Candle Marker on and off.

Mali Pivots - Mali Count Settings
- 9/10/11/12/13 Number Toggle - Allows traders to turn off and on specific number displays on their chart.

Mali Pivots - Extended Run Exhaustion
- Extended Bearish/Bullish Trend Stop Toggle - Allows traders to control which extended run markers they want displayed on their chart.

Mali Pivots - Color Settings
- All Color Options - Allows traders to customize the coloring of the tool to match their specific requirements.

How Traders Commonly Use Mali Pivots
  • Tracking where important Mali Counts have completed in the past and how price reacts when it revisits those levels.
  • Using pivots and extended columns as context when combining Mali Pivots with other tools such as RT-Main Indicator, volume, or broader market structure.
  • Reviewing historical Mali Counts in Replay mode to better understand how different assets behave around completed Mali Counts and extended runs.
In all cases, the Mali Pivots Indicator is designed to highlight structure and potential exhaustion zones, while trade execution remains at the trader’s discretion.

What Makes This Tool Different
Mali Pivots differs from simple counting tools in a few key ways:
  • It tracks both the standard Mali Counts and extended Mali Counts that continue beyond the normal levels.
  • It converts Mali Count completions into horizontal pivots that can act as long lived support or resistance references.
  • It visually distinguishes extended trends with vertical columns so unusual runs are easy to spot on the chart.
Standard Liquidation Levels
This indicator also includes a simple liquidation level tool that projects where potential Longs and Shorts are vulnerable to being liquidated. This tool measures the base of the volume in the displayed candles and projects the following levels:
  • 5X Liquidation Level - Longs & Shorts
  • 10X Liquidation Level - Longs & Shorts
  • 25X Liquidation Level - Longs & Shorts
  • 50X Liquidation Level - Longs & Shorts
imagenImportant Note
Mali Pivots and Standard Liquidation Levels are intended to provide additional context around the trend's Mali Counts, support, and resistance. It is not a standalone signal generator and should always be used together with your own analysis, testing, and risk management. Historical trends and pivot reactions do not guarantee future results.

🐋 Tight lines and happy trading!

Exención de responsabilidad

La información y las publicaciones no pretenden ser, ni constituyen, asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.