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. 🎯


Mais do autor
Auto SR Zones
Liam Alex Thomas Webb
A Zona de Suporte/Resistência é um indicador intuitivo para MetaTrader 5 (MT5) que aprimora a análise técnica ao criar automaticamente zonas personalizáveis ao redor de linhas horizontais no seu gráfico. Essas zonas, definidas por uma distância em pips especificada pelo usuário, destacam visualmente áreas-chave de suporte e resistência, ajudando os traders a identificar rapidamente faixas de preço importantes e pontos potenciais de reversão. Principais Funcionalidades Criação Dinâmica de Zonas :
FREE
Smart Bar Timer
Liam Alex Thomas Webb
O Temporizador de Barra Aprimorado é um indicador versátil e personalizável para MetaTrader 5 (MT5) que fornece informações em tempo real sobre a vela atual, incluindo um temporizador de contagem regressiva para a próxima barra, detalhes da vela, volume e spread. Exibido no canto especificado pelo usuário na janela do gráfico, este indicador oferece formatos de várias linhas ou linha única, permitindo que os traders monitorem dados críticos do mercado de forma rápida, melhorando a tomada de deci
FREE
Clean Chart Toggle
Liam Alex Thomas Webb
5 (1)
O Clean Chart Toggle é um indicador amigável projetado para aprimorar sua experiência de gráficos no MetaTrader 5 (MT5), oferecendo uma maneira simples de gerenciar a visibilidade de indicadores e objetos no gráfico. Com um único botão localizado no canto superior esquerdo da janela do gráfico, os usuários podem ocultar ou exibir instantaneamente todos os indicadores e objetos de desenho, reduzindo a desordem e melhorando o foco na ação do preço ou em necessidades específicas de análise. Princip
FREE
Indicador Smart Fib Retracement Zones Para MT5 O Indicador Smart Fib Retracement Zones Para MT5 é o seu companheiro definitivo no MetaTrader 5 para visualizar instantaneamente dados-chave de retrações de Fibonacci — exatamente onde você precisa: nas suas zonas, em tempo real. Esta ferramenta sobrepõe automaticamente dados acionáveis sobre suas zonas de retração de Fibonacci, como classificação de níveis, distância em pips, percentual de retração e força da zona — tudo posicionado de forma clara
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
Indicador Avançado de Informações de Níveis de Suporte/Resistência para MetaTrader 5 Conheça o Indicador Avançado de Informações de Níveis de Suporte/Resistência, o seu companheiro definitivo para visualização de informações importantes de S/R em tempo real. Esta ferramenta do MT5 rotula automaticamente suas linhas horizontais com métricas críticas de S/R—classificação de suporte/resistência, número de toques, distância em pips em tempo real, força do nível e idade histórica—tudo isso à primeira
O Indicador de Ferramenta de Retângulo de Oferta e Demanda Inteligente é o seu companheiro definitivo para o MT5, visualizando instantaneamente dados cruciais de oferta e demanda — exatamente onde você precisa: em suas zonas, em tempo real. Esta ferramenta sobrepõe automaticamente dados ricos e acionáveis em suas zonas, como classificação da zona, distância em pips, força e tamanho da zona — posicionados de forma clara dentro de cada zona. Sem bagunça, sem suposições — apenas insights claros e
Candle Pattern Odds
Liam Alex Thomas Webb
Here is the translation of the provided text into Portuguese: --- **Painel de Probabilidades de Padrões de Candlestick** O Painel de Probabilidades de Padrões de Candlestick é um indicador intuitivo para análise e exibição de estatísticas em tempo real de padrões de candlestick principais. Esta ferramenta detecta padrões como Engolfo, Mudança de Caráter (CHOCH), Desequilíbrio, Pin Bar e Barra Interna, apresentando suas métricas de desempenho em um painel personalizável no gráfico. Os traders
Filtro:
Sem comentários
Responder ao comentário