Support

Equilla Formula Language

AlertEnabled

Returns true if alerts are enabled for the current script, false otherwise.

Remarks

This function is provided for backward compatibility only and always returns true.

Examples

Raise an alert if the slow moving average is crossing up the fast moving average
Input: SlowPeriod( 18, 1 ), FastPeriod( 10, 1 ); Variables: slowAverage( NumericSeries ), fastAverage( NumericSeries ); slowAverage = Average( Close, SlowPeriod ); fastAverage = Average( Close, FastPeriod ); If AlertEnabled Then Begin If slowAverage Crosses Over fastAverage Then Alert( "The slow Average crossed Up the fast average." ); End;