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

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
Code line:
Warning:
possible loss of data due to type conversion FinBuy1531.mq4 144 7
The types correspond to my opinion. What's wrong here?
Do not match, MarketInfo(...) returns the value of typedouble
something like this:
No match, MarketInfo(...) returns a value of typedouble
like this:
Example from the directory:
double vpoint =MarketInfo("EURUSD",MODE_POINT);
int vdigits =MarketInfo("EURUSD",MODE_DIGITS);
Something else seems to be wrong?
An example from the directory:
double vpoint =MarketInfo("EURUSD",MODE_POINT);
int vdigits =MarketInfo("EURUSD",MODE_DIGITS);
Something else seems to be wrong?
In the case of "MODE_DIGITS", "MarketInfo" returns a value of type "double". Here it looks like an implementation error of "MarketInfo". Therefore, the correct way would be:
All last question!
There isOBJ_LABEL. in object descriptions, there is text (not name) and digit, digit changes with ticks.
How do I get the number out?
All last question!
There is OBJ_LABEL. in object descriptions, there is text (not name) and digit, digit changes with ticks.
How do I get the number out?
Good afternoon. Please help me to solve the problem.
I have installed the MT4 646th build. I placed in folder ...\MetaTrader 4 Admiral Markets AS\MQL4\Indicators two files - a file with indicator code LC-RSI_Histo3.mq4 and a file with compiled indicator LC-RSI_Histo3.ex4. I run the indicator - it works. However, I want to change the source code. I open the embedded code editor. The problem is that after any, even cosmetic changes to the code (for example, adding a space) and its subsequent compilation, the indicator after startup works incorrectly - all its columns show the same value:
The compiled .ex4 file (attached with the name LC-RSI_Histo3_1.ex4) weighs much more than the original (copied into the folder).
What is the reason? How to correct it?
Hi all!
Help me out with this error: "Not enough rights" or "Not enough rights" code #7
What is happening: An Expert Advisor on a EURCHFX M1 pair can not open a position, this error appears (found in the journal), but at the same time, it opens without problems on other pairs and EURCHF M5. It opens by hand without any problems. At another broker it works. What is the problem may be?
I thank you in advance for your help.
StringFind is your guide. And then int StrToInteger or long StringToInteger
This function returns the number of position in the timeframe, not the number itself.
Let's say I got the position number, then how do I extract this position?
Does anyone have a piece of code for an example where elements of a string array are grouped in alphabetical order?
thanks in advance.
Another example for applied tasks
Hi all!
Help me out with this error: "Not enough rights" or "Not enough rights" code #7
What is happening: An Expert Advisor on a EURCHFX M1 pair can not open a position, this error appears (found in the journal), but at the same time, it opens without problems on other pairs and EURCHF M5. It opens by hand without any problems. At another broker it works. What is the problem may be?
I thank you in advance for your help.