
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
Good day, Igor!
The question is not quite to you, but only you worked with ini files through WinAPI.
I'm just going crazy here from reading strings! Sometimes they are not read, then other variables are overwritten (it's more petty, when constants are overwritten), then they are read, but not that way (with non-existent key..... the default value is specified as a non-empty string).
Tried all known tricks (5 years programming experience, not a user), but alas...... neither your variant ReadIniString, nor mine does not work!!!
Is there a solution to this problem? Reasonable alternatives to ini files?
Of course there is... You create your own text file and parse it in any way you know how :-)
thanks for the stupid and useless answer
rhetorical question, is it true that MT and MQL were created by a dedicated team of programmers with a negative intelligence test?
good luck!
P. S. you can banish, this dump is disgusting to write in.
to an armless man, there's no off-roading anywhere
Good afternoon!
"Repeat"
#1 Buy price (a), Take profit (b) when closing order at "take profit" (b) by automat.(no hand) return to the beginning(Buy limit price (a), Take profit (b) - not just 1 time, must be repeated)
#2 Buy price (b), Take Profit (c), when closing order at Take Profit (c) by the machine itself.(no hand) return to the start (Buy limit price (b), Take Profit (c) - not only ......
Please, how to make a programmer?
Good afternoon!
"Repeat"
#1 Buy price (a), Take profit (b) when closing order at "take profit" (b) by automat.(no hand) return to the beginning (Buy limit price (a), Take profit (b) - not just 1 time, must be repeated)
#2 Buy price (b), take profit (c), when order is closed at "take profit" (c) by the automat.(no hand) return to the start (Buy limit price (b), take profit (c) - not only ......
Please, how do you make a programmer?
You order him an algorithm, then you don't pay him for his work consider he did it))))
you won't get an answer here, there is a question thread, maybe they will answer you there...
The CrossPointOfLines() function.
This function calculates the coordinates of the intersection point of two lines. Each line is defined by a pair of coordinates of its points. Three arrays are passed to the function as parameters:
Igor, don't you have a function of intersection of Sections similar to the function of intersection of ROWs? I have scoured through the functions and don't seem to find...
What is there to return if they don't overlap?
wanted to delete my hasty question... probably first of all false-true, then which halves intersect, if they do not, then the distance between the closest points... the question is hasty and not finalised ( for myself ), but I think others would also benefit from such a function in its pure form ( in its pure form it is "is there an intersection or not" )
The simplest and most intuitive option is to return -- intersect or not and the point where the lines intersect.
If there is an intersection, the point can be used. If not, you can search further outside the function, because you may need many things, such as the nearest point, or vice versa, or distance...
are we talking about an intersection point of line segments...? or an intersection point of a line segment, as if it were a line?
If the segments intersect, the intersection point is also the intersection point of the lines, which makes sense. If they don't intersect, then the intersection point of the lines may be useful to the user.
>> I see.