symbol synthesizer chart
Info
The symbol synthesizer chart is a Indicator for MetaTrader 4 that same concept with (symbol synthesizer for mt5), but for chart display in metatrader 4. it synthesizes any symbol if you have the source symbols in market watch window and then makes a real time offline chart like period_converter_opt.
Usage
This tool is typically used for enhancing chart analysis and decision making.
Platform
This Indicator works exclusively on MetaTrader 4 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL4/Indicators folder via File ? Open Data Folder in MetaTrader 4.
How to Install and Use symbol synthesizer chart
1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.
2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.
3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.
4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.
Frequently Asked Questions
Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."
Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).
Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.
What this tool does
same concept with (symbol synthesizer for mt5), but for chart display in metatrader 4.
Typical Use Case
This Indicator excels in automated trading and technical analysis on MetaTrader 4.
Compatible Platform & Setup
This Indicator works on MetaTrader 4. Place the file in the MQL4/Indicators folder and restart the terminal.
Description & Settings
Related: symbol index with moving averages - another powerful indicator for MetaTrader 4 traders.
same concept with (symbol synthesizer for mt5), but for chart display in metatrader 4.
Also recommended: Chart Symbol and Timeframe Watermark - similar indicator with strong performance on MetaTrader 4.
it synthesizes any symbol if you have the source symbols in market watch window and then makes a real time offline chart like period_converter_opt.mq4 ().so, basic use is same with period_converter_opt since this is based on it.
differences in parameter settings are:
extern int spread = 0;
spread in points for ssym01 (attached chart symbol). 0 means current.
since metatrader 4 history file doesn't have past spread data, we need them to determine ask price for the case dividing to calculate the virtual prices.
extern int vdigits = 5;
the digits for synthesized symbol. this is replaced omitdigit (from period_converter_opt.mq4).
extern string vsymbol ="eurusd_v";
the one you want to generate. any name is ok but less than 11 characters.
string ssym01 ="eurgbp"; // (not external variable)
source symbol#1.
it is automatically set from the attached chart symbol.
you should attach this tool on this symbol chart to avoid getting "insufficient data error" when scal is "d" and if the history file of ssym01 is not sufficient.
extern string ssym02 ="gbpusd";
source symbol#2.
it has to be and exact same name on market watch include prefix and/or suffix.
extern string scal ="m";
the calculation to synthesize. "m" means "multiply", or put "d" means "divide".
if the virtual price of vsymbol can be calculated by ssym01 multiply ssym02, put "m".
ex: vsymbol="eurusd" ssym01="eurgbp" ssym02="gbpusd"
vsymbol="eurjpy" ssym01="eurgbp" ssym02="gbpjpy"
vsymbol="eurjpy" ssym01="eurusd" ssym02="usdjpy"
vsymbol="btcjpy" ssym01="btcusd" ssym02="usdjpy"
note: ssym01 and ssym02 can be switched with each other since we multiply them. major pair should be ssym01 for more often ticks.
if the virtual price of vsymbol can be calculated by ssym02 divided by ssym01, put "d" or any other string but "m".
ex: vsymbol="usdjpy" ssym01="eurusd" ssym02="eurjpy"
vsymbol="zarjpy" ssym01="usdzar" ssym02="usdjpy"
vsymbol="eurusd" ssym01="usdjpy" ssym02="eurjpy"
note: ssym01 and ssym02 can not be switched with each other since we divide.
those under-lined currencies are "media" currencies.
You may also like: Symbol Swap and Spread Indicator - excellent alternative for indicator users on MetaTrader 4.
Source Code
#property copyright "robotfx"
#property link "https://robotfx.org"
#property indicator_chart_window
#property version "1.00"
#include <winuser32.mqh>
/*
readme1: (about symbolsynthesizer_chart.mq4 from alohafx)------------+
this tool synthesizes any symbol from other symbols on market watch window.
basic use is same with period_converter_opt.mq4 since this is based on it.
differences in parameter settings are;
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.