Hello again) Interested in poking around in the code. Please tell me how to hide variable settings from user's eyes). I can't find this kind of information.
Vitali_Leto: Hello again) Interested in poking around in the code. Please tell me how to hide variable settings from user's eyes). I can't find this information.
Used to be
input
became
/*input*/
This way the input parameters won't become visible to anyone.
Vitali_Leto: Hello again) Interested in poking around in the code. Please tell me how to hide variable settings from user's eyes). Can't find such information.
to allow the user to see the settings, extern is added
Vitali_Leto: Where can I read about errors and warnings? My Expert Advisor generates 38 warnings, does it affect the algorithm and operation in any way?
This is the compiler helping the programmer,
Here is an example: Sometimes a typo is made and an integer type is written instead of a real type, for example, for a price value, if it is a real type, you assign = 1.12345 and then read the same value from the variable, and if the integer type, you assign = 1.12345, and then read 1 - the compiler will write warnings that the type does not match
I.e. there are different cases and the compiler's warnings help correct errors at the stage of code writing without looking for bugs during testing later
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'm OK:
Try removing the indicator and putting it back on again
I'm OK:
Try removing the indicator and putting it back on again
Yes, it's working. Thank you so much!)
;)
Hello again) Interested in poking around in the code. Please tell me how to hide variable settings from user's eyes). I can't find this information.
Used to be
inputbecame
/*input*/This way the input parameters won't become visible to anyone.
Hello again) Interested in poking around in the code. Please tell me how to hide variable settings from user's eyes). Can't find such information.
to allow the user to see the settings, extern is added
i.e. without extern only the program "sees"
Where can I read about errors and warnings? My Expert Advisor generates 38 warnings, does it affect the algorithm and operation in any way?
This is the compiler helping the programmer,
Here is an example: Sometimes a typo is made and an integer type is written instead of a real type, for example, for a price value, if it is a real type, you assign = 1.12345 and then read the same value from the variable, and if the integer type, you assign = 1.12345, and then read 1 - the compiler will write warnings that the type does not match
I.e. there are different cases and the compiler's warnings help correct errors at the stage of code writing without looking for bugs during testing later