ertcy: Please help a newbie. I have made an Expert Advisor that uses iSAR() and Close() functions and displays their current values. When an Expert Advisor works the values of the Close function correspond to the price chart, but the values of iSAR are not the same and do not change on an interval of 10 candles or more. I have looked at the codes of Parabolic indicators (technical and custom), the iSAR function is in the comments. Can you tell me what to do to make iSAR work properly. Thank you.
I've noticed for a long time, the telepaths and psychics on this forum are simply worthless....
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.
Hi all.
Please write a script or advisor that gives a beep when a new bar appears.
Thank you !!!
Please help a newbie. I have made an Expert Advisor that uses iSAR() and Close() functions and displays their current values. When an Expert Advisor works the values of the Close function correspond to the price chart, but the values of iSAR are not the same and do not change on an interval of 10 candles or more. I have looked at the codes of Parabolic indicators (technical and custom), the iSAR function is in the comments. Can you tell me what to do to make iSAR work properly. Thank you.
I've noticed for a long time, the telepaths and psychics on this forum are simply worthless....
Hello everyone!
As usual I have a simple and maybe even silly question, but I want to get to the bottom of it.
Let's assume, there is an Expert Advisor consisting of three files.
1st one, the main one, contains include two other functions init(), denit(), start() and it calls custom functions (which are defined in second file).
2nd one contain definitions of custom functions. User defined functions in second file use auxiliary functions which are defined in third file.
3rd file contains the definition of the auxiliary functions.
How to use preprocessor in this case?
I do this:
1st file - #include <second file>
2nd file - #import <file with auxiliary functions>
auxiliary function1();
auxiliary function2();
auxiliary function3();
#import
The problem is, I'm not getting an exe-nick created...
Please assist...
Hi all.
Please write a script or advisor that gives a beep when a new bar appears.
Thank you !!!
Hello everyone!
As always I have a simple and maybe even silly question, but I want to get to the bottom of it.
Let's assume, there is an Expert Advisor consisting of three files.
1st one, the main one, contains include two other functions init(), denit(), start() and it calls custom functions (which are defined in second file).
2nd one contain definitions of custom functions. User defined functions in second file use the auxiliary functions which are defined in third file.
3rd file contains the definition of the auxiliary functions.
How to use preprocessor in this case?
I do this:
1st file - #include <second file>
2nd file - #import <file with auxiliary functions>
auxiliary function1();
auxiliary function2();
auxiliary function3();
#import
The problem is, I'm not getting an exe-nick created...
Please assist...
I assume you don't have very large functions that you want to connect to your EA.
So I suggest to just copy and paste them at the end of your EA, outside of the start() function.
It will make your life much easier.
Is it a script or an expert ???
I assume you don't have very big functions that you want to connect to the EA.
So I suggest you just copy and paste them at the end of the EA code, outside the start() function.
It will make your life much easier.
Thanks for the tip!))
1000 lines of code at the end of start() is not convenient))
How would you solve the preprocessor issue?))
Thanks for the tip!))
1000 lines of code at the end of start() is not convenient))
How would you solve the preprocessor issue?))
Are you suggesting that having code outside the EA is more convenient?
If you can do something in the EA itself, you should do it in the EA,
That is, if it is not a dll, or an indicator, or a super-clever library that cannot do without each line.
Write the code in the EA.