The last version of MetaTrader required offline charts for anyone that wanted to create a 合成货币对 or instrument. Since MetaTrader 5 still does not allow for offline charts, the ability to create synthetic time frames isn’t possible using the charting time series.
The new build 1640 for MT5 introduces the ability to create synthetic instruments. 我, 例如, want to watch VIX Calendar Spreads. Instead of just using my indicator, I also would like to see a chart that helps me track the calendar spread.
How To Create A Synthetic Instrument Chart
右击市场观察窗口 (look to the image on the right). You’ll see Symbols appear in a dropdown menu. Click on it.
另外, just push Ctrl + U on your keyboard.
Now enter in the Synthetic Instrument name. The name can be anything that you choose with allowed characters.
The most important step is to enter in your formula. As you can see in the image below, mine is a symbol subtraction. The primary keywords that you’ll use are bid() and ask(). 所以, if you want the bid of EURUSD, 例如, you type in bid(欧元兑美元).
最后, make sure to set the number of digits in your instrument. 否则, your chart will show a large number of unwanted, extra decimals.