Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Komut dosyaları

Saniye sayısını yıllara, aylara, günlere, saatlere, dakikalara, saniyelere dönüştürme işlevi - MetaTrader 5 için komut dosyası

Görüntülemeler:
13
Derecelendirme:
(2)
Yayınlandı:
2025.05.13 11:28
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
string GetTimeSpan(datetime time_sec)
  {
   if(time_sec <= 0)
      return "0 seconds";
   string time_text = {};
   datetime remaining_sec = time_sec;
   int years = (int)remaining_sec / 31536000;
   remaining_sec %= 31536000;
   int months = (int)remaining_sec / 2592000;
   remaining_sec %= 2592000;
   int days = (int)remaining_sec / 86400;
   remaining_sec %= 86400;
   int hours = (int)remaining_sec / 3600;
   remaining_sec %= 3600;
   int minutes = (int)remaining_sec / 60;
   remaining_sec %= 60;
   int seconds = (int)remaining_sec;
   if(years > 0)
      time_text += (string)years + " years ";
   if(months > 0)
      time_text += (string)months + " months ";
   if(days > 0)
      time_text += (string)days + " days ";
   if(hours > 0)
      time_text += (string)hours + " hours ";
   if(minutes > 0)
      time_text += (string)minutes + " minutes ";
   if(seconds > 0)
      time_text += (string)seconds + " seconds ";
   return time_text;
  }

MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/58198

ADX Indicator (MQL5) ADX Indicator (MQL5)

The ADX (Average Directional Index) Smoothed indicator enhances the standard ADX by applying dual exponential smoothing filters to reduce noise and provide clearer trend signals. It plots three lines: smoothed +DI (blue), -DI (red), and the main ADX line (green). This refined version helps traders identify trend strength and potential direction changes with reduced false signals. The indicator excels at confirming established trends and warning of weakening momentum before actual price reversals occur, making it valuable for both trend following strategies and determining optimal entry/exit points.

RSI Expert Advisor - Automated Trading Tool Based on RSI RSI Expert Advisor - Automated Trading Tool Based on RSI

The RSI Expert Advisor (EA) is an automated trading tool developed for the MetaTrader 5 (MT5) platform. This EA leverages the Relative Strength Index (RSI) to identify buy and sell signals, incorporating risk management, partial position closing, and trading hour restrictions to optimize trading performance.

Indiana Jones Mean Reversion EA Indiana Jones Mean Reversion EA

Bu basit bir ortalama geri dönüş EA'sıdır

Swaps Monitor for a Single Symbol Swaps Monitor for a Single Symbol

A simple utility for monitoring long and short swaps of a single symbol. If your broker-dealer's swaps are specified in points instead of account currency, this utility automatically converts points into account currency. Swaps are tripled on Wednesday. Horizontal and vertical alignment can be adjusted in the inputs.