Из соображений безопасности в языке MQL5 строго контролируется работа с файлами. Файлы, с которыми проводятся файловые операции средствами языка MQL5, не могут находиться за пределами файловой "песочницы". общая папка всех установленных на компьютере терминалов – обычно расположена в каталоге C:\Documents and Settings\All Users\Application...
Please advise if it is possible to get RSI values for weekly timeframe in the Expert Advisor code, but to calculate the values for the week, starting not from Monday, but for example from Wednesday (that is for the week from Wednesday till next Wednesday). I understand that it will not work with iRSI, because it takes weekly bars, and they start on Monday.
So far I see only one way of calculating it. Is there a simpler solution or a ready solution?
Flags either control the number of order types or if there is a ticket control the closing time of the market order, if not equal to zero then the order has closed and the order opening flag is false.
Thanks, got it already, people suggested it )))))))😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃😃
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.
Static variables declared in a class function are pass-through for all instances of that class?
For some reason, I expected it to be different for each instance.
Is the alternative only class-level variables or are there some other tricky ways?
Hello ! I need to specify the path to save the file. more precisely the tick history. Help solve this problem )
@NeuralNetwork
FileOpenThe file is opened in the folder of the client terminal in subfolder MQL5\Files (or agent_folder\MQL5\Files in case of testing).
If FILE_COMMON is specified among the flags, the file is opened in the common folder of all the client terminals \Terminal\Common\Files.
--
to another location only via "symbolic link"
Thank you very much ! But, I want to set the path to save the file by specifying another drive or folder. I can't do it ...
https://www.mql5.com/ru/docs/files
3 line
@NeuralNetwork
FileOpenThe file is opened in the folder of the client terminal in subfolder MQL5\Files (or agent_folder\MQL5\Files in case of testing).
If FILE_COMMON is specified among the flags, the file is opened in the common folder of all the client terminals \Terminal\Common\Files.
--
to another location only via "symbolic link"
how will the admins and moderators solve the problem of a crookedly written robot?
Please advise if it is possible to get RSI values for weekly timeframe in the Expert Advisor code, but to calculate the values for the week, starting not from Monday, but for example from Wednesday (that is for the week from Wednesday till next Wednesday). I understand that it will not work with iRSI, because it takes weekly bars, and they start on Monday.
So far I see only one way of calculating it. Is there a simpler solution or a ready solution?
Shouting, yelling, cursing, not wanting to make your own code work, blaming moderators and admins, insulting moderators and admins...
In general - the whole package. I will give you one week to cool down and sort out your mistakes. Thoughtful!
To account for a ticket.
When opening an order, the ticket must be memorised.
Flags either control the number of order types or if there is a ticket control the closing time of the market order, if not equal to zero then the order has closed and the order opening flag is false.