Use chartevent keydown in indicator.
- You test for buttons and keys in OnChartEvent
not in OnTick.
-
Why did you post your MT4 question in the MT5 Indicators section instead of the MQL4 section, (bottom of the Root page?)
General rules and best pratices of the Forum. - General - MQL5 programming forum?
Next time post in the correct place. The moderators will likely move this thread there soon.
Thanks for reply. i already solve the problem with 1 single command.
sorry for wrong section and thank you.
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 create indicator for change pair chart. - MQL4
with button : ChartSetInteger(chartID,CHART_BRING_TO_TOP,0,true);
my problem : "CHART_BRING_TO_TOP" runing after get new tick. i need chart change realtime when i press button.
Thanks