Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 has structures?
petermql5
32
petermql5 2014.01.27 09:56 
Hello Geniuses

is there any way to build a link to jump to a specific chart?

my problem is that i need to open so many currencies chart to run an indicator on each one

and there is one chart that i use to take decision on which pair i will open a trade

so i need to program a link and trigger that jump to the desired pair chart.

i know it is almost impossible, but if any genius has an idea, please help me.


Thanks in advance.
Tjipke de Vries
6299
Tjipke de Vries 2014.01.27 10:06  
PeterMQL4:
Hello Geniuses

is there any way to build a link to jump to a specific chart?

my problem is that i need to open so many currencies chart to run an indicator on each one

and there is one chart that i use to take decision on which pair i will open a trade

so i need to program a link and trigger that jump to the desired pair chart.

i know it is almost impossible, but if any genius has an idea, please help me.


Thanks in advance.


ofcours a very simple way

look to the chart

under that chart in a horizontal line there i have listed the charts in use if i click on one of them (doubleclick if it is multichart) i get that chart

If you drag your most important to the first place in that line it is simply to find

petermql5
32
petermql5 2014.01.27 20:17  

i am talking about opening 20 charts minimum, and i could need to use any one at any time.

so organizing them is not practical .

whroeder1
14242
whroeder1 2014.01.27 20:56  

Maximize a window, then bring the window you want to the foreground via:

Not compiled, not tested.

#include <WinUser32.mqh>
#import "user32.dll"
  int GetAncestor(int, int);
#import
void ChartToForground(){
   if( !IsTesting()  )if( IsDllsAllowed() )if( !IsStopped() ){
     int main = GetAncestor(WindowHandle( Symbol(), Period() ), 2);//GA_ROOT
     SetForgroundWindow(main);
}  }
///////////////
static bool isCondition; bool wasCondition = isCondition;
isCondition = ... // Price above target, isMAcrossed, etc.
if(isCondition && !wasCondition) ChartToForground();
Not compiled, not tested.
petermql5
32
petermql5 2014.01.29 17:00  
WHRoeder:

Maximize a window, then bring the window you want to the foreground via:

Not compiled, not tested.

Not compiled, not tested.


Thanks a lot for your response .

/
To add comments, please log in or register