Download MetaTrader 5
To add comments, please log in or register
Having troubles understanding the code? Perhaps, you can find an article on that topic!
mar
1143
mar 2014.02.07 19:21 

Hey guys,

I read many topics about opening a chart with a script or some questions about opening a chart in an EA but I couldn't find a solution.

My indicator checks different pairs for different setups. When a setup is found it is displayed in a kind of Dashboard. Now I want this indicator open a particular chart where the setup was detected.

I tried this solution ( https://forum.mql4.com/24948#194891 ) but it doesn't work. Is there any possibility to open a chart automatically by an indicator?


EDIT: I just saw this error in the journal: FileOpen - too many opened files. But there is no chart opened... ?!

Ubzen
Moderator
5394
Ubzen 2014.02.07 19:46  
mar:

I read many topics about opening a chart with a script or some questions about opening a chart in an EA but I couldn't find a solution.

My indicator checks different pairs for different setups. When a setup is found it is displayed in a kind of Dashboard. Now I want this indicator open a particular chart where the setup was detected.

I tried this solution ( https://forum.mql4.com/24948#194891 ) but it doesn't work. Is there any possibility to open a chart automatically by an indicator?

EDIT: I just saw this error in the journal: FileOpen - too many opened files. But there is no chart opened... ?!

  • Last time I checked, you need Windows-DLLs for this functionality ... Windows-DLL isn't mql4.
  • This is one of those features which I'm hoping gets ported from mql5->mql4 because allot of questions about it.
  • Anyways, post your codes and perhaps you'll get lucky and someone who know Post-Messages would help.
  • Otherwise, you'll have to spend some time learning Microsoft .. Or make a Job request.
mar
1143
mar 2014.02.08 13:45  
Damn, learning MQL4 is hard enough... ;)
/
To add comments, please log in or register