Login Page - Create Account

Support Board


Date/Time: Fri, 10 May 2024 18:07:55 +0000



Post From: Problem with Alert by crossing EMA

[2014-12-28 17:08:48]
nicktrader - Posts: 665
I'd like to have a sound alert if the price crosses an EMA. I am using this formula: - =AND(SG1 <= H, SG1 >= L.

The attached file show a M5 chart with an EMA10

For bar no 1 I got a correct alert because it was crosses directly.

Bar no 2 is the problem. As you can see the green bar before the EMA was much higher as the bar. Bar no 2 open and dropped immediately. In that case the bar did not cross the EMA but I got an alert when the EMA hit the bar before it closed.

The big problem is that the EMA is running with the price in every single second.

I need a formula only when the bar crosses directly the EMA and not the EMA crosses the bar.

Many thanks for your help.




imageFDax 2014-12-19 EMA.png / V - Attached On 2014-12-28 16:51:32 UTC - Size: 8.75 KB - 355 views