EA that's prints buy trades only on the strategy tester

 
hello friends, does this never happen to you that you have develop The EA to take buys and sells trades but on the strategy tester only take buy trades. but on demo account and real account take both orders type for buy and sell trades, have this never happen to you guys thanks.
Files:
GOLDM30 (2).png  23 kb
 
Lungile Mbanjwa:
hello friends, does this never happen to you that you have develop The EA to take buys and sells trades but on the strategy tester only take buy trades. but on demo account and real account take both orders type for buy and sell trades, have this never happen to you guys thanks.
never happened. fix your code