Source: https://fxcodebase.com/code/viewtopic.php?f=29&t=20226
Forum: 29 · Topic 20226 · 7 post(s)
Apprentice · Fri Jun 15, 2012 12:55 pm

With this signal, you can define up to two moving averages. If prices cross or touch one or any of moving averages, the signal is given.
MA Price Cross Touch Signal.lua
Strategy is available here. viewtopic.php?f=31&t=63839
haveforexfun · Fri Feb 05, 2016 3:37 pm
Hi Apprentice,
I have a little problem with the MA Price Cross Touch Signal. It works correct as alert but I don’t get an email alert. I have configured my email option correct. Email alert works with other signals or strategies. Is there a bug in this code? Could you please fix this. It would be very helpful for me.
Thank you very much Haveforexfun
Apprentice · Wed Feb 10, 2016 6:17 am
Try it now.
haveforexfun · Tue Feb 16, 2016 4:34 am
Hi Apprentice,
thank you very much. Now email alert works fine. Would it be possible to add some information to this alert. I want to use the signal for monitoring several currency pairs. It would be very helpfull to have an information in the email what currency pair and time frame delivered an alert.
Thank you very much Haveforexfun
Apprentice · Thu Mar 03, 2016 6:41 am
Try it now.
baleze · Sun Sep 04, 2016 11:42 am
Hi Apprentice
can you make this signal a strategy?
Price touch 1st ema with stop loss under 2nd ema.
Thanks
Apprentice · Mon Sep 05, 2016 4:45 am
Price touch 1st ema, from down Buy stop loss on 2nd ema.
Price touch 1st ema, from up Sell stop loss on 2nd ema.