Hello,
I use Expert Advisor which trades on Offline chart with no problem at all. However my Expert Advisor uses Global Variables and if terminal is closed all Global Variables are deleted! I have tried my EA on Standard chart and GV are NOT deleted if terminal is closed and re-opened. How to solve this problem?
https://www.mql5.com/ru/forum/100028/page58#94290
This explains how EA works with Offline chart.
FILES:
iNDICATOR: SYNBAR CREATES OFFLINE CHART THAT IS UPDATED EVERY TICK.
https://www.mql5.com/ru/forum/100028/page58#94290
EXPERT ADVISOR: OSC_TEST. Put any global variable. It works fine with standard chart and delete in offline.
https://www.mql5.com/en/articles/1514
ATTACHED IS WINUSER32. REPLACE WITH THIS ONE IN EXPERTS/INCLUDE DIRECTORY. This is needed to update chart every tick.
https://www.mql5.com/ru/forum/100028/page58#94290
This explains how EA works with Offline chart.
FILES:
iNDICATOR: SYNBAR CREATES OFFLINE CHART THAT IS UPDATED EVERY TICK.
https://www.mql5.com/ru/forum/100028/page58#94290
EXPERT ADVISOR: OSC_TEST. Put any global variable. It works fine with standard chart and delete in offline.
Sadly the first two links are to Russian text which I can't read :-(
Hello,
I use Expert Advisor which trades on Offline chart with no problem at all. However my Expert Advisor uses Global Variables and if terminal is closed all Global Variables are deleted! I have tried my EA on Standard chart and GV are NOT deleted if terminal is closed and re-opened. How to solve this problem?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I use Expert Advisor which trades on Offline chart with no problem at all. However my Expert Advisor uses Global Variables and if terminal is closed all Global Variables are deleted! I have tried my EA on Standard chart and GV are NOT deleted if terminal is closed and re-opened. How to solve this problem?