How can the script programmatically go through all the instruments that are selected in the Market Watch window? - page 4

 
Mathemat >> :
With irons or what?

Oh, yeah.

By the way. Here's a certain DC's response to this script:

Hello Mr Junko.
Due to the fact that there were a large number of incorrect requests per day from your IP address,
Your IP address will be automatically blocked by the security system of MRC Markets.
In order to have your IP address unblocked for work, you need to check your computer for
viruses, trojans, spyware, rootkits. These signals may also relate to incorrectly coded mechanical systems.
trading systems.
Eliminate the cause of incorrect requests to the MRC-MetaTrader 4 server and report the results to us.
In case the MRC security system repeatedly detects incorrect commands from
In the case of repeated detection of incorrect commands from your IP address, your IP address will be blocked again with no possibility to access it again.
We will be glad to answer your questions on our toll-free number for calls within Russia 8 800 333 88 36
Or by calling our support line in St. Petersburg +7 812 331 88 36,
or via Email support@moneyrain.org.
--
Regards,
MRC Markets
www.moneyrain.org

I.e. they will now block IPs when opening a chart :-))

[Удален]  
Zhunko писал(а) >>

Here made ZG_All Quotings 1-80924!!!

Thanks getch for the great idea and flight of thought!!!

Would love to know the name of the hero :-)

This script is the last way to get quotes from a broker.

Even tougher way is personal visit to your broker with special tools for knocking out quotes.

Unfortunately getch was banned.

 

:-О

For what? And for how long?

[Удален]  
Zhunko писал(а) >>

:-О

For what? And for how long?

Getch was banned:

1. For lack of "deserved" treatment of KimIV due to his statements, in particular here 'Textbook error ?' and here 'Strange problems with the editor'

And also for bringing up unpleasant MetaQuotes topics of decompilation and peculiarities of official MetaTrader server side settings.

2. screenshot

 
slayer >> :

Getch was banned:

1. For lack of 'deserved' treatment of KimIV due to his statements here in particular 'Error in the tutorial ?' and here 'Strange problems with the editor'

And also for bringing up unpleasant MetaQuotes topics of decompilation and peculiarities of official MetaTrader server side settings.

2. screenshot

4. To this script branch (allow DLL call and remove global variables before start (F3).

The posts have already been deleted. Will appear under different nickname.

On point 4. Yes, that's right. Only the global variables probably don't need to be deleted.

[Deleted]  

Problem!

When calling SymbolsTotal(), symbols that are disabled are added to the market overview!

[Deleted]  
eevviill:

Problem!

When calling SymbolsTotal(), symbols that are disabled are added to the market overview!

int prevbars[];
string symbols[];


//////////////////////////////////////////////////////////////
int OnInit()
{ 
//////
int symbols_tot=SymbolsTotal(true);
ArrayResize(symbols,symbols_tot);
ArrayResize(prevbars,symbols_tot);

string name_symb="";
for(int i=0;i<symbols_tot;i++)
{
  name_symb=SymbolName(i,true);
  symbols[i]=name_symb;
  prevbars[i]=iBars(name_symb,TimeFrame);
}

EventSetTimer(1);

...
}

//////////////////////////////////////////////////////////////////////////////////////////////////
void OnTimer()
{
//symbols changed

if(SymbolsTotal(true)!=ArraySize(symbols))
{
int symbols_tot=SymbolsTotal(true);

ArrayResize(symbols,symbols_tot);
ArrayResize(prevbars,symbols_tot);

string name_symb="";
for(int i=0;i<symbols_tot;i++)
{
name_symb=SymbolName(i,true);

  symbols[i]=name_symb;
  prevbars[i]=iBars(name_symb,TimeFrame);
}

}

//all symbols
for(int i=0;i<ArraySize(symbols);i++)
{
...
}



}
[Deleted]  

The problem has never been solved.

Problem
Open, Started: 2015.08.21 09:02, #1286412
[Deleted]  
eevviill:

The problem has never been solved.

Problem
Open, Started: 2015.08.21 09:02, #1286412

It's not reproducing. What version of MT4 is installed?

[Deleted]  
alexey_pak:

It is not playing. What version of MT4 is installed?

Latest.

I sent it to a customer as well, it's the same for him.

I had to remove

If(SymbolsTotal(true)!=ArraySize(symbols))