Add account and expert information to the chart

Техническое задание

To eliminate this difficulty, use the expert's example: EA 24658754

MAKE THE MODIFICATION IN THE EXPERTS' FILES: EA_MT4, EA_MT5


Add this:

input bool   ShowInfo              = false;  // Show Info to Chart 
input ENUM_BASE_CORNER Corner      = 1;      // Info Corner
input color  Color_Info            = clrAqua;// Info Color 

Add this:

//+------------------------------------------------------------------+
//| Print info to chart                                              |
//+------------------------------------------------------------------+
void PrintInfo()
{
  if(!ShowInfo){ return;}

    
  if(ShowInfo){    
    text[1]= EAComment;
    text[2]= "-------------------------------------------";
    text[3]= "Time Current: " + TimeToStr(TimeCurrent());
    text[4]= "-------------------------------------------";    
    text[5]= "Account Number: " + IntegerToString(AccountNumber());
    text[6]= "Account Leverage: " + IntegerToString(AccountLeverage());
    text[7]= "Account Balance: " + DoubleToStr(AccountBalance(), 2);
    text[8]= "Account Equity: " + DoubleToStr(AccountEquity(), 2);
    text[9]= "Free Margin: " + DoubleToStr(AccountFreeMargin(), 2);
    text[10]= "Used Margin: " + DoubleToStr(AccountMargin(), 2);
    text[11]= "Current Profit: " + DoubleToStr(OrderProfit(), 2);     
    text[12]= "-------------------------------------------";
    text[13]= "Remaining Candle Time: " + (());
    text[14]= "Bid Price: " + (());
    text[15]= "Ask Price: " + (());
    text[16]= "Current Spread: " + (());
    text[17]= "Expert Current Status: " OFF / ON + (());
    text[18]= "-------------------------------------------";
    
    int i=1, k=20;
    while (i<=25)
    {
       string ChartInfo = "Info"+IntegerToString(i);
       ObjectCreate(ChartInfo, OBJ_LABEL, 0, 0, 0);
       ObjectSetText(ChartInfo, text[i], 9, "Arial", Color_Info);
       ObjectSet(ChartInfo, OBJPROP_CORNER, Corner);   
       ObjectSet(ChartInfo, OBJPROP_XDISTANCE, 7);  
       ObjectSet(ChartInfo, OBJPROP_YDISTANCE, k);
       i++;
       k=k+13;
    }
  }
} 


Insert an image:

1

2


Откликнулись

