Add account and expert information to the chart

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
(206)
Projets
278
46%
Arbitrage
22
73% / 23%
En retard
37
13%
Gratuit
2
Développeur 2
Évaluation
(618)
Projets
968
46%
Arbitrage
32
38% / 34%
En retard
96
10%
Gratuit
Publié : 6 codes
3
Développeur 3
Évaluation
(417)
Projets
658
33%
Arbitrage
31
74% / 6%
En retard
20
3%
Gratuit
4
Développeur 4
Évaluation
(238)
Projets
244
31%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
5
Développeur 5
Évaluation
(1253)
Projets
1666
49%
Arbitrage
52
71% / 12%
En retard
37
2%
Gratuit
6
Développeur 6
Évaluation
(30)
Projets
39
15%
Arbitrage
2
0% / 0%
En retard
1
3%
Gratuit
Publié : 2 codes
7
Développeur 7
Évaluation
(287)
Projets
293
70%
Arbitrage
2
100% / 0%
En retard
0
Gratuit
Publié : 1 code
8
Développeur 8
Évaluation
(8)
Projets
17
41%
Arbitrage
1
0% / 100%
En retard
3
18%
Travail
9
Développeur 9
Évaluation
(27)
Projets
40
73%
Arbitrage
3
67% / 0%
En retard
0
Gratuit
10
Développeur 10
Évaluation
(450)
Projets
560
26%
Arbitrage
22
41% / 36%
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
(293)
Projets
524
35%
Arbitrage
63
33% / 35%
En retard
188
36%
Travail
13
Développeur 13
Évaluation
(574)
Projets
945
47%
Arbitrage
303
59% / 25%
En retard
125
13%
Gratuit
14
Développeur 14
Évaluation
(98)
Projets
137
52%
Arbitrage
4
50% / 50%
En retard
0
Gratuit
15
Développeur 15
Évaluation
(84)
Projets
115
70%
Arbitrage
5
80% / 0%
En retard
11
10%
Travail
16
Développeur 16
Évaluation
(259)
Projets
586
35%
Arbitrage
64
20% / 58%
En retard
147
25%
Gratuit
Publié : 1 article, 22 codes
17
Développeur 17
Évaluation
(1)
Projets
0
0%
Arbitrage
2
0% / 0%
En retard
0
Travail
Commandes similaires
Hello, I am looking for an experienced QuantConnect/Lean developer for a trading strategy project on futures (Micro Nasdaq – MNQ) with Interactive Brokers integration (paper + live). The strategy includes several key features: • Multi-timeframe analysis (signal validation across multiple horizons) • Integration of economic news/events into the trading logic • Advanced risk management (daily stop, position sizing
READ CAREFULLY And if you have done 50 projects before then apply others i will reject SEPARATE LOGIC MUST BE SEPARATE AND ALL INPUTS MUST BE VISIBLE WITH FALSE TRUE OPTION TO ON OFF FUNCTION 🔺 BUY Signal (Boom Market) ✅ Pattern Formation (Spike-Based Buy Setup) First Spike : Large bullish spike candle . Mitigation Candle : Small bearish candle inside or partially inside the bullish spike. Second Spike
Bainanans 500+ USD
Bainanan good f المؤشر. ينبغي إضافة نقطة صفراء عند أعلى نقطة في الشموع في منطقة ذروة الشراء - وهي نقطة H. ينبغي إضافة نقطة خضراء عند النقطة المنخفضة للشموع في منطقة ذروة البيع - وهي نقطة L. إذا وُجدت نقطة L واحدة على الأقل بين نقطتي H، فابحث عن نقطة LL في الفترة الفاصلة بينهما. ستكون الشمعة ذات أدنى سعر قاع هي نقطة LL. بشكل عام، لا تُعتبر نقطة LL بالضرورة نقطة L. ابحث عن الشموع ذات أدنى سعر قاع. إذا كانت هناك نقطة H
Døsh forex 30 - 200 USD
I want a robot that will help me and trade the the robot will be very good I don’t want to loose money I repeat I don’t want to loose money
Precision Shift EA 100 - 500 USD
▪ Use the Daily (D1) chart as the higher timeframe reference. ▪ On the H1 timeframe, monitor for a sweep of the previous day’s high or low. ▪ A sweep means that price takes liquidity above or below the previous day’s level and then shifts back inside. ▪ After the sweep, wait for a Change of State in Delivery / Market Structure Shift (CHOCH/BOS) on the H1 timeframe. ▪ If the sweep occurs above the previous day’s high
I need developers that can create thinkorswim indicator or scanner Possibly a long term developer for my subsequent projects, I work with some clients that requires thinkorswim project created for them. Look to hire a TOS developer for my works
I need a custom options scanner built with the following features: Scan ATM call or put options with the same expiry . Filter for open interest ≥ 175 . Expiration between 1 to 60 days . Underlying stock price between $5 and $175 . Use mark price for calculations. Results should be sortable by debit or credit . Scanner should include ETFs as well as stocks . Goal: A simple and efficient scanner that quickly identifies
Ai spike Indicator 30 - 35 USD
Create an Ai based indicator that is able to identify sudden market movements known as spikes on boom and crash indices on the deriv market. The Ai should incorporate these strategies for better precision on getting signals, these strategies include support and resistance on 4 hour time frame SMC, CRT, ICT, Strategies volume trend, volatility pure price action tick velocity, momentum and key points on fibbonacci tool
I need to develop a GUI for a Datetime picker to be used with my Trade Manager EA. The developed tool should be a library I can use with my current Trade Manager EA that am developing. Find attached summary specification..... Unzip the file to read the pdf
Here are the requirements for a potential developer: 1. *Task*: Create a detailed specification for image editing tasks. 2. *Key Features*: - Describe the type of image (e.g., photo, graphic). - Specify edits (add, remove, change elements). - Define desired output format and resolution. 3. *Deliverables*: - A clear, concise document outlining the task. - Estimated complexity and cost assessment. -

Informations sur le projet

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

Client

(2)
Commandes passées4
Nombre d'arbitrages0