- Why Doesn't MT5 synchronize imported third parties tick data?
- Import Tick Data To MT5
- debugging MQL5 EA using artificial tick data
Thank you for your response. How can that be done? My data file is provided as ticks.
Forum on trading, automated trading systems and testing trading strategies
Discussion of article "Creating and testing custom symbols in MetaTrader 5"
fxsaber, 2018.04.12 07:59
#property script_show_inputs #include <fxsaber\ThirdPartyTicks\CustomSymbol.mqh> // https://www.mql5.com/ru/code/20225 // Generate M1-history from ticks void OnStart() { MqlTick Ticks[]; CUSTOMSYMBOL Symb; if (Symb.IsCustom() && (CopyTicksRange(Symb.Name, Ticks, COPY_TICKS_ALL, 0, LONG_MAX) > 0)) { Symb.AddTicks(Ticks); Symb.CreateHistoryRates(); ChartOpen(Symb.Name, PERIOD_CURRENT); } }
- www.mql5.com
Hi fxsaber,
I tried it but there's an error on line 123. Can you please debug it?
This is what the mql5 editor says:
Get the latest version here.
- www.mql5.com
Thank you very much. Sadly I downloaded the latest version but I'm having a problem when trying to run your script. I imported my tick data from TDS2 by using a CSV file. It was correctly imported but due to the synchro problem the chart window shows the message of 'Waiting for update' and I cannot run the script on it, obviously.
Any idea how can that be fixed?
the chart window shows the message of 'Waiting for update' and I cannot run the script on it, obviously.
You can run the script even on this window.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use