Coding help - page 727

 
oguz:

@mladen,

Thank you very much for your ideas.

by the way, attached ea has 16 error(s) and 91 warning on latest build mt4.

I am very happy if you can fix the errors. 

Thank you. 

Here is this one (no more errors and some warning solved, but you shall have to check the rest o the warnings - some are benign (like variables hiding global variables), but the operator precedence warning can stop the EA from working)
 
mladen:
Here is this one (no more errors and some warning solved, but you shall have to check the rest o the warnings - some are benign (like variables hiding global variables), but the operator precedence warning can stop the EA from working)

Dearest MLADEN

My favorite ea waiting your kind suggestions and advice's (Simple experts) ,the only project i am trying to upgrade gradually.

regards

 
mladen:
Here is this one (no more errors and some warning solved, but you shall have to check the rest o the warnings - some are benign (like variables hiding global variables), but the operator precedence warning can stop the EA from working)

I will test.

Thank you very much for your time. 

 
mladen:

oguz

As usual (you already know that) I don't comment on decompiled code, but I see that you are on a right track : if it works (the option), use it. If it doesn't then don't. As far as I see that is just a message (not an error) so ...

@mladen,

Thank you very much for your ideas.

by the way, attached ea has 16 error(s) and 91 warning on latest build mt4.

I am very happy if you can fix the errors. 

Thank you. 

 
mladen:
Here is this one (no more errors and some warning solved, but you shall have to check the rest o the warnings - some are benign (like variables hiding global variables), but the operator precedence warning can stop the EA from working)

@mladen,

Is it possible to change the logic of opening order style in ea?

In other words, what can be done to open orders in less periods in order not to upset the broker?
 
oguz:

@mladen,

Is it possible to change the logic of opening order style in ea?

In other words, what can be done to open orders in less periods in order not to upset the broker?

You mean opening orders as fast as possible?

Unfortunately you can not do anything that can not be supervised by the broker

 
mladen:

You mean opening orders as fast as possible?

Unfortunately you can not do anything that can not be supervised by the broker

The opposite;

It opens many orders in a short period.

I am worried that it can cause a problem with my broker :(

I would like to reduce the number of orders that are opened in a short period.

 
oguz:

The opposite;

It opens many orders in a short period.

I am worried that it can cause a problem with my broker :(

I would like to reduce the number of orders that are opened in a short period.

In the last ea you posted there is maxtrades parameter. Change it from 100 to some smaller value
 
mladen:
In the last ea you posted there is maxtrades parameter. Change it from 100 to some smaller value

Yes it is so simple actually :)

Thank you very much for your ideas.

 

@mladen,

I know i want a lot :(

but

attached eas has 14 - 16 error(s) and some warnings on latest build mt4. 

I am happy if you can fix these errors. 

 

hi mr mladen:

what is real name this indicator on picture? meaning (band) 

 

 

 

regard 

Reason: