Open a new chart within an indicator

 

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... ?!

 
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.
 
Damn, learning MQL4 is hard enough... ;)
Reason: