Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Comments - MetaTrader 5 Library - MQL5 #48689 | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 4 reads | 0 comments |

Comment - library for MetaTrader 5

 #Includes <communication.mqh> integers _x = 0 , _y = 10 , _z = 100 ; //+----------------------------------------------------------------------------------+
When initialized with integer ( blank )
  {
event set millisecond timer ( 30 );
Return ( initialization successful );
  } //+------------------------------------------------------------------+
blank timer ()
  {
  Communication ( string format ( "x=%d\ny=%d\nz=%d" , _x, _y, _z), yellow , 50 );
  _x++;
  _y += 10 ;
  _z += 100 ;
  } //+------------------------------------------------------------------+
Blank solution initialization ( constant integer reason)
  {
EventExpirationTimer ();
  DeinitComm();
  } //+------------------------------------------------------------------+ 


Comment - library for MetaTrader 5

Several examples are provided in the Comm.mqh file

Updated v1.08 on January 24, 2025

Update 03.02.2025 v1.09

It is necessary to output information from the service. I decided to output it to the first chart in the terminal. I've added the ability to specify the chart ID in comments.

update 31.05.2025 v1.10 Made some small changes so that the new compiler will not swear.

MT5 version of indicators https://www.mql5.com/ru/code/25465

This script provides a set of functions for creating all standard graphics objects for use in your own development. The functions provided in the script can be used "as is" or modified according to your requirements.

Simple signal indicator based on RSI and moving averages. Buy/Sell arrows are drawn when the RSI is above/below 50 and the price is above/below the MA.

The indicator uses Gaussian smoothing to construct dynamic price channels to identify support and resistance lines. It calculates smoothed highs and lows for a given period, finds their extreme values ​​and displays three lines: resistance above (maximum of smoothed highs), support below (minimum of smoothed lows), and the midline between them, forming an adaptive trading channel.


Attachment download

📎 example.mq5 (0.94 KB)

📎 comm.mqh (19.82 KB)

Source: MQL5 #48689

Verification code Refresh