@ProfessorAR15 I use the relationship between two moving averages to do three things. 1) I have the MAs plotted on a chart to show the visual relationship. You can get a lot of info from this just by the way the MAs cross (quickly or gradually) the steepness of the MAs and the relationship of price to the MAs (does price ride along the MAs or criss-cross them). 2) I have up/down arrows plotted where the crosses occur for a visual alert. 3) I also have a very simple script which plots the relationship of the two MAs. This acts as a visual rendering of the relationship of the two MAs. My system uses crosses and price pattern on the one minute chart for entry trigger. The codes provided by the other knowledgeable traders above is a great beginning and should be either what you are looking for or close. Both of the codes above create labels, or my codes can be modified to give sound, labels or bubbles. Just a quick question. If you are using 3 & 9 MAs, are you using Dennis Anderson's E-mini system by any chance? He has written several books and has a blog (I read it every Tuesday - google it) and is VERY successful. He claims to have made $543,000 for the year up to October, and he is not fibbing. I've been following him for years and he swings a big stick and makes some serious money.