Need help with an interesting MA issue

 

Hi again all

Thanks for taking the time to read this. I currently trade using the cross-over of two MA's. I have set levels for one MA in order to develop a type of trading channel. So there are level lines at +50 and -50 on my second MA. I enter a trade when MA1 moves over one of the level lines of MA2 (hope that makes sense).

Trading manually always ends in a winner and I am trying to write an EA for my system.....sooo...i am stuck at how I tell the system to enter a trade when it crosses over a level line, rather than the main MA line??

Anybody have any ideas?

Thanks,

Max