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

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
This function returns the position number of the deadline, not the number itself.
Let's say I got the position number, then how do I remove the position?
I gave you a link to the help, 6 lines below there is help for StringSubstr, which just extracts a substring from a text string starting from a specified position.
What am I doing wrong? The task is to extract 99 (digit) from the string
What am I doing wrong? The task is to extract 99 (digit) from a string
This is the number of label objects, but if some other object is present, there will be an error in the object loop.
Next, if you don't have any other labels with the same name, you don't need to go through all the objects. Just pull out OBJPROP_TEXT and work with it.
string NameText = ObjectGetString(0, "lTrend_Power", OBJPROP_TEXT);
string Kon = StringSubstr(NameText, 13, 2);
and then convert the string containing the number in string format to the required type.
Well, judging by this example, you are too far from understanding the entire programming process.
This is not a part of object description, this variable NemeText is assigned a value "Trend Power:".
Read the whole help, and then you'll remember that you've seen the solution... and you'll find it easier to find everything you need in the documentation.
Without knowing what is written inside your EA it is impossible to say what the problem is. How does the EA behave on EURCHFX M5 and EURCHF M1?
It works everywhere, except EURCHFX M1. It is not clear to me what the "Insufficient right" is and I couldn't find anywhere a more detailed explanation, in which cases this message appears; as a reaction to what... Methaquotes should know what it means.
This is the number of label objects, but if some other object is present, there will be an error in the object loop.
Next, if you don't have any other labels with the same name, you don't need to go through all the objects. You just pull out OBJPROP_TEXT and work with it.
string NameText = ObjectGetString(0, "lTrend_Power", OBJPROP_TEXT);
string Kon = StringSubstr(NameText, 13, 2);
and then convert the string containing number in string format to the desired type.
Actually you are far from understanding the entire programming process, judging by this example.
This is not a part of object description, this variable NemeText is assigned a value "Trend Power:".
Read the whole help, and then you'll remember that you've seen the solution... and you'll find it easier to find what you need in the documentation.
Thank you, yes you're right, I'll do some reading this weekend, I'm going to the arkaim)))
Can you tell me, has anyone tried INDICATOR_COLOR_INDEX to colour one indicator buffer with different colours? Or it does not work in MT4 yet ?
Example >>>
In MT5 this code works like this:
//---
In MT4 similar code, but with some corrections for MQL4, shows this result:
Yes, I understand that there are a lot of stupid questions. Honestly, I've been trying all day, but with no results.
I am writing the price values of several trend lines on the current bar into an array.
How do I delete the value from the array if there is no object?
Yes, I understand that there are a lot of stupid questions. Honestly, I've been trying all day, but with no results.
I am writing the price values of several trend lines on the current bar into an array.
How do I delete the value from the array if there is no object?
How do I remove a value from an array if there is no object?
By specifying a price of zero.
My question is for a newbie:
I recently found out that MetaEditor is not opening in the terminal, and the "change" command does not work in Expert Advisors and indicators ............. Please help me with this. Please help me to find it out.