Convert image into base 64 format string for being read by a web-browser for mt5

MQL5 Интеграция

Техническое задание

 
  //Takes screenshot
      string  imgname="image.png";
       bool first=ChartScreenShot(0,imgname,1920,1080);
       // write the initial html code
      int Report_File=FileOpen("report.html",FILE_WRITE|FILE_TXT,",");

      FileWrite(Report_File,"<!DOCTYPE html>");
   
      FileWrite(Report_File,"<html>");
      FileWrite(Report_File,"<body>");

       string timeString=TimeToString(TimeCurrent()|TIME_MINUTES);
       FileWrite(Report_File,"<center>Report generated at "+timeString+"</center>");
       FileWrite(Report_File,"</br>");
                                                        
     // file is referencing the location of the image  
     FileWrite(Report_File,"<center><a href="+imgname+" target=_blank>"+"<img src="+imgname +" alt=twx   width=1920 height=1080 class=aligncenter></a></center>"); 
     
      FileWrite(Report_File,"</br>");
      FileWrite(Report_File,"<br>");
      FileClose(Report_File); 


The code above
1)take a screenshot
2) Creates a text file with  .html extension (so its read by a web browser)  and writes html text inside it.
3) The Yellow highlighted text   uses href to reference and read the image  that was taken at (1). 

What I need you to do is to find a way to rather than reference the picture  using href and require the image to be present  ,to somehow convert the image to a base64 or some other  string format that can be read by the web-browser and convert it into an image without the need for the image to exist. 

In order to prove to me that you can actually do that  please send me an html file that displays an mt5 image.

 You can copy the above code in the init part of an EA/Script/Indicator and you will see it produce an html file with the chart image.


I have attached also the indicator




Файлы:

Откликнулись

1
Разработчик 1
Оценка
(87)
Проекты
134
14%
Арбитраж
41
22% / 29%
Просрочено
14
10%
Свободен
2
Разработчик 2
Оценка
(10)
Проекты
10
0%
Арбитраж
1
0% / 0%
Просрочено
1
10%
Свободен
Похожие заказы
I'm only seeking experienced developers who have successfully completed projects similar to this. I require someone to develop a copy-trading system that can execute trades on clients' mt4/mt5 upon my posting on platforms like Telegram or spreadsheets . Additionally, I need a feature for tracking and recording the trading signals that I send. I'll provide further details and examples during our discussion
I am looking for a coder to code my custom Ninjatrader 8 strategy to make it work perfectly your professioalism is needed in the project Kindly cotact me now and let Proceed
Hi there, can you create an addon for Ninja Trader that replicates the Level 2 window? See image attached. I am looking to change the row colours based on the size
I'm looking for a skilled developer to connect my TradingView signals with cTrader, ensuring flawless functionality. Your expertise is essential for this project's success. Let's collaborate to achieve seamless trading automation
Hello here I am in need of an NT8 developer which can create a custom strategy for NT8 Kindly bid on this if you are an Expert in Ninjatrader Thank you
I have a License system for ea and indicator based on a wordpress plugin which uses a DLL to communicate with the license server. written in c++ The system works fine when running on newer windows OS from win 11 to win 8, but throws the error "Access violation read to 0x00000000" when running on older windows like window 7 and older vps like windows 2012 server R2. I need this issue fixed for the vps to work on all
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree
ICT, SMC, PAMETNI NOVAC KONCEPTI, PAMETNI NOVAC, koncept pametnog novca, podrška i otpor, analiza trenda, radnja cijena, tržišna struktura, blokovi naloga, BOS/CHoCH, blokovi razbijača , pomak momentuma, zona ponude i potražnje/blokovi naloga , jaka neravnoteža, HH/LL/HL/LH, jaz fer vrijednosti, FVG, Zone premije i popusta , Fibonacci retracement, OTE, Likvidnost na strani kupnje, Likvidnost na strani prodaje
I'm looking for someone to help me implement the MetaQuotes web API in Laravel: - Create clients - Create users - Change passwords accounts - Create deposits and withdrawals I'm using a library, but it's only giving me problems
I need the following help wih the set up I have a TradingView paid license I have a script running in TradingView generating Alerts - see a screenshot example Then I have PineConnector which should be able to take those Alerts and deliver to MT4 And then there is MT4 installed with running PineConnector on it Yet somehow I cannot get those Alerts, including Trade set up, from TradingView to MT4. Please let me know if

Информация о проекте

Бюджет
30+ USD
VAT (19%): 5.7 USD
Итого: 35.7 USD
Исполнителю
27 USD