Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 444

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
Corrected the syntax in Print, but still no order numbers appeared in the op_buy and op_sell variables...
If blocks without curly braces. And what do you all have against the for loop?
Hello Gentlemen Programmers, I've just started studying MQL4 and I have built my Expert Advisor with almost ready-made functions. I want to ask for your help, look at the code oto I have strong doubts about the correctness of his writing. The meaning of the TS is that if a new bar opens above the moving average on the hour and 15-minute timeframe,
then in the transaction to buy come in from the bottom line of the channel TMA, 5 minute time frame or you can use Bologner stripes, especially the difference I have not seen in these indicators.Output at the top of the 15-minute channel chart. I also got errors on the old terminal, 509.i.e. stop 130, wrong stops, when compiling the new terminal, it says not all functions return a value, how to fix it.
I forgot to write that MetaIditor 5 Version build 883 and MT4 build 577.
Hello Gentlemen Programmers, I've just started studying MQL4 and I have built my Expert Advisor from almost ready-made functions. I want to ask for your help, look at the code oto I have strong doubts about the correctness of his writing. The meaning of the TS is that if a new bar opens above the moving average on the hour and 15-minute timeframe,
then in the transaction to buy come in from the bottom line of the channel TMA, 5 minute time frame or you can use Bologner stripes, especially the difference I have not seen in these indicators.Output at the top of the 15-minute channel chart. I also got errors on the old terminal, 509.i.e. stop 130, wrong stops, when compiling the new terminal, it says not all functions return a value, how to fix it.
I forgot to write that MetaIditor 5 Version build 883 and MT4 build 577.
I'm not a linguist, but I get hysterical :(((( such texts in Russian make me hysterical
A discrepancy has arisen. There is an expert. He has the hoz_Base@Include.mqh inluder and the hoz_Base@Library.mq4 library.
The hoz_Base@Include.mqh inluder has global variables:
The inluder imports the library hoz_Base@Library.mq4 in which the values of these global variables are obtained. But values of these variables are equal to ZERO in Expert Advisor. What is it? Another glitch or am I missing something?
Attempting to compile an example from MQL4 Reference (MQL4 Reference - Language Fundamentals - Operations and Expressions - Other operations):
int i; int j;
for(i=0, j=99; i<100; i++,j--) Print(array[i][j]);//Example
leads to an error: 'array' - variable not defined.
What is the error here, how can an array be defined correctly?
A discrepancy has arisen. There is an expert. He has the hoz_Base@Include.mqh inluder and the hoz_Base@Library.mq4 library.
The hoz_Base@Include.mqh inluder has global variables:
The inluder imports the library hoz_Base@Library.mq4 in which the values of these global variables are obtained. But values of these variables are equal to ZERO in Expert Advisor. What is it? Another glitch or am I missing something?
You can't be considered a beginner by the level of use of the libraries. Having looked at your code, it would take me two weeks to figure it out. If not more. So I don't think you'll get an answer.
Attempting to compile an example from MQL4 Reference (MQL4 Reference - Language Fundamentals - Operations and Expressions - Other operations):
int i; int j;
for(i=0, j=99; i<100; i++,j--) Print(array[i][j]);//Example
leads to an error: 'array' - variable not defined.
What is the error here, how can an array be defined correctly?
You have not defined the dimensionality of the array. It is still a zero size. And any operation will cause an array overrun error