Add account and expert information to the chart

Tâche terminée

Temps d'exécution 9 minutes
Commentaires du client
Jobb done. All OK
Commentaires de l'employé
Thank you for the project. It was a pleasure working with you.

Spécifications

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


Répondu

1
Développeur 1
Évaluation
(210)
Projets
282
46%
Arbitrage
27
59% / 37%
En retard
36
13%
Gratuit
2
Développeur 2
Évaluation
(627)
Projets
989
47%
Arbitrage
33
36% / 36%
En retard
98
10%
Travail
Publié : 6 codes
3
Développeur 3
Évaluation
(444)
Projets
701
34%
Arbitrage
34
71% / 9%
En retard
22
3%
Gratuit
4
Développeur 4
Évaluation
(255)
Projets
262
30%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
5
Développeur 5
Évaluation
(1289)
Projets
1716
49%
Arbitrage
52
71% / 12%
En retard
38
2%
Travail
6
Développeur 6
Évaluation
(39)
Projets
57
18%
Arbitrage
6
33% / 17%
En retard
1
2%
Gratuit
Publié : 2 codes
7
Développeur 7
Évaluation
(307)
Projets
312
70%
Arbitrage
2
100% / 0%
En retard
0
Gratuit
Publié : 1 code
8
Développeur 8
Évaluation
(10)
Projets
19
42%
Arbitrage
6
0% / 50%
En retard
3
16%
Travail
9
Développeur 9
Évaluation
(34)
Projets
52
73%
Arbitrage
4
50% / 0%
En retard
0
Gratuit
10
Développeur 10
Évaluation
(452)
Projets
565
26%
Arbitrage
24
42% / 38%
En retard
85
15%
Travail
Publié : 6 codes
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(311)
Projets
557
35%
Arbitrage
79
32% / 43%
En retard
202
36%
Travail
13
Développeur 13
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
14
Développeur 14
Évaluation
(98)
Projets
137
52%
Arbitrage
5
40% / 60%
En retard
0
Gratuit
15
Développeur 15
Évaluation
(87)
Projets
121
68%
Arbitrage
5
80% / 0%
En retard
12
10%
Travail
16
Développeur 16
Évaluation
(266)
Projets
598
35%
Arbitrage
64
20% / 58%
En retard
147
25%
Gratuit
Publié : 1 article, 22 codes
17
Développeur 17
Évaluation
(2)
Projets
0
0%
Arbitrage
5
0% / 60%
En retard
0
Gratuit
18
Développeur 18
Évaluation
(5)
Projets
5
60%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(171)
Projets
195
42%
Arbitrage
13
8% / 54%
En retard
9
5%
Gratuit
Publié : 3 codes
20
Développeur 20
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
21
Développeur 21
Évaluation
(15)
Projets
20
35%
Arbitrage
3
0% / 100%
En retard
0
Gratuit
Publié : 1 code
22
Développeur 22
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
Commandes similaires
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
Project Title: Custom XAUUSD Support & Resistance Indicator Platform Required: MT5 preferred. If possible, also provide TradingView Pine Script version later. Main Goal: I want a custom indicator made specifically for XAUUSD (Gold) only. The indicator should automatically detect and draw strong support and resistance zones where price has a high probability of reacting, rejecting, or reversing. It must update
I need a boom-and-crash MT5 robot that is very accurate for opening trades just before the spike happens. It should use M1 timeframe It should have options for changing lot size, number of trades to open, stop loss and take profit in points If the spike happens and it makes some profit, it should automatically close all trades. If the spike happens and the spike is not in profits, the trades can remain open waiting
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone

Informations sur le projet

Budget
30+ USD
Délais
de 1 à 3 jour(s)