Why this EA dont work?

 
Hi everybody,i don't understand why this indicator did not work.Also i am looking for indicator that shows yesterday trend.I really need help!!!!
Files:
 

That's not an indicator, that is an expert advisor.

 
1005phillip:

That's not an indicator, that is an expert advisor.


Sorry i make a mistake yesterday when write this post."I mean why this EA did not work"
 
malincho99:

Sorry i make a mistake yesterday when write this post."I mean why this EA did not work"

Hi,

You wrote NumBuys=1, & numsells=1.

it must be more than 1. If you select 2 or more will open position.

Best Regards,

 
fxturn:

Hi,

You wrote NumBuys=1, & numsells=1.

it must be more than 1. If you select 2 or more will open position.

Best Regards,


Thanks for advice a make this changes

extern int NumBuys = 2;

extern int NumSells = 2;

but unfortunately EA did not work why?

Files:
Reason: