Add account and expert information to the chart_

작업 종료됨

실행 시간 20 일
고객의 피드백
Delivered with errors

명시

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

1

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

응답함

1
개발자 1
등급
(195)
프로젝트
242
34%
중재
11
45% / 45%
기한 초과
8
3%
무료
게재됨: 1 기고글, 8 코드
2
개발자 2
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
3
개발자 3
등급
(2)
프로젝트
0
0%
중재
5
0% / 60%
기한 초과
0
무료
4
개발자 4
등급
(51)
프로젝트
71
37%
중재
4
25% / 75%
기한 초과
1
1%
무료
게재됨: 1 코드
비슷한 주문
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Project Overview I need an MT5 Expert Advisor that assists with manual trading . The EA should monitor horizontal lines that I place on the chart and execute trades when price reaches those lines. Requirements The EA should monitor all horizontal lines (OBJ_HLINE) on the current chart. When the market price touches a horizontal line, the EA should execute an action based on the line color . The lot size should be
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
I have developed a custom semi-automated MT5 trading workflow for personal use. I am available to discuss its technical implementation, automation features, and overall workflow with developers or traders interested in similar solutions. The project includes MT5 automation, Telegram communication, trade execution tools, and configurable risk management components. If you are working on a similar project or looking
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
> "I am looking for a reliable and profitable Expert Advisor (EA) or trading robot for MetaTrader. The EA should have a proven track record, good risk management, and stable performance in live market conditions. Please share the name of the EA, a brief explanation of how its strategy works, and any relevant performance statistics or backtest reports to help me evaluate it."
We are seeking an experienced MQL4/MQL5 programmer to develop a high-performance, fully automated Expert Advisor (EA). The bot must execute a sophisticated multi-currency hedging strategy across correlated forex pairs. Key Responsibilities Develop Multi-Currency Logic : Build an EA capable of scanning and trading multiple currency pairs simultaneously from a single chart or setup. Implement Hedging Strategy : Code
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this

프로젝트 정보

예산
35+ USD
기한
에서 1  3 일