Add account and expert information to the chart

Trabalho concluído

Tempo de execução 9 minutos
Comentário do cliente
Jobb done. All OK
Comentário do desenvolvedor
Thank you for the project. It was a pleasure working with you.

Termos de Referência

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


Respondido

1
Desenvolvedor 1
Classificação
(210)
Projetos
282
46%
Arbitragem
27
59% / 37%
Expirado
36
13%
Livre
2
Desenvolvedor 2
Classificação
(627)
Projetos
989
47%
Arbitragem
33
36% / 36%
Expirado
98
10%
Trabalhando
Publicou: 6 códigos
3
Desenvolvedor 3
Classificação
(444)
Projetos
701
34%
Arbitragem
34
71% / 9%
Expirado
22
3%
Livre
4
Desenvolvedor 4
Classificação
(255)
Projetos
262
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
5
Desenvolvedor 5
Classificação
(1289)
Projetos
1716
49%
Arbitragem
52
71% / 12%
Expirado
38
2%
Trabalhando
6
Desenvolvedor 6
Classificação
(39)
Projetos
57
18%
Arbitragem
6
33% / 17%
Expirado
1
2%
Livre
Publicou: 2 códigos
7
Desenvolvedor 7
Classificação
(307)
Projetos
312
70%
Arbitragem
2
100% / 0%
Expirado
0
Livre
Publicou: 1 código
8
Desenvolvedor 8
Classificação
(10)
Projetos
19
42%
Arbitragem
6
0% / 50%
Expirado
3
16%
Trabalhando
9
Desenvolvedor 9
Classificação
(34)
Projetos
52
73%
Arbitragem
4
50% / 0%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(452)
Projetos
565
26%
Arbitragem
24
42% / 38%
Expirado
85
15%
Trabalhando
Publicou: 6 códigos
11
Desenvolvedor 11
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(311)
Projetos
557
35%
Arbitragem
79
32% / 43%
Expirado
202
36%
Trabalhando
13
Desenvolvedor 13
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
14
Desenvolvedor 14
Classificação
(98)
Projetos
137
52%
Arbitragem
5
40% / 60%
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(87)
Projetos
121
68%
Arbitragem
5
80% / 0%
Expirado
12
10%
Trabalhando
16
Desenvolvedor 16
Classificação
(266)
Projetos
598
35%
Arbitragem
64
20% / 58%
Expirado
147
25%
Livre
Publicou: 1 artigo, 22 códigos
17
Desenvolvedor 17
Classificação
(2)
Projetos
0
0%
Arbitragem
5
0% / 60%
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(5)
Projetos
5
60%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
(171)
Projetos
195
42%
Arbitragem
13
8% / 54%
Expirado
9
5%
Livre
Publicou: 3 códigos
20
Desenvolvedor 20
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(15)
Projetos
20
35%
Arbitragem
3
0% / 100%
Expirado
0
Livre
Publicou: 1 código
22
Desenvolvedor 22
Classificação
(77)
Projetos
243
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
30+ USD
Prazo
de 1 para 3 dias