1
Разработчик 1
Оценка
(206)
Проекты
278
46%
Арбитраж
22
73% / 23%
Просрочено
37
13%
Свободен
2
Разработчик 2
Оценка
(618)
Проекты
968
46%
Арбитраж
32
38% / 34%
Просрочено
96
10%
Свободен
Опубликовал: 6 примеров
3
Разработчик 3
Оценка
(417)
Проекты
658
33%
Арбитраж
31
74% / 6%
Просрочено
20
3%
Свободен
4
Разработчик 4
Оценка
(238)
Проекты
244
31%
Арбитраж
0
Просрочено
3
1%
Свободен
Опубликовал: 2 примера
5
Разработчик 5
Оценка
(1253)
Проекты
1666
49%
Арбитраж
52
71% / 12%
Просрочено
37
2%
Свободен
6
Разработчик 6
Оценка
(30)
Проекты
39
15%
Арбитраж
2
0% / 0%
Просрочено
1
3%
Свободен
Опубликовал: 2 примера
7
Разработчик 7
Оценка
(287)
Проекты
293
70%
Арбитраж
2
100% / 0%
Просрочено
0
Свободен
Опубликовал: 1 пример
8
Разработчик 8
Оценка
(8)
Проекты
17
41%
Арбитраж
1
0% / 100%
Просрочено
3
18%
Работает
9
Разработчик 9
Оценка
(27)
Проекты
40
73%
Арбитраж
3
67% / 0%
Просрочено
0
Свободен
10
Разработчик 10
Оценка
(450)
Проекты
560
26%
Арбитраж
22
41% / 36%
Просрочено
85
15%
Работает
Опубликовал: 6 примеров
11
Разработчик 11
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
12
Разработчик 12
Оценка
(293)
Проекты
524
35%
Арбитраж
63
33% / 35%
Просрочено
188
36%
Работает
13
Разработчик 13
Оценка
(574)
Проекты
945
47%
Арбитраж
303
59% / 25%
Просрочено
125
13%
Свободен
14
Разработчик 14
Оценка
(98)
Проекты
137
52%
Арбитраж
4
50% / 50%
Просрочено
0
Свободен
15
Разработчик 15
Оценка
(84)
Проекты
115
70%
Арбитраж
5
80% / 0%
Просрочено
11
10%
Работает
16
Разработчик 16
Оценка
(259)
Проекты
586
35%
Арбитраж
64
20% / 58%
Просрочено
147
25%
Свободен
Опубликовал: 1 статью, 22 примера
17
Разработчик 17
Оценка
(1)
Проекты
0
0%
Арбитраж
2
0% / 0%
Просрочено
0
Работает
Похожие заказы
Job description. I need a well experienced developer to do the following on my XAUUSD breakout strategy EA:- 1. Compile it.- Fix errors and warnings on the EA. 2. Make little modification And straighten the EA codes to enable the EA to be able to do backtesting and trade well in live or demo account
Job Description I am looking for a highly skilled MQL5 DEVELOPER and A TRADER to work on an MT5 Expert Advisor (EA) project. The main tasks will include: 1. Code Compilation & Optimization – Reviewing, compiling, and streamlining the existing EA code to ensure efficiency and stability. 2. Backtesting Setup & Execution – Running professional backtests to ensure the EA produces consistent, gradual profit growth curves
I have 2 EXPERT ADVISERS whom I have helped to build a business through online coding. They are also profitable in testing but I did not get the result which I wanted. I want to improve them. I also want to add some more strategies in them so that I get the result which I want. Anyone who can help me, please send me a message, I provide you the details
Project Description I need an MT5 Expert Advisor (EA) built in MQL5 . The strategy is a breakout system with adjustable filters and risk management. The EA must be fully parameterized (all settings adjustable from inputs). Please deliver both .ex5 (compiled) and .mq5 (source code)
Super scalper 1000+ USD
I have a special EA for trading at gold on mt4 accuracy is amazing you can check its history, if someone interested write me here or contact on whats app 00923455053213
I used AI to develop my EA, and I need a professional developer to review my Expert Advisor code for MT5 (Python experience preferred). I will provide details once contact is initiated. Thanks. Benga
Scalping bot 30 - 75 USD
I am looking for a bot that can trade XAUUSD mainly. For a bot that can manage risk, Can manage profit. A bot that can change the lots from 0.01 to 0.02 and increase it depending on the account balance. The bot needs to be reliable and needs to work under any timeframe or in M5 o M15, Moreover that works and it can use any startegy, no matter the strategy, it just needs to work. I will provide a Demo account and I
Expert Advisor (trading automatique) pour MT4 stratégie OPR marché : FOREX et INDICES indicateurs : SUPERTREND ET 2 EMA ,une ema 20 périodes et la seconde 50 périodes STRATÉGIE : exemple pour un achat le SUPERTREND est haussier sur l'unité de temp H1 la EMA rapide est au-dessus de la EMA lente sur l'unité de temp M5 le graphique de prise de position est sur du M15 on prend position à la cassure du plus haut de la
Updated EA Description (with Max. Open Trades & MTF MA Filter) Core Features (already existing): Candlestick formation entry logic. Daily minimum drawdown & maximum profit target. ATR-based stop loss and take profit. Trailing stop. Breakeven. New Additions: Relative Strength Index (RSI): Flexible parameters (user can edit period & levels). Used for both entry confirmation and exit options. Stochastic Oscillator
I need a professional MetaTrader 5 Expert Advisor built specifically for Gold (XAUUSD) scalping. The EA must be safe, reliable, optimized for small and large accounts, and include risk management, AI logic, and full trade control. It should allow both automatic trading and manual trades, with seamless management of both. Core Requirements: 1. Automatic Trade Execution Open trades with multiple lot sizes. Instant flip

Информация о проекте

Бюджет
30+ USD
Сроки выполнения
от 1 до 3 дн.

Заказчик

(2)
Размещено заказов4
Количество арбитражей0