Codes

Sample program for async/sync all close. for MetaTrader 5

This is a simple program to compare asynchronous and synchronous all close. It is a sample program, so feel free to modify it for your own testing purposes, such as adding conditions

period_converter_All_kai for MetaTrader 4

Convert historical data from M1 to M1, M5, M15, M30, H1, H4, D1, W1 and MN, specifying the start date

Forum

Extending Tooltip Visibility Time in MT4: Is It Possible?

The tooltips created with OBJPROP_TOOLTIP in MQL4 disappear after 20 seconds. I'm wondering if there is a method, through MQL4 programming , MT4 settings, editing specific configuration files, registry tweaks or even using the Windows API, to extend the length of time these tooltips remain visible

Minimize prev_calculated zero resets in MQL4

I've noticed that prev_calculated often resets to zero, resulting in unnecessary recalculations of the entire dataset. I'm looking for a way to minimize the frequency of these resets. Could this issue be related to the ' Max bars in chart' settings? Thank you for your help and advice

What is the fastest way to close all positions?

MT5's 'Bulk Operations => Close All Positions' is much quicker compared to closing positions individually using a 'PositionsTotal()' loop. Is there another way to close all positions as fast as possible? Regards