Maybe you can check the condition of:
if(ChartGetInteger(0,CHART_BRING_TO_TOP)==true)
{
// Do Something...
}
{
// Do Something...
}
Please see:
Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Chart Properties
- www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Chart Properties - Reference on algorithmic/automated trading language for MetaTrader 5
Marco vd Heijden:
Maybe you can check the condition of:
if(ChartGetInteger(0,CHART_BRING_TO_TOP)==true)
{
// Do Something...
}
{
// Do Something...
}
Please see:
this works :)
Thank you very very very very much
Marco vd Heijden:
Maybe you can check the condition of:
if(ChartGetInteger(0,CHART_BRING_TO_TOP)==true)
{
// Do Something...
}
{
// Do Something...
}
Please see:
Thank you!!
I used: ChartSetInteger(chartidNumber,CHART_BRING_TO_TOP,0);
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
I have a function & put on a expert . i open 10 chart & add expert to all of them but i want function work just on selected chart not other chart
when i select another chart now i want function work on this selected chart
for this i need specify active chart to put condition for run function like this
{
run function
}