CleanChartToggle

Clean Chart Toggle – MQL4

One-Click Chart Clutter Remover | Instant Clean Mode

One click. Zero clutter. Instant clarity. 🎯

📖 Overview

Clean Chart Toggle is a simple yet powerful MetaTrader 4 utility indicator that instantly hides all chart clutter with a single click. Perfect for traders who need a clean workspace for analysis, screenshots, or presentations, this indicator toggles between normal and clean chart modes with visual feedback and customizable controls.

Stop wasting time manually hiding individual elements. One click – and your chart is spotless.

✨ Key Features

Feature Benefit
One-Click Toggle Single button press switches between Normal Mode and Clean Mode
Instant Clean Mode Hides ALL chart objects, indicators, grid, bid/ask lines, period separators, volume bars, and OHLC line
Automatic Restoration Returns all chart objects and settings to their original state when toggling back
Visual Feedback Button changes color to indicate current mode (Blue = Normal / Orange = Clean)
Fully Customizable Button Adjust position, size, colors, and font to match your workspace
Preserves Your Setup Remembers which objects were hidden and restores them exactly

🧹 What Gets Hidden in Clean Mode

Category Hidden Items
Chart Objects Horizontal lines, trend lines, Fibonacci tools, text labels, arrows, shapes, channels, Elliott Wave labels – every drawing object
Indicators All indicators from main chart AND subwindows (⚠️ see note below)
Chart Elements Grid, Ask/Bid price lines, Period separators, Volume bars, OHLC/Last price line

Before (Normal Mode)

text

┌─────────────────────────────────────────────────────────────────┐ │ [Chart with: grid, 5 indicators, trend lines, horizontal lines, │ │ ask/bid lines, volume bars, period separators, labels...] │ │ [Normal Mode] │ └─────────────────────────────────────────────────────────────────┘

After (Clean Mode)

text

┌─────────────────────────────────────────────────────────────────┐ │ │ │ CLEAN CHART │ │ (only price candles/bars) │ │ [Clean Mode] │ └─────────────────────────────────────────────────────────────────┘

🖱️ Interactive Controls

Mode Button Appearance What Happens
Normal Mode Blue button (default) All chart elements visible
Clean Mode Orange/Red button (default) All clutter hidden – only price remains

Click the button to toggle instantly between modes.

⚙️ Input Parameters (MT4)

Button Settings

Parameter Default Description
ShowButton true Enable/disable the toggle button
ButtonX 20 Horizontal position (pixels from left edge)
ButtonY 50 Vertical position (pixels from top edge)
ButtonWidth 120 Button width in pixels
ButtonHeight 30 Button height in pixels
ButtonColorNormal DodgerBlue Button background color in Normal Mode
ButtonColorClean OrangeRed Button background color in Clean Mode
ButtonTextColor White Button text color
ButtonFontSize 10 Button font size
ButtonFont "Arial Bold" Button font family

🎨 Button Customization Examples

Example 1: Small, Discreet Button

Parameter Value
ButtonX 5
ButtonY 5
ButtonWidth 80
ButtonHeight 20
ButtonFontSize 8

Example 2: Large, Prominent Button

Parameter Value
ButtonX 10
ButtonY 100
ButtonWidth 150
ButtonHeight 40
ButtonFontSize 12
ButtonFont "Arial Bold"

Example 3: Alternative Color Scheme

Parameter Value
ButtonColorNormal DarkSlateGray
ButtonColorClean Crimson
ButtonTextColor White

🎯 Use Cases

Scenario How Clean Chart Toggle Helps
📸 Screenshot Preparation Create clean, professional-looking charts for trading journals, social media, client presentations, or educational content
📊 Technical Analysis Remove distractions to focus purely on price action – see the "naked chart" without indicators clouding your view
📈 Trading Decisions Toggle between analytical view and clean view to check if your setup still looks valid without indicators
🎓 Teaching & Presentations Present clean charts to students or colleagues, then add your own annotations without existing clutter
📝 Before/After Comparisons Create powerful before-and-after images showing the impact of your analysis

⚠️ Important Note: Indicators Are Permanently Removed

When switching to Clean Mode, all indicators are permanently removed from the chart.

Action Normal → Clean Clean → Normal
Chart objects (lines, shapes, labels) Hidden Restored ✓
Chart settings (grid, bid/ask, etc.) Hidden Restored ✓
Indicators Removed ✗ NOT restored

Why? MT4 does not allow indicators to be automatically re-added after removal.

Recommended Workflow

  1. Before using Clean Mode, save your chart template:

    • Right-click chart → Template → Save Template

    • Name it (e.g., "My Analysis Setup")

  2. Click Clean Mode – indicators are removed, but objects and settings are hidden

  3. When you want your indicators back:

    • Right-click chart → Template → Load Template

    • Select your saved template

This preserves your full setup while still giving you one-click clean access.

🛠️ Technical Details

How It Works

Normal → Clean Mode Transition:

  1. Stores current chart settings (grid, ask/bid lines, period separators, etc.)

  2. Creates a list of all chart objects (excluding the toggle button)

  3. Hides all objects using  OBJPROP_TIMEFRAMES = OBJ_NO_PERIODS

  4. Removes all indicators from all chart windows

  5. Hides grid, ask/bid lines, period separators, volume bars, and OHLC line

  6. Changes button color and text

Clean → Normal Mode Transition:

  1. Restores chart settings from stored values

  2. Restores visibility of all hidden objects using  OBJPROP_TIMEFRAMES = OBJ_ALL_PERIODS

  3. Changes button color and text back to normal

Multi-Chart Support

Scope Behavior
Current chart only Toggle affects only the chart the indicator is attached to
Other charts Unaffected – your other charts remain as-is
Global MT4 settings Unaffected

🐛 Troubleshooting

Problem Solution
Indicators not reappearing Manually re-add indicators or load your saved chart template after returning to Normal Mode
Objects still visible after Clean Mode Some objects may need manual handling – try toggling again
Button doesn't respond Check  ShowButton = true  and button is within visible chart area
Chart looks different after restore Save your chart template before toggling, then reload it after
Subwindow indicators remain Some subwindow indicators may need manual removal
Button not visible Adjust  ButtonX  /  ButtonY  values to bring it on-screen

💡 Pro Tips

Tip Why It Helps
Save your chart template first Essential before using Clean Mode – preserves your indicator setup
Use keyboard shortcut Consider creating a hotkey for this indicator using MT4's custom hotkey system
Combine with screenshot tools Perfect for creating clean trading journal entries
Toggle during analysis Switch between cluttered analysis and clean decision-making views
Presentation mode Use Clean Mode when sharing your screen during trading sessions
Adjust button position Place the button where it won't interfere with your chart analysis

📦 Installation (MT4)

  1. Download  Clean_Chart_Toggle.mq4  or  .ex4

  2. In MT4: File → Open Data Folder → MQL4 → Indicators

  3. Copy the file into the Indicators folder

  4. Restart MT4 or right-click in Navigator → Refresh

  5. Drag Clean Chart Toggle onto your chart

📄 License

This indicator is provided for educational and personal trading use only. Redistribution or commercial use without permission is prohibited.

Clean Chart Toggle – One click. Zero clutter. Instant clarity. 🎯


Altri dall’autore
Auto SR Zones
Liam Alex Thomas Webb
Zona S/R - Panoramica del Prodotto per MetaTrader 5 Panoramica L'indicatore Zona S/R è uno strumento intuitivo per MetaTrader 5 (MT5) che potenzia l'analisi tecnica creando automaticamente zone personalizzabili attorno alle linee orizzontali sul grafico. Queste zone, definite da una distanza in pip specificata dall'utente, evidenziano visivamente le aree chiave di supporto e resistenza, aiutando i trader a identificare rapidamente intervalli di prezzo cruciali e potenziali punti di inversione. C
FREE
Smart Bar Timer
Liam Alex Thomas Webb
L' Enhanced Bar Timer è un indicatore versatile e personalizzabile per MetaTrader 5 (MT5) che fornisce informazioni in tempo reale sulla candela corrente, inclusi un timer di conto alla rovescia per la prossima barra, dettagli della candela, volume e spread. Visualizzato nell'angolo specificato dall'utente della finestra del grafico, questo indicatore offre un formato a più linee o a linea singola, consentendo ai trader di monitorare i dati di mercato critici a colpo d'occhio, migliorando il pro
FREE
Clean Chart Toggle
Liam Alex Thomas Webb
5 (1)
Il Clean Chart Toggle è un indicatore intuitivo progettato per migliorare l'esperienza di creazione di grafici su MetaTrader 5 (MT5), offrendo un modo semplice per gestire la visibilità degli indicatori e degli oggetti sul grafico. Con un unico pulsante situato nell'angolo in alto a sinistra della finestra del grafico, gli utenti possono nascondere o mostrare istantaneamente tutti gli indicatori e gli oggetti di disegno, riducendo il disordine e migliorando la concentrazione sull'azione del prez
FREE
Il tuo compagno definitivo per MetaTrader 5, progettato per visualizzare istantaneamente i dati chiave dei ritracciamenti di Fibonacci, proprio dove ti servono: sulle tue zone, in tempo reale. Questo strumento sovrappone automaticamente dati utili sulle tue zone di ritracciamento di Fibonacci, come la classificazione dei livelli, la distanza in pip, la percentuale di ritracciamento e la forza della zona, posizionati in modo chiaro all'interno di ogni zona. Che tu stia facendo scalping intraday o
PinMetrics MT4
Liam Alex Thomas Webb
PinMetrics – MT4 Pin Bar Size Statistics Dashboard | Wick Ratio Analysis | Performance Metrics Stop guessing which pin bars work. Let the data reveal the edge.   Overview PinMetrics   is a professional MetaTrader 4 indicator that automatically detects and analyzes pin bar patterns, categorizing them by wick-to-body ratio. It provides comprehensive performance statistics for each size category, helping traders identify which pin bar patterns offer the most reliable trading opportunities. No
Smart SR Levels Pro
Liam Alex Thomas Webb
Indicatore Potenziato Informazioni Livelli di Supporto/Resistenza per MetaTrader 5 Scopri l' Indicatore Potenziato Informazioni Livelli di Supporto/Resistenza , il tuo compagno ideale per visualizzare in tempo reale informazioni cruciali sui livelli S/R direttamente sul grafico. Questo strumento per MT5 etichetta automaticamente le tue linee orizzontali con metriche essenziali sui livelli di supporto/resistenza—classificazione, numero di tocchi, distanza in pips in tempo reale, forza del livello
**Indicatore Strumento Rettangolo di Offerta e Domanda Intelligente: La tua guida definitiva per MT5** L'Indicatore Strumento Rettangolo di Offerta e Domanda Intelligente è il tuo compagno ideale per MT5, progettato per visualizzare istantaneamente i dati chiave di offerta e domanda, proprio dove ne hai bisogno: sulle tue zone, in tempo reale. Questo strumento sovrappone automaticamente dati ricchi e actionable sopra le tue zone, come la classificazione della zona, la distanza in pip, la forz
Candle Pattern Odds
Liam Alex Thomas Webb
Il **Dashboard delle Probabilità dei Modelli di Candele** è un indicatore intuitivo per analizzare e visualizzare in tempo reale le statistiche dei principali modelli di candele. Questo strumento rileva modelli come Engulfing, Cambio di Carattere (CHOCH), Squilibrio, Pin Bar e Inside Bar, presentando le loro metriche di performance in un pannello personalizzabile sul grafico. I trader possono ottenere informazioni sulla affidabilità dei modelli, tassi di vincita e rapporti rischio-rendimento, r
Filtro:
Nessuna recensione
Rispondi alla recensione