int value_2 = (int)ChartGetInteger(ChartID(), CHART_SCALE, 0);
How can I have them with different colors with just copying and pasting. I am writing an article and I can't have them in highlighted syntax. I see that other authors articles is showing the code in different colors like this:
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello everyone, My code in meta editor looks like this:
and when I paste it in here looks like this:
//+------------------------------------------------------------------+
//| Dragging Handle EA.mq5 |
//| Copyright 2022-2025, TradeX |
//| https://www.mql5.com/en/users/alireza.saeedian/seller |
//+------------------------------------------------------------------+
#property copyright "Copyright 2022-2025, TradeX"
#property link "https://www.mql5.com/en/users/alireza.saeedian/seller"
#property version "1.01"
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
#include "CDragHandle.mqh"
CDragHandle drag;
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int value_2 = (int)ChartGetInteger(ChartID(), CHART_SCALE, 0);
How can I have them with different colors with just copying and pasting. I am writing an article and I can't have them in highlighted syntax. I see that other authors articles is showing the code in different colors like this: