4 B600 > ChartOpen ChartClose
Hi gjol,
thank you a lot. I see new build have more new, practic, function. I must study documentation.
But I not found function for open new chart with automatic EA/Indi...:-( I don´t see combination command for it.
Unfortunately, I don´t see common function, example ChartOpen( Symbol(), Period(), "my_template.tpl" );
Function ChartApplyTemplate() need parameter chartID and this get from function ChartID() but this function I must call (apply) only from new open chart...(some EA on chart)
I´m afraid that new functions fail catch event if open new chart with EA/scripts/indicator... :-( Maybe I was wrong but I don´t see code with new function MQL for it.
i really don't get u
long ChartId = ChartOpen("EURUSD", PERIOD_H4); ChartApplyTemplate(ChartId, "my_template");
Pavel Soukup:
PostMessageA(hTerminal, WM_COMMAND, 33160, 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
I find way how get count open chart window in platform MT4 and how get their handle.
I need control if open new chart window . I use for open window this code and sometimes it happens that the command
PostMessageA(hTerminal, WM_COMMAND, 33160, 0);
don´t open new chart window. I need catch this situation.
Thank you.