Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter ü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ı

Code To Check And Delete Chart Objects For MT5 - MetaTrader 5 için komut dosyası

Görüntülemeler:
434
Derecelendirme:
(5)
Yayınlandı:
2024.09.21 05:11
Güncellendi:
2024.09.21 08:33
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

To Check And Delete Chart Objects For MT5

Check And Delete Chart Object Script

  • Scans through the current chart for any available chart objects,
  • Counts and delete them accordingly
  • -And log the the names of the objects on the chart respectively.

A CHART WITH OBJECTS


A CLEAN CHART AFTER OBJECTS WERE DELETED


THE LOG OF THE SCRIPT (Code To Check And Delete Chart Objects For MT5)

ChartObjectsCopyPaste ChartObjectsCopyPaste

Copy and paste selected graphical objects between charts via Windows clipboard as text. Use Ctrl+Q on a source chart, then Ctrl+J on a target chart.

Close on Trendline Touch Close on Trendline Touch

Closes trades when bar touches trendline

PTB PTB

Indicator Description: PTB.mq5 Overview: The PTB.mq5 indicator for MetaTrader 5 calculates short-term and long-term high and low prices, along with Fibonacci retracement levels based on these extremes. Features: Short-Term High and Low: Identifies immediate support and resistance over a user-defined short length. Long-Term High and Low: Analyzes broader market trends over a longer period. Fibonacci Levels: Plots key retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) for potential reversal points. Input Parameters: shortLength: Number of candles for short-term calculation. longLength: Number of candles for long-term calculation. Visual Representation: Distinct colors and widths for each line to differentiate between high/low and Fibonacci levels. Usage: Helps traders identify entry/exit points and monitor market trends based on historical price levels.

Logging V2 for both MQL4 and MQL5 Logging V2 for both MQL4 and MQL5

The CDebugLogger class is a flexible and comprehensive logging utility designed for use in MQL4/5 environments. It allows developers to log messages at various levels of importance (INFO, WARNING, ERROR, DEBUG) with options to include timestamps, function signatures, file names, and line numbers in the log entries. The class supports logging to both the console and files, with the ability to save logs in a common folder and in CSV format. Additionally, it offers functionality to silence logs based on specific keywords, ensuring that sensitive information is not logged. This class is ideal for developers looking to implement robust logging mechanisms in their MQL4/5 applications, with customizable features that cater to a wide range of debugging and monitoring needs.