[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 273

 
Operr:

Can you please tell me if it is possible to export the values of the indicated column to an external file and in what way? Any answers would be appreciated.

If export is not possible, do you know where these values are stored?

Run a script and go through the objects and write the values to a file.
 
Solree:

Well, that's it then:

Well actually only removed the algorithms for selecting and identifying the right item.


The whole logic has to be reworked. It is rather confusingly done. And it might be a good idea to start by doing away with objects and drawing via indicator buffers
 
volshebnik:

Sorry, I'll repeat my question, it somehow got sidetracked...(...

Hello ! Could you please tell me how this can happen ?

i = 2, Open[i-2] = 1.5715
14:21:15 2011.01.12 18:08 My Fr Chekulaeva1 GBPUSD,M1: Low[i] = 1.5713, Low[i-1] = 1.5714
14:21:15 2011.01.12 18:08 My Fr Chekulaev1 GBPUSD,M1: Low[i+1] = 1.5714, Low[i-2] = 1.5715
14:21:15 2011.01.12 18:08 My Fr Chekulaev1 GBPUSD,M1: Open[i-2]-(Low[i]-1*PointX) = 0.0004
14:21:15 2011.01.12 18:08 My Fr Chekulaev1 GBPUSD,M1: 1*PointX = 0.0001

This is an excerpt from the log data during testing. 15-(13-1) should be 3. The tester reads 4. What's wrong?

Why should it be? How do we know what you have in Open[i-2] ?
 

This is what I'm trying to do

double Equity[];
int i = 0;

int start()
  {
   Equity[i] = AccountEquity();
   i++;
   return(0);
  }

But for some reason the elements are not assigned. What's the problem?

 
alex11230:

This is what I'm trying to do

But for some reason the elements are not assigned. What's the problem?


array size is undefined
 
That's the thing, I want to make it dynamic.
 
alex11230:
That's the thing, I want to make it dynamic.

https://docs.mql4.com/ru/array/ArrayResize
 

It turned out like this:

double Equity[1];
int i = 0;
int start()
  {
   if(Equity[i-1] != AccountEquity())
   {
   ArrayResize(Equity, ArraySize(Equity)+1);
   Equity[i] = AccountEquity();
   i++;
   }
   return(0);
  }
 

How do I know how many ticks there are in a certain interval?

For example, on the EURUSD chart over the last month?

 
alex11230:

How do I know how many ticks there are in a certain interval?

For example, on the EURUSD chart over the last month?


Volume count, for the last month
Reason: