tuner: What exactly are you interested in - just a transfer to breakeven?
You need to close part of the position. And during the next pass this position will not be touched. And I do not want to be bound to the lot size. We should mark this order and filter it in the loop. Maybe, we should memorize ticks in some way. I don't know yet. Problem
Gobsek: Specifically, a part of the position should be closed. And, during a next pass, this position will not be moved at all. And I don't want to be bound to the lot size. We should mark this order and filter it in the loop. Maybe, we should memorize ticks in some way. I don't know yet. Problem
Then link to the comment. For those that were closed partially (reopened) in the comment will be written the ticket of the position from which this one occurred, for example:
Was position Buy #12345 with lot 0.1, became position Buy #12346 with lot 0.05. In the last one in the comment will be written "from #12345".
If you find in the history, in the list of closed orders with ticket #12345, in its comment will be written "to #12346".
Thus, when checking comments of open positions and corresponding closed orders, you can find the first, parent order (if there were multiple partial closures)
Good day! Can you please tell me how to average in Metotrader 4 as a newbie? In Metotrader 5, you place a bid and prices are automatically averaged. How do I do it in 4?
Then bind to the comment. For those that were closed partially (reopened) in the comment will be written the ticket of the position from which this one occurred, for example:
Was position Buy #12345 with lot 0.1, became position Buy #12346 with lot 0.05. In the last one in the comment will be written "from #12345".
If you find in the history, in the list of closed orders with ticket #12345, in its comment will be written "to #12346".
Thus, when checking comments of open positions and corresponding closed orders, you can find the first, parent order (if there have been multiple partial closures)
Interesting !!! I will try in this direction. Thanks !
I also have a question for the experts. I have not dealt with indicators before.
Is it possible to draw the balance by mode chart in a separate window, but without binding to the bars?
It means that a curve line like the one drawn in the strategy tester should be drawn in one window.
Hello Dear Professionals. The question is that in the old build 509 there was the following function
Since in the new builds strings are now a sequence of Unicode characters and now I have to use InternetOpenW and InternetOpenUrlW .
Using WebRequest doesn't get the same result.Hello Dear Professionals. The question is that in the old build 509 there was the following function
Since in the new builds strings are now a sequence of Unicode characters and now I have to use InternetOpenW and InternetOpenUrlW.
Using WebRequest does not get the same result.so what's the problem? I think the solution is already highlighted in bold...
What exactly are you interested in - just a transfer to breakeven?
Specifically, a part of the position should be closed. And, during a next pass, this position will not be moved at all. And I don't want to be bound to the lot size. We should mark this order and filter it in the loop. Maybe, we should memorize ticks in some way. I don't know yet. Problem
Then link to the comment. For those that were closed partially (reopened) in the comment will be written the ticket of the position from which this one occurred, for example:
Was position Buy #12345 with lot 0.1, became position Buy #12346 with lot 0.05. In the last one in the comment will be written "from #12345".
If you find in the history, in the list of closed orders with ticket #12345, in its comment will be written "to #12346".
Thus, when checking comments of open positions and corresponding closed orders, you can find the first, parent order (if there were multiple partial closures)
Then bind to the comment. For those that were closed partially (reopened) in the comment will be written the ticket of the position from which this one occurred, for example:
Was position Buy #12345 with lot 0.1, became position Buy #12346 with lot 0.05. In the last one in the comment will be written "from #12345".
If you find in the history, in the list of closed orders with ticket #12345, in its comment will be written "to #12346".
Thus, when checking comments of open positions and corresponding closed orders, you can find the first, parent order (if there have been multiple partial closures)
Good afternoon.
How do I know when a candle is closed and a new candle has started to form?
Ozero.Good afternoon.
How do I know when a candle is closed and a new candle has started to form?
Ozero.I want to make an EA to open a certain number of buy and sell orders at a certain distance.
int pendord()