[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 219

 
eddy:
You want to remember the parameters to open an order? To do that, you would need several bool variables, for each parameter, to check if the market matches them

Right! - there are 20 parameters - how can we write them and compare them using an array of bools?
 
if (ma1 > ma2) massive[0]=true; // условие 1

if (ma3 > ma4) massive[1]=true; // условие 2

if (massive[0] && massive[1]) Ordersend(...)
 
eddy:


is understandable... Can it be written as a matrix?

1,1,0,1,1,....0 - OrderSend1

1,0,1,0,1,....1 - OrderSend2

.....

.....

....

 

I don't think you can read/check 2 array variables at once, like if(massive[0,1 ]==true), I think you can only read alternately

 
eddy:

I don't think you can read/check 2 array variables at once, like if(massive[0,1 ]==true), I think you can only read alternately


Thank you!

If someone could tell me more precisely...?

 
so check it by writing if(massive[0,1]==true)
 

How is the M1 candle simulated in the strategy tester when in "all ticks" mode?

 
I hear metaquotes is keeping it a secret
 
charter:

How is the M1 candle simulated in the strategy tester when in "all ticks" mode?

http://forextools.com.ua/trading/ticks/tester.html
 
eddy:
I heard that metaquotes is keeping it a secret


Seems unlikely. What would be the point in keeping it a secret.

To test in "All ticks (most accurate method...)" mode and trust/not trust the results obtained,

it is necessary to understand what is happening inside M1 at the moment of testing and what we get in the end result.