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
Autosize works within the limits of the column proportions laid down.
That is, the size does not float depending on whether the columns are full or empty. If a column is not needed, it is better to turn it off.
The bank field can be either a liquidity provider or a quote provider. The bank field is filled in by the gateway/dataphide.
Thanks for the tip. turned it off. so far the field is empty. and it does not carry any information. hopefully when something appears there will be described in the help, what it is and what they eat.
i>But the question has not been answered, you somehow distinguish between the quotation provider and liquidity provider. How can it be? Does it mean that Rosh will sell me 100 lots EUR vs USD at 1.6 and Renat will provide me liquidity at this price? I am ready to make a deal right now, where should I transfer the money ?
Z.U. But the question is still not answered, do you somehow distinguish between a quote provider and a liquidity provider? How can it be? Is it possible that Rosh will sell me 100 lots EUR vs USD at 1.6, and Renat will provide me liquidity at this price? Ready to make a deal right now, where to transfer the money ?
So I answered: it is the gateway/datafeed that fills the bank's field.
When depositing and withdrawing, the Trade event is generated and you can handle it in OnTrade.
This is understandable, according to the idea trade operations should be reflected in OnTrade. The question is how to process them correctly and quickly (without additional hassle for the Expert Advisor).
As far as I understand you need to act like this:
1. Get the number of deals in the history using HistoryDealsTotal();
2. If the number of deals has increased, then get the ticket of the last deal using HistoryDealGetTicket();
3. Using the available ticket, determine the type of deals, this is done using HistoryDealGetInteger(DealTicket, DEAL_TYPE).
4. Depending on the result, perform certain actions.
PS
Am I correct, or is there a "better" option?
Test withdrawal in the tester using TesterWithdrawal function.
I am not interested in TesterWithdrawal itself, because I personally process it not in OnTrade() but in a place of call, but how to catch balance operations during normal operation (all at once and in time) is a question that I have not decided yet with 100% confidence.
another build is out and the one-point cost error is still uncorrected
Interesting:
As far as I understand it, it goes something like this:
1. Get the number of deals in the history using HistoryDealsTotal();
2. Compare this number with a variable, if the number of deals has increased, obtain a ticket of the last deal using HistoryDealGetTicket();
3. Using the available ticket, determine the type of deals, this is done using HistoryDealGetInteger(DealTicket, DEAL_TYPE).
4. Depending on the result, perform certain actions.
PS
Did I get it right, or is there a more "successful" variant?
Another question in MQL4 for the function
used the library
#include <WinUser32.mqh>
I didn't find such a library in MQL5, or it is no longer needed?Another question in MQL4 for the function
library was used
I haven't found such a library in MQL5, or it is not needed now?