Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 14:45:38 +0000



Post From: Alert when price is crossing / touching a Moving average

[2022-03-18 19:33:13]
User837393 - Posts: 135
Hello,
I'm building a simple alert in a Color Bar based on alert condition study so that the bar changes color as soon as it touch or cross a moving avereage. Eventualy I'm planing on using this to trigger trades.

Knowing that my MA is ID7.SG1, will this formula applies in the color bar based on alert condition :
=OR (CROSSFROMABOVE(LASTTRADE, ID7.SG1), CROSSFROMBELOW (LASTTRADE, ID7.SG1))

I'm not looking for the O H L C ... but I want the alert to happen immediately as soon as the price reaches the MA.