Discussion of article "Creating a ticker tape panel: Improved version" - page 2

 
Josimar Miranda Pereira #:
it was very top d+

Cool ... I liked the fact that you made the adjustments to make it work the way you needed it to, and shared the solution so that others would know how to solve it if they wanted to do it the way you did ... Now I'm feeling confident and motivated to show you how to do even more things 👏👏😁👍

 
Good morning, excellent work. Could you tell me where I can get the "Logos" of the other companies to be able to put in the EA. Thanks in advance.
 
Antonio Alberto Pera Falcao put in the EA. Thanks in advance.

You can try googling LOGOS of companies ...😁👍

 
Daniel Jose #:

You can try googling LOGOS of companies ...😁👍

Sorry, I'm an old monkey, 70 years old, I would never have asked without trying Google first. But that's OK, thanks for the reply.

 

To change the assets change the Config.cfg file correct procedures would be this or there is another automatic way for the procedures directly within the programming line of mql5, like reading the data from the asset window of the market and put automatically, would I have to do this procedure?

thanks for any reply on the subject.

congratulations for your goodwill and for this work of spreading the word about mql5 and its special functionalities that few people know about, thank you.

 

Add a feature that creates a.cfg file for configuring assets that are in the market tab in metatrader 5, when you add it to the chart

it fetches all the assets from the market tab into the .cfg file, making it easier.

Below is the code:

//+------------------------------------------------------------------+
// creating a file with all the asset names in the market window.
//+------------------------------------------------------------------+
void ativos()
  {
//---
   const   bool  inWatch=true;      // True - only symbols in MarketWatch 
   const   bool  allSymbols=false;  // False - all symbols 
   int handleFile=FileOpen("Widget\\Config.cfg",FILE_WRITE|FILE_ANSI|FILE_CSV,",");
   if(handleFile==INVALID_HANDLE)
     {
      Alert("Error opening file");
      return;
     }
// FileWrite(handleFile,"Symbol","ISIN");
   for(int i=0;i<SymbolsTotal(inWatch);i++)
     {
      FileWrite(handleFile,SymbolName(i,inWatch));
// FileWrite(handleFile,SymbolName(i,inWatch),
// SymbolInfoString(SymbolName(i,inWatch),SYMBOL_ISIN),
// SymbolInfoString(SymbolName(i,inWatch),SYMBOL_PAGE),
// SymbolInfoString(SymbolName(i,inWatch),SYMBOL_PATH));
     }
   FileClose(handleFile);
   Alert("File created");
  }
//+------------------------------------------------------------------+
Incorrectly formatted code edited by the moderator.

file is attached.

save in the indicators folder and compile

Files:
 
@Ney Borges #: Below is the code:
Incorrectly formatted code edited by the moderator.

file is attached.

Please use the CODE button (Alt -S) when entering your code.

Code button in the editor