Please help me!!!!

 

I testing a ea, the King_EA, but not woriking

extern int MaxOpenTime_BUY = 10;
extern int MaxOpenTime_SELL = 10;

parametr. Why?

Can somebody correct him. I know that they is error the code other, but I am not programmer.

Files:
kingoeae.mq4  6 kb
 

P

IMHO this cant work as OrderOpenTime() is not being called for a selected order.
I think there is a function missing to evaluate tmp just before the line

if (((NormalizeDouble(tmp,8)-MaxOpenTime_BUY)>=0))

Also, even if this was OK, it wont make money as it is simply working off the RSI indicator being below a certain value for a BUY.

No check to see if it has turned up or is still going down :(

FWIW

-BB-

 
pannek wrote >>

I testing a ea, the King_EA, but not woriking

extern int MaxOpenTime_BUY = 10;
extern int MaxOpenTime_SELL = 10;

parametr. Why?

Can somebody correct him. I know that they is error the code other, but I am not programmer.

CAN ANYBADY CORRECT THIS EA?

PLZ