Add account and expert information to the chart_

Specification

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

Add more of this in (Function to print info)

  • Trade Mode: Demo
  • Name: Artem
  • Server: MetaQuotes-Demo
  • Currency: USD
  • Company: MetaQuotes Software Corp.
  • Limit Orders: 0
  • Lot Size Limits: (0.00)-(000.0)
  • StopOut Mode: Percent
  • Trade Allowed: Yes
  • Trade Expert: Yes
  • Margin Mode: Retail hedging
  • Hedge Allowed: Yes
  • Commission: 0.00 USD
  • Swap: 0.00 USD
  • Taxes: 0.00 USD
  • Margin Level: 39114.06 %
  • Margin Call: 50.00 %
  • Margin Stop Out: 30.00 %
  • Margin Initial: 0.00 USD
  • Margin Maintenance: 0.00 USD
  • Credit: 0.00 USD
  • Commission Blocked: 0.00 USD
  • Monthly Growth: 0.00%
  • Growth: 0.00%
  • Maximum Monthly Drawdown: 0.0%
  • Maximum Drawdown: 0.0%
  • Total Trades Last Month: 0 (0.00%)
  • Latest Trade: 0 (days, weeks, months, years) ago
  • Total Open Trades (Buy):  0
  • Total Open Trades (Sell):  0
  • Total Open Trades: 0
  • Total Open Lots: 0.00
  • Initial Deposit: 0.00 USD
  • Withdrawals: 0.00 USD
  • Deposits: 0.00 USD
  • Monthly Profit: 0.00 USD
  • Total Profit: 0.00 USD
  • Total Time: 0 (days, weeks, months, years)
  • Started: 0000.00.00 00:00:00

//+------------------------------------------------------------------+
//| Function to print info                                           |
//+------------------------------------------------------------------+
    text[1]  = "_________________________________________";
    text[2]  = "Symbol + Timeframe...........: [ " + Symbol_ + ", " + TF_Sec_To_Str(PeriodSeconds(PERIOD_CURRENT)) + " ]";
    text[3]  = "Current Situation..................: [ " + EA_Status + " ]";
    text[4]  = "Current Spread.....................: " + Spread_Str;
    text[5]  = "Bid Price.................................: " + Bid_Str;
    text[6]  = "Ask Price................................: " + Ask_Str;
    text[7]  = "Remaining Candle Time....: " + GetCandleRemainingTime();
    text[8]  = "_________________________________________";
    text[9]  = "Current Profit.........................: " + Float_Str;
    text[10] = "Used Margin..........................: " + Margin_Str;
    text[11] = "Free Margin............................: " + FreeMargin_Str;
    text[12] = "Account Equity.......................: " + Equity_Str;
    text[13] = "Account Balance...................: " + Balance_Str;
    text[14] = "Account Leverage.................: 1:" + AccLeverage_Str;
    text[15] = "Account Number...................: " + AccNumber_Str;
    text[16] = "_________________________________________";
    text[17] = "Market Watch.........................: " + TimeToString(TimeCurrent(), TIME_DATE | TIME_SECONDS);
    text[18] = "_________________________________________";
    text[19] = "Expert Advisor........................: EA_MT4";
_______________________
Add at the end ( USD) or different currency GBP..........

Account Balance:
Account Equity:
Free Margin:
Used Margin:
Current Profit:

_______________________

Try to do this



Chart template

2

If the information gets too big

3


   In MT5, the way values ​​are calculated is different.

   double position_profit = PositionGetDouble(POSITION_PROFIT);    
   double position_swap = PositionGetDouble(POSITION_SWAP);
   double position_comission = PositionCommission(position_ticket);    

   Position_Result = position_profit + position_swap + position_comission;
   Total_Result += Position_Result;  


References https://www.mql5.com/pt/articles/12905


Responded

1
Developer 1
Rating
(10)
Projects
13
15%
Arbitration
0
Overdue
1
8%
Working
2
Developer 2
Rating
(15)
Projects
34
24%
Arbitration
3
0% / 33%
Overdue
2
6%
Working
3
Developer 3
Rating
(386)
Projects
410
30%
Arbitration
66
20% / 70%
Overdue
52
13%
Working
4
Developer 4
Rating
(7)
Projects
12
42%
Arbitration
1
0% / 100%
Overdue
2
17%
Free
5
Developer 5
Rating
(238)
Projects
244
31%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
6
Developer 6
Rating
(7)
Projects
7
14%
Arbitration
0
Overdue
2
29%
Working
7
Developer 7
Rating
(536)
Projects
614
34%
Arbitration
34
38% / 47%
Overdue
9
1%
Busy
8
Developer 8
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
9
Developer 9
Rating
(77)
Projects
233
73%
Arbitration
6
100% / 0%
Overdue
1
0%
Free
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(101)
Projects
122
30%
Arbitration
5
40% / 20%
Overdue
5
4%
Working
12
Developer 12
Rating
(189)
Projects
235
34%
Arbitration
8
63% / 38%
Overdue
6
3%
Working
Published: 1 article, 8 codes
13
Developer 13
Rating
(451)
Projects
561
25%
Arbitration
22
41% / 36%
Overdue
85
15%
Working
Published: 6 codes
14
Developer 14
Rating
(12)
Projects
17
35%
Arbitration
0
Overdue
1
6%
Free
15
Developer 15
Rating
(15)
Projects
20
35%
Arbitration
2
0% / 100%
Overdue
0
Free
Published: 1 code
16
Developer 16
Rating
(51)
Projects
69
35%
Arbitration
1
100% / 0%
Overdue
0
Free
17
Developer 17
Rating
(67)
Projects
74
5%
Arbitration
33
15% / 36%
Overdue
6
8%
Working
Similar orders
MT5 EA 30 - 180 USD
Hello everyone, I am looking to develop an order execution strategy for an MT5 Expert Advisor (EA). Specifically, I need help with: Placing automated buy/sell orders based on specific conditions Managing order parameters such as lot size, stop loss, take profit, etc. Ensuring proper order execution and risk management If you are experienced in MQL5 programming or have existing solutions that can be customized, please
PLEASE I NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN THEY END UP DEVELOPING A FAULTY INDICATOR. AND I HAVE GIVEN THEM THE BENEFIT OF THE DOUBT THROUGH ARBITRAGE AGREEMENTS. ALSO IT IS VERY URGENT I NEED THE DEMO
We are looking for an experienced developer to help us convert our existing Pine Script strategy into a functional Expert Advisor (EA) for MetaTrader. The strategy is already built and tested on TradingView, but we require a reliable EA version that can be deployed for live and demo trading. The ideal candidate should have strong expertise in both Pine Script and MQL4/MQL5, with proven experience in converting
Robot 50+ USD
The most advanced mobile robot 98 % wine fully automated it must work both mt4 and mt5 with any broker it must be able to trade small amount to big amount
the screenshot is what it looks like i want it to use all the same indicators that the trading view dials have whatever payment is necessary is necessary I'm willing to pay the quicker the better and the more exact the better
We have a working price prediction engine for (BTC, ETH, SOL) at fixed 5-minute intervals and want to build a robust backtesting system that evaluates these predictions against MECX futures prices. The goal is to measure baseline directional accuracy and then explore conditional strategies that improve accuracy beyond a 60% milestone. Data Overview Predictions Table (public.price_predictions_5m) One row per asset
Project Overview: We are seeking a highly skilled and experienced developer to build a next-generation Forex Expert Advisor (EA) for MetaTrader 5. The core innovation of this project is an EA that relies 100% on a custom deep learning AI model (e.g., LSTM, Transformer) for generating all trading signals. The EA will trade the XAU/USD (Gold) instrument. The developer must be proficient not only in advanced MQL5
Looking for a reliable, low-lag reversal indicator for Forex that does not repaint and does not place signals with an offset. Key features: Signals only after confirmation (uses closed bar logic), so alerts are final and do not repaint. No offset placement — arrows/markers appear on the same candle/bar that triggered (or on the close of that bar) to avoid confusion. Tunable sensitivity: adjustable lookback and
Requirements for SMC Trading EA Platform : MetaTrader 5 (MT5) Strategy : Smart Money Concepts (SMC) Analysis Timeframe : H1 (higher timeframe analysis) Execution Timeframe : M1 (entry and execution) Core Features : Detect Order Blocks Identify Liquidity Zones Detect Fair Value Gaps (FVGs) Break of Structure (BOS) & Change of Character (CHoCH) detection Mark Equal Highs and Lows Trading Functions : Dynamic lot sizing
Ethereum Trading EA 30 - 35 USD
I am looking for an Expert Advisor (EA) that performs well on Ethereum. Ideally, it should be an HFT-style EA; a swing trading EA is also acceptable. I require the full MQL5 source code — the EA must be written entirely in MQL5 (no external languages such as Python). Performance target: Minimum 70% win rate with a 1:1 risk:reward. Input variables required: Stop Levels: Stop Loss (SL) and Take Profit (TP) Trailing

Project information

Budget
35+ USD
Deadline
from 1 to 3 day(s)

Customer

(3)
Placed orders5
Arbitrage count0