If this is a code fragment for the tester, can you tell me how to use csv file where to read about it in the strategy tester? I write quotes in a file, how to put them into the tester?
Sp - again it's not very simple. Tiki stuck in Files the directory under the name of the instrument in the required csv file format and tested it in my understanding now.... ;-)
Good afternoon! What if the terminal is connected to MQL5 VPS? When closing the terminal, will Trailing Stop still work or will it remain at the last level, just like in the case without VPS?
Trying to send json via WebRequest, the server returns:"\u0022BTCUSD\u0022 is not a valid bundle type for denormalisation.".
I.e. it doesn't like the encoding of inverted commas \u0022 . I tried specifying all encoding variants in headers and StringToCharArray, nothing helps.
From python everything flies out without problems: response = requests.post(url, data=json.dumps(data), headers=headers) i.e. everything is ok with the server.
Please advise an example of using this function in EA.
bool FrameAdd(
conststring name, // публичное имя/метка long id, // публичный id doublevalue, // значение conststring filename // имя файла с данными
);
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.
The tester folder has its own files folder.
SPS - THIS I KNOW. I'll read more - I'll post it..... If anything - I'll clarify.....
To work with csv
thanks - I'll have a look...
oops - I'll take a look...
There are include files there, see the full thing:
Trying to send json via WebRequest, the server returns:"\u0022BTCUSD\u0022 is not a valid bundle type for denormalisation.".
I.e. it doesn't like the encoding of inverted commas \u0022 .
I tried specifying all encoding variants in headers and StringToCharArray, nothing helps.
From python everything flies out without problems:
response = requests.post(url, data=json.dumps(data), headers=headers)
i.e. everything is ok with the server.
How to solve the problem?
When adding to the repository this is the error. Who has encountered it? Where to clean?
When adding to the repository this is the error. Who has encountered it? Where to clean?
It usually worked for me:
Please advise an example of using this function in EA.