Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 465

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
Why even write it that way?
If you only put the EA on one symbol, but it will work on all of them? And the magician will see his own!
I'm confused!
In old mql4 the condition was checked from the beginning to the end, regardless of the result of checking the first in the list of conditions. Hence this ugly writing, desire to reduce processing time.
Nowadays, it's written somewhere, but I don't remember where, if the first condition is not met, then the check stops. Accordingly, scratching the left ear with the little finger of the right foot makes no sense.
@Konstantin Nikitin So if I write at the beginning of the iteration like this
So if I write at the beginning of the iteration like this
Good afternoon. This is what they write.
"The product can only contain one EX4 file, no additional files are allowed. The name of the EX4 file and the names of the input parameters must be written in Latin letters. It is recommended to useResources in order to create user-friendly interface.
For security reasons calls to any DLLs are not allowed in the program. If test data are required for the demonstration program, the program should create the required file by itself and inform the user about it. You may also add the required files using the ResourceLoad function, but be aware that all products are checked for possible malicious activity before they are published on the Marketplace.
It is prohibited to build in any restrictions on the Product depending on the time, type or number of the trading account, financial instrument, etc. All such actions will be regarded as unfriendly to the Buyer and will not be tolerated."
Say HOW..... Make an EA request to an indicator.
Good afternoon. This is what they write.
"The product can only contain one EX4 file, no additional files are allowed. The name of the EX4 file and the names of the input parameters must be written in Latin letters. It is recommended to useResources in order to create user-friendly interface.
For security reasons calls to any DLLs are not allowed in the program. If test data are required for the demonstration program, the program should create the required file by itself and inform the user about it. You may also add the required files using the ResourceLoad function, but be aware that all products are checked for possible malicious activity before they are published on the Marketplace.
It is prohibited to build in any restrictions on the Product depending on the time, type or number of the trading account, financial instrument, etc. All such actions will be regarded as unfriendly to the Buyer and will not be tolerated."
Say HOW..... Make an EA request to the indicator.
You yourself have written the answer: Use a resource
You wrote the answer yourself: Use the resource
Thanks for the answer. But I've already read it and tried to insert it. I can't get it. I'm doing something wrong or putting it in the wrong place. I am calling to three indicators. Please, describe this script in more details.
What, where, what parameters... Thank you in advance.
Thanks for the reply. But I've already read it and tried to put it in. I can't get it to work. I'm either doing it wrong or putting it in the wrong place. I am calling to three indicators. Please, describe this script in more details.
What, where, what parameters... Thank you in advance.
Create three or as many variables as you need and call them as in the examplehandle_ind=iCustom(_Symbol,_Period,"::Indicators\\blah-blah-blah) Insert code. Just so people understand!
iCustom is THIS!
IfCreate three variables or as many as you need and poll them as in the examplehandle_ind=iCustom(_Symbol,_Period,"::Indicators\\blah-blah-blah) Insert code. Just so people understand!
iCustom is THIS!
IfI'll give it a try. Thank you.
Stop is now twitching on every tick )))))
In post#4643 you pointed out the code closure for the magician ! I understand that ! Just the situation is like this: I trade by hand, but suddenly I need to step back and give control to the EA (search for a pattern and entry point). I want to separate all the operations. But the stop and take out, as required by all. Maybe I'm not digging it right yet!