with a new tick the buffer is reset (the line disappears)? The buffer does not remember the old values. How to properly make it draw everything on the first run and only the difference if rates_total-prev_calculated>0?
upd man... it's because of moving ArrayInitialize to OnCalculate... Either rubbish on the first run, or a hassle.
Любой новый предмет для новичка с первого взгляда кажется сложным для понимания. Нам кажется простым и ясным то, что мы уже знаем. Но мы просто не помним, что всем нам когда-то приходилось изучать с нуля, даже родной язык, на котором мы разговариваем. Так и язык MQL5, таящий в себе огромные возможности для написания торговых стратегий, можно начать изучать с базовых понятий и примеров. В этой статье на примере пользовательского индикатора SMA рассматривается взаимодействие технического индикатора с клиентским терминалом MetaTrader 5.
Can you be more specific? How to transfer in a buffer a value of some parameter of tool RTS-9.13 from a window of the market review, for example volume of orders on sale?
vicleo: Can you be more specific? How to transfer in a buffer value of some parameter of tool RTS-9.13 from a window of the market review, for example volume of orders on sale?
If you don't want to understand it yourself, you can go to Work. It will cost you 50 quid and you won't have to think about it. There are classes and standard functions for orders, positions, trades and they are easy to find by entering this into the search. How buffers are filled in the link I gave.
С запуском сервиса "Работа" MQL5.community становится идеальным местом для размещения заказов и оказания услуг программирования. Тысячи трейдеров и разработчиков ежедневно посещают этот ресурс и с легкостью могут помочь друг другу. Для трейдера сервис "Работа" - это легкая возможность получить свой собственный эксперт. Для MQL5-разработчика это возможность легко найти новых клиентов. В данной статье мы рассмотрим возможности этого сервиса.
There is a "standard deviation channel" object. How can I programmatically obtain the distance in pips from the centre line to the edge of the channel?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Why, if (indicator) is written to draw only on the first run
with a new tick the buffer is reset (the line disappears)? The buffer does not remember the old values. How to properly make it draw everything on the first run and only the difference if rates_total-prev_calculated>0?
upd man... it's because of moving ArrayInitialize to OnCalculate... Either rubbish on the first run, or a hassle.
For now, the issue has been resolved.
Can you guys tell me why signals are not copied to the terminal?
I meant to build it myself using MQL5 tools.
Build whatever you want in the indicator window.
Maybe you can tell me how, where to start?
https://www.mql5.com/ru/articles/37
Can you be more specific? How to transfer in a buffer value of some parameter of tool RTS-9.13 from a window of the market review, for example volume of orders on sale?
If you don't want to understand it yourself, you can go to Work. It will cost you 50 quid and you won't have to think about it. There are classes and standard functions for orders, positions, trades and they are easy to find by entering this into the search. How buffers are filled in the link I gave.
Look for the answer here.
How to pass a receiving array name in Copy*?
There are double a[], b[], c[], and string name={"a", "b", "c"};
I need
How can I copy the array name instead of Array?
Something simple, can't find it.