Reshetov: Unfortunately, there are other ways of doing things too. I've been there before. So it's better to look for the last order in the list by the maximum opening time.
Yes, thanks, that's exactly what I meant. double AccountEquity( ) Returns the amount of equity for the current account. The equity calculation depends on trade server settings.
Now, in the code of the indicator we need to substitute this value for price, is it possible?
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.
Here's the script:
There's a gimmick like this:
The question arises, what does this even mean?
Is it just a set of characters or does it make sense?
You run it and see. Quite a useful "kit".
Running it. I actually have it on a graph. I wonder why the author threw in these symbols...
Running it. I actually have it on a graph. I wonder why the author threw in these symbols...
Unfortunately, there are other ways of doing things too. I've been there before. So it's better to look for the last order in the list by the maximum opening time.
Task condition:
I put (as required) lines on the graph. To separate them from the other lines, I
I try to make them into a different colour, line type, and thickness. For example, I write the colour
But if I have 10 such lines, I need to write such command(s) for each line.
Question:
How do I specify a range so that, say, all lines from "b1" to "b10" have these settings applied to them?
And in general, how do I set ranges? to the same type of graphical objects?
Could you please tell me how to replace price values with equity values in the indicator code?
The condition of the problem:
I draw (as required) lines on the graph. In order to separate them from other lines, I
I try to make them into a different colour, line type, and thickness. For example, I put the colour
But if I have 10 such lines, I need to write such command(s) for each line.
Question:
How do I specify a range, so that, say, all lines from "b1" to "b10" have these settings applied?
And in general, how do I specify ranges? to graphical objects of the same type?
Alternatively, link the object names to a counter and set up a loop to go through all the objects.
Is it possible?
Yes, thanks, that's exactly what I meant. double AccountEquity( )
Returns the amount of equity for the current account. The equity calculation depends on trade server settings.
Now, in the code of the indicator we need to substitute this value for price, is it possible?
Poke with mouse - it moves to the place with comments ((... What to do ?
Resolved !
My flash drive ran out of space, the story takes up a lot of space ))