Piterrr: I create my own, inside of which I write functionOnCalculate(), but when filling it with parameters it generates errors - please send me an example of filling.
Предположим, что на чарт наброшен индикатор простого мувинга с периодом 13. А мы хотим изменить период до 20, но нам не хочется лезть в диалог свойств индикатора и править число 13 на 20: надоело уже пальцы стирать об мышку и клавиатуру. И уж тем более не хочется открывать код индикатора и модифицировать его. Мы хотим сделать все это однократным нажатием одной клавиши - "стрелочки вверх", расположенной рядом с цифровой клавиатурой. В этой публикации мы расскажем, как это сделать.
I've decided to study classes, the standard library and everything related to it. I'm still learning the theory, but I'd like to clarify what the code for getting the string length from https://www.mql5.com/ru/docs/standardlibrary/stringoperations/cstring/cstringlen would look like exactly. Preferably with detailed comments.
Стандартная библиотека / Класс для работы со строками / CString / Len - справочник по языку алгоритмического/автоматического трейдинга для MetaTrader 5
I am a user of my own product (library) in the Marketplace. After reinstalling Windows, my library has lost its license. On launching it, an invalid liciense message appeared. However, MT5 didn't offer me to re-activate the product, although the library was in the list of purchased products. Then I deleted the product file and installed the product again. MT5 wrote that the product was downloaded and installed, but the Market folder still does not contain my product file. Now when running the library, a legitimate file '***.ex5' does not find. Can anyone explain what's wrong and how to properly activate with product installation?
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.
I create my own, inside of which I write functionOnCalculate(), but when filling it with parameters it generates errors - please send me an example of filling.
No fill, all constants.
Leaving constants will throw out errors on all positions
'time' - undeclared identifierTo make it clearer, please see the topic https://www.mql5.com/ru/articles/39 - the "Matryoshka" sectionworks!
The first formOnCalculate() is implemented there.
How to write the function for the second formOnCalculate() there?
Leaving constants will throw out errors on all positions
'time' - undeclared identifierWith your knowledge you should only go into freelancing. You need to go through the basics of programming. Variables and their types.
I've decided to study classes, the standard library and everything related to it. I'm still learning the theory, but I'd like to clarify what the code for getting the string length from https://www.mql5.com/ru/docs/standardlibrary/stringoperations/cstring/cstringlen would look like exactly. Preferably with detailed comments.
#include <Strings\String.mqh> ...Good afternoon! Can you tell me how to pass parameters to a function?
Tried to do as in the example below, what is wrong? Thanks in advance.
You can't create your own, this one.