Forum

Can't get my EA to sell

extern double Lots= 0.1 ; extern datetime StartDateTime= D'08.10.2012 10:47:33' ; //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int

How do I get the difference of the current MA to the previous MA?

New to the language, Can someone help get the difference between two MAs, current MA-previous MA. Any help would really be appreciated. TONY