MT5 101: Open a Chart, Change Timeframe and Save a Template

Beginner6 min read
A computer monitor filled with price charts and data tables in several panels
Image by Unknown author on Wikimedia Commons, CC0

How Do You Open a Chart and Change the Timeframe in MT5?

Right-click a symbol in Market Watch and choose Chart Window, then pick a timeframe from the Periodicity toolbar. By the end of this lesson you will have a candlestick EUR/USD H1 chart in colours you chose, saved as a template and as default.tpl so that every new chart looks the same.

What you need: MT5 connected to a demo account, as in installing MT5 and opening a demo account, and EUR/USD showing in Market Watch, which the screen layout lesson sets up.

Step 1: Open a Chart

  • Step 1, right-click the symbol: in Market Watch, select EURUSD, right-click and choose Chart Window. The chart opens in the chart area.
  • Step 2, or drag it: drag the symbol from Market Watch into the chart area. Dragging onto an open chart swaps its symbol and keeps its settings.
  • Step 3, or use File: the File menu has a New Chart command, with a button on the toolbar.
  • Step 4, open a separate chart: hold Ctrl while dragging a symbol and it opens in its own window using the default.tpl template. Each open chart gets a tab on the chart switch bar.
MT5 with the Market Watch right-click menu open on Chart Window, several charts tiled in the chart area and the M1 to MN timeframe buttons on the toolbar
Right-click a symbol in Market Watch and choose Chart Window, as in Step 1. The M1 to MN buttons on the toolbar switch the timeframe of the active chart. Image: MetaQuotes Ltd, via MetaTrader 5 Help. MetaTrader is a registered trademark of MetaQuotes Ltd

Step 2: Change the Timeframe

A timeframe is the time each candle or bar covers. M1 is one minute, H1 is one hour, D1 is one day and MN1 is one month. MT5 offers 21 timeframes from M1 to MN1.

  • Step 1, use the toolbar: click a button on the Periodicity toolbar, such as H1.
  • Step 2, or use a menu: the Charts menu and the right-click menu of the chart both list the timeframes.
  • Step 3, compare: switch between M15, H1 and D1 and watch the same price history redraw. Short timeframes show detail and noise; long ones show the bigger picture. Stay on H1 for this lesson.

Step 3: Choose the Chart Type and Move Around

  • Chart type: press Alt+1 for bars, Alt+2 for candlesticks or Alt+3 for a line. The toolbar, the Charts menu and the right-click menu offer the same choice. Select candlesticks, where each candle shows open, high, low and close.
  • Zoom: press + or −, use the zoom buttons on the toolbar, or hold Ctrl and scroll the mouse wheel.
  • Move through history: Home and End jump to the ends of the history. Page Up and Page Down scroll a screen at a time, and F12 steps one bar.
  • Grid: Ctrl+G switches the grid on or off.

If you want help reading what you see, how to read a forex chart explains candles, trends and the scales in detail.

Step 4: Set Your Own Colours

  • Step 1, open Properties: press F8, or right-click the chart and choose Properties.
  • Step 2, try a colour scheme: the window offers three built-in colour schemes. Pick one as a starting point.
  • Step 3, set each element: set a colour for each element of the chart, such as the background, the grid and the up and down candles. Keep a light or dark background that rests your eyes, and make bull and bear candles easy to tell apart.
  • Step 4, choose what to show: the properties also let you show the OHLC line, period separators and trade levels. Switch on the ones you want, then click OK.
  • Step 5, read exact values: turn on the crosshair from the Line Studies toolbar and the exact price and time appear on the scales. The Data Window, one of the platform’s panels, lists the bar values for the cursor position.
MT5 chart Properties window on the Colors tab with the Black on White scheme and colour menus for background, foreground, grid, bars, candles, volumes, price lines and stop levels
The Colors tab of the chart properties, opened with F8. Pick a scheme first, then change single elements such as the background or the bull and bear candles. Image: MetaQuotes Ltd, via MetaTrader 5 Help

Step 5: Save the Look as a Template

A template is a saved chart setup: type, colours and anything else you set. Saving one means you never redo the styling.

Flow of four boxes: style one chart, save it as a template named My H1, save it again as default.tpl, and every new chart opens in that style
A named template restyles a chart when you load it; saving the same look as default.tpl makes it the starting point for every new chart.
  • Step 1, save it: right-click the chart and choose Templates, then Save Template. Type a name such as “My H1”.
  • Step 2, make it the default: save a second copy with the name default.tpl. This is the basic template, applied automatically whenever you create a new chart.
  • Step 3, apply it elsewhere: on another chart, open the Templates menu and select your template at the bottom of the list, or choose Load Template to pick a file from another folder.
  • Step 4, find the file: templates are stored as TPL files in the MQL5\Profiles\Templates folder.
  • Step 5, check the status bar: it shows the name of the active template and profile.

Templates and Profiles: What Is the Difference?

Think of a template as the style of one chart. A profile remembers the whole set of open charts and their positions. Open it from the File menu, or by clicking the profile name in the status bar. Save as stores the current set under a new name, Next and Previous move between profiles with Ctrl+F5 and Shift+F5, and Remove deletes one. The current profile and the DEFAULT profile cannot be deleted.

Charts come from your broker’s price feed, so history length and quotes can differ between brokers; the broker comparison is the place to look. You can check the price you are charting against the live EUR/USD rate. Indicators written for TradingView, including those in the Pine Script Library, do not run in MT5, but you can build the same idea with the built-in tools in the next lesson.

If Something Goes Wrong

  • “The chart is empty or flat”: the market may be closed, or the history has not loaded. Check the status bar connection, then change the timeframe to refresh it.
  • “My colours vanished on a new chart”: you saved a named template but not default.tpl. Save it again under the name default.tpl.
  • “I cannot find my template”: open the Templates menu and look at the bottom of the list, or use Load Template and browse to the Templates folder.
  • “The chart will not scroll to the latest bar”: press Home or End to jump along the history.

What You Just Learned

  • Right-click, then Chart Window opens a chart; Ctrl+drag opens it separately.
  • The Periodicity toolbar offers 21 timeframes from M1 to MN1.
  • Alt+1, Alt+2 and Alt+3 switch between bars, candlesticks and a line.
  • F8 opens Properties, where you pick a colour scheme or set each element.
  • Templates, Save Template stores the look, and default.tpl applies it to every new chart.

The next lesson, indicators and drawing tools in MT5, adds moving averages and lines to this chart. Leveraged trading in forex and CFDs carries a high risk of losing money, so practise every step on a demo account first.

FAQ

How do I change the timeframe in MT5?

Click a button on the Periodicity toolbar, or choose a timeframe from the Charts menu or the chart’s right-click menu. MT5 offers 21 timeframes, from M1 (one minute) to MN1 (one month). The chart redraws the same price history using candles or bars of the new length.

How do I switch between candlesticks and bars in MT5?

Press Alt+1 for bars, Alt+2 for candlesticks or Alt+3 for a line chart. You can also use the toolbar, the Charts menu, the chart’s right-click menu or the Properties window. Candlesticks show the open, high, low and close of each period in one shape.

What is default.tpl in MT5?

It is the basic template that MT5 applies automatically whenever you create a new chart. If you save your own chart setup under the name default.tpl, every new chart gets your colours and settings. Templates are stored as TPL files in the MQL5\Profiles\Templates folder.

What is the difference between a template and a profile in MT5?

A template saves the look of one chart, such as type, colours and indicators. A profile saves the whole set of open charts and their arrangement. You switch profiles from the File menu or the status bar, and Ctrl+F5 and Shift+F5 move to the next or previous one.

Related on ForexR

Next lesson MT5 101: Add Indicators and Draw Lines on an MT5 Chart Continue

More Beginner Guides

What Is Forex Trading? A Beginner's Guide to the FX Market How to Start Forex Trading: A Step-by-Step Beginner Guide Currency Pairs Explained: Majors, Minors & Exotics Best Currency Pairs to Trade for Beginners: Where to Start Forex Trading Terms: A Plain-English Glossary for Beginners Going Long vs Going Short in Forex: Buy and Sell Explained Forex Spreads and Pips: What They Cost You Forex Lot Sizes and Order Types Explained for Beginners Leverage and Margin in Forex: A Beginner's Guide Margin Call and Stop Out in Forex: How They Work What Is Swap in Forex? Overnight Fees Explained Simply How Much Money Do You Need to Start Forex Trading? How to Choose a Forex Broker: Regulation, Costs & Checklist How Forex Brokers Make Money: Spreads, Swaps, IBs and B-Books Forex Rebates and Cashback Explained: Who Pays and What You Get Is Forex Trading Legal? How Forex Regulation Works Worldwide Forex Demo Account: How to Practise Trading Properly MT4 vs MT5: Key Differences and Which One to Choose How to Use MT4 and MT5: MetaTrader Tutorial for Beginners MT5 101: Install MetaTrader 5 and Open a Demo Account MT5 101: Market Watch, Navigator, Chart and Toolbox Explained MT5 101: Add Indicators and Draw Lines on an MT5 Chart MT5 101: Place, Modify and Close Your First Trade (F9) MT5 101: Pending Orders in MT5, Limit, Stop and Stop Limit MT5 101: One-Click Trading and Managing Trades on the Chart MT5 101: Alerts, Push Notifications and Key MT5 Settings MT5 Mobile 101: Install the App and Log In on Android or iPhone MT5 Mobile 101: Build Your Watchlist in the Quotes Tab MT5 Mobile 101: Charts, Timeframes, Indicators and the Ruler MT5 Mobile 101: Place, Modify and Close a Trade on Your Phone MT5 Mobile 101: Push Notifications, Messages and Settings MT5 Mobile vs Desktop: What the Phone App Cannot Do Types of Expert Advisors: Robots, Trade Managers, Copiers & More How to Use the ForexR EA Library: Find, Check & Download EAs How to Install an Expert Advisor in MT4 and MT5 (Step by Step) What Is Pine Script? TradingView's Chart Language Explained How to Use the ForexR Pine Script Library: Find & Copy Scripts How to Add a Pine Script to TradingView: Copy, Paste & Run Pine Script v4, v5 and v6: What the Version Line Means Pine Script vs MQL5: TradingView or MetaTrader for Trading? How to Read a Forex Chart: Candlesticks & Trends Forex Trading Sessions: Hours and Best Times Best Time to Trade Forex: Best Hours, Days and Sessions How to Use an Economic Calendar for Forex How to Use Forex Market Analysis and News to Trade Forex vs Stocks: Which Is Better for Beginners to Trade? Forex vs Crypto Trading: Key Differences and Which Suits You How to Trade Gold (XAU/USD): A Beginner’s Six-Step Guide Why Does Gold Have Value? A Plain-English History of Money What Moves the Gold Price? 7 Drivers Explained in Plain English Physical Gold vs Gold CFDs, ETFs and Futures: 10 Ways to Own Gold Gold Lot Size, Pip Value and Margin Explained (XAU/USD) Best Time to Trade Gold: Sessions, Hours and the Daily Break Gold Spread, Swap Fees and Weekend Gaps: What Gold Costs Troy Ounces, Grams and Karats: How Gold Is Priced and Weighed Gold Trading Glossary: 40 Terms Explained in Plain English How to Read a Gold Price Forecast (and Why They Miss) 10 Gold Trading Mistakes That Empty Small Accounts Fast What Is Copy Trading in Forex? How It Works and What It Costs Forex Signals Explained: How They Work and How to Judge Them How to Trade Forex Signals: Step by Step With ForexR Signals How to Copy a Trade Signal Into MT5, cTrader or TradingView What Is AI Trading? A Plain-English Guide for Beginners AI Trading vs Algorithmic Trading: The Real Difference How to Use AI Chatbots for Trading Research Safely Forex Scams: How to Spot Them and Keep Your Money Safe AI Trading Scams: How to Spot Fake Bots and Deepfakes 12 Common Forex Trading Mistakes and How to Fix Them Is Forex Trading Profitable? What the Numbers Say Is Forex Trading Halal or Haram? A Neutral Explainer Is Gold Trading Halal? Spot, CFDs and Swap-Free Accounts Zakat on Gold, Crypto and Trading Accounts: A Simple Guide

Choose a Regulated Broker

Put what you’ve learned to work with a regulated broker. Compare costs, platforms and licences side by side.

Compare top brokers