I have an indicator that gives me an alert when the candle is not touching the EMA. I would like this indicator converted to an EA expert advisor for MetaTrader. Additionally I want these setting in the EA with 3 complete time frame set-ups. SO I can optimize it for all three time frames to work together. I will need each setting to have a parameter in the inputs that tells the EA the signal had to happen in X number of bars so all can be optimized together. Each setting will need the EMa Period, EMa Shift, Minimum distance ticks for EMa, alerts, Separation for alert & pop-up. All of this is already in my indicator. So the only additional setting the EA will need is how many bars the signals happened in. This all included for three time frames. I also want an optional Stochastic filter added for all three time frames that can be true or false.