
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
Please help, here's an example
It works like this...
but not like this...
how do I write in the buffer via the k variable?
double k=0;
Doesn't help! not in the code body, not in the initialisation, not in the start...
it works like this... and not like this...
To understand, you have to simplify. Compare two expressions: 100/10/10 = 1 and k=10/10 100/k = 100 but if k=10*10, then it is correct
Greetings. Could you please tell me how to extend the timeline for the future when the chart offset is enabled?
You can't. You can only draw the vertical lines yourself - they show the time at the bottom.
Hello. Can you tell me how to write a condition whereby: if an open order closed at TakeProfit - delete all the remaining market orders; if not (closed at Stop Loss) - place the same exact order (with the same Stop Loss and Take Profit) as a pending order.
Hello. Can you tell me how to write a condition whereby: if an open order closed at a takeprofit - delete all the remaining market orders; if not (closed at stoploss) - put the same exact order (with the same stoploss and takeprofit) as a pending order.
I told you in another thread - work with history and wrote the operators you need to do this.
Or you could write an article in the "Articles" section about some forex phenomenon,
and at the bottom of the article place an advertisement for a paid indicator from the market, an indicator that can be used to investigate this phenomenon. ?
Hi all, encountered a problem...
The task is to interactively change an EA on a chart. I am not considering an option with several charts and several EAs.
I know about using ChartApplyTemplate and it works, but sometimes it returns false response on the grounds that it cannot place a command in the queue.
What is this queue, where can I read about it or how can I clear this queue, since my task must be given priority over all others?
Thanks in advance.
PS: This does not happen with manual change of template. Maybe then through winAPI try... need to dig, haven't worked with this
Hi all, encountered a problem...
The task is to interactively change an EA on a chart. I am not considering an option with several charts and several EAs.
I know about using ChartApplyTemplate and it works, but sometimes it returns false response on the grounds that it cannot place a command in the queue.
What is this queue, where can I read about it or how can I clear this queue, since my task must be given priority over all others?
Thanks in advance.
PS: This does not happen with manual change of template. Maybe then through winAPI try... Need to dig, haven't worked with that
Have a look at this. It's for MT5, but the principle is completely similar for MT4. When using ChartApplyTemplate you need mandatory synchronization, which you can do in the ticket as follows