Forum

Telegram channel monitoring

Hello everyone! Can anyone explain how to read messages from your own telegram channel? There is a bot connected as an admin to this channel, but I can't extract the text of the message. Please, help me. I tried this, it doesn't work: for ( int i= 0 ; i<m_chats.Total(); i++) {

Problem with СComboBox

Hi to all! I have a problem: several comboBoxes are created (the number is not fixed), the class object is created as an array CComboBox combo[]; Then I create the ComboBoxes themselves: void SubWindowCreate( int count, ulong event_id, string event_name) { long id= ChartID (); string

Average holding time of positions

Hi to all! Perhaps someone has faced such a problem: need to determine the average time of holding positions. In MQL4 it's not difficult, but in MQL5 I don't understand how to do it... I'm just starting to learn MQL5 , so don't be strict with me :)

The button returns to its original position - how to fix the problem?

Hi to all! I have a problem: I created a button and added it and connected it to the dialog object if (!dialog.Create( ChartID (),Name, 0 , 10 , 20 , 250 , 300 )) { Print ( "The panel not create! Error = " , GetLastError ()); } if (button.Create( ChartID (), "Pause" , 0 , 200 , 11

A problem with mathematical calculation

Hello! Faced with a problem... I wrote the calculation of the lot relative to the stop loss : double lot= NormalizeDouble ((risk_money/(dist/ _Point ))/tick_value, 2 ); where risk_money=$200; dist=0.00053; tick_value=1.0; Everything worked, but when the stop loss was triggered, it turned out to be

Search for sub windows

Hello coders! Please tell me how to find the number of sub-windows of a graph that is not the current one? On the current graph - no problems (WindowsTotal()), but on other graphs

OnTick() does not work with a custom indicator

Hi all! Such a problem: I connected a custom indicator to the adviser via #resource, everything works fine except for OnTick(), this function does not work stupidly. As soon as I turn off the indicator, OnTick() starts working... Maybe someone has come across this? ...And, unfortunately, there is no

Has the time for freezing funds changed?

Hi! Who can tell me why the 14 day freeze is now in effect? Perhaps it has something to do with the change in price of the job? Or have they just increased the waiting period

Who still believes that the forex market is submitted to technical analysis?

Who still believes that the forex market is submitted to technical analysis

Market: no trading operations

Can anyone explain why the market returns this error? All the checks in the EA are in place... I understand the gist of course - there are no trades, but what is the reason