I seePositionSelect where Symbol is passed as a parameter. The majik can only be obtained from the selected position. But how can we get, say, 3 different positions from the specified symbol?
PS. I don't mean different positions, they should be unidirectional, but formed by different algorithms.
There is no concept of a position in quadruplets. There are open orders, they are independent, and each order can have its own majik.
There are no open or closed orders in an exchange. This is a simplification of 4. There are orders-orders, or in fact requests to do something. A request to open a position is an order to open a position. Then a Deal is the action itself to open a position. It has an order ticket and a deal ticket in its attributes. And it has a result. It has a success or a failure. And then a position appears which also has its own ticket in the order ticket attributes.
There are no open or closed orders in the exchange. This is a simplification of 4ka. There are orders, or rather requests to do/execute something. A request to open a position is an order to open a position. Then a Deal is the action itself to open a position. It has an order ticket and a deal ticket in its attributes. And it has a result. It has a success or a failure. And then the position appears, which also has its own ticket in the order ticket attributes.
CA is not a stock exchange and Forex is not a market.
And your answer is off-topic. It's like someone saying "I've accounted for water in buckets of different volumes and I have an algorithm built on that" and you start explaining that it's in a common tank and it's OK.
there was an example in OrderSend help of how to delete MT4 pending orders... in mt5 they are called orders and positions --> mt4 market orders
there is no problem, i have already written about it ))))
the only thing is to write more code - even close all market orders and delete all Mt4 pending orders - in MT5 you will write 2 cycles, now they are orders and positions ;)
there was an example in the OrderSend help of how to delete MT4 pending orders... in MT5 they are called orders and positions --> MT4 market orders
there is no problem, i have already written about it ))))
the only thing is to write more code - even close all market orders and delete Mt4 pending orders - in MT5 you will write 2 cycles, now they are orders and positions ;)
And if you learn to scratch your left ear with right little finger you may try to do it in one cycle. :-))) I think it might work.
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.
I seePositionSelect where Symbol is passed as a parameter. The majik can only be obtained from the selected position. But how can we get, say, 3 different positions from the specified symbol?
PS. I don't mean different positions, they should be unidirectional, but formed by different algorithms.
PositionGetTicket in the loop as in MT4 from 0 toPositionsTotal
The order logic will be the same as in 4, but I'm writing this if I wanted to switch to MT5 )))
PositionGetTicket in a loop as in MT4 from 0 toPositionsTotal
The logic will be the same as in 4, but I would like to switch to MT5 )))
Well, ok. I'll have a look, of course.
There is no concept of a position in quadruplets. There are open orders, they are independent, and each order can have its own majik.
There are no open or closed orders in an exchange. This is a simplification of 4. There are orders-orders, or in fact requests to do something. A request to open a position is an order to open a position. Then a Deal is the action itself to open a position. It has an order ticket and a deal ticket in its attributes. And it has a result. It has a success or a failure. And then a position appears which also has its own ticket in the order ticket attributes.
There are no open or closed orders in the exchange. This is a simplification of 4ka. There are orders, or rather requests to do/execute something. A request to open a position is an order to open a position. Then a Deal is the action itself to open a position. It has an order ticket and a deal ticket in its attributes. And it has a result. It has a success or a failure. And then the position appears, which also has its own ticket in the order ticket attributes.
CA is not a stock exchange and Forex is not a market.
And your answer is off-topic. It's like someone saying "I've accounted for water in buckets of different volumes and I have an algorithm built on that" and you start explaining that it's in a common tank and it's OK.DC is not a stock exchange, forex is not a market.
Right... the chicken is not the bird.........
Well, okay. I'll have a look, of course.
there was an example in OrderSend help of how to delete MT4 pending orders... in mt5 they are called orders and positions --> mt4 market orders
there is no problem, i have already written about it ))))
the only thing is to write more code - even close all market orders and delete all Mt4 pending orders - in MT5 you will write 2 cycles, now they are orders and positions ;)
DC is not a stock exchange, forex is not a market.
No comment ))))
there was an example in the OrderSend help of how to delete MT4 pending orders... in MT5 they are called orders and positions --> MT4 market orders
there is no problem, i have already written about it ))))
the only thing is to write more code - even close all market orders and delete Mt4 pending orders - in MT5 you will write 2 cycles, now they are orders and positions ;)
And if you learn to scratch your left ear with right little finger you may try to do it in one cycle. :-))) I think it might work.
Yeah... the chicken is not a bird.........
The DC and forex stuff is just platitudes. If forex were a market, exchange rates would be as volatile as bitcoin.
And if you learn to scratch your left ear with your right little finger, you can try to do it in one cycle. :-))) I think it might work.
Don't you have anyone to talk to?