Error
- displays user-defined error message and stops the execution

Miscellaneous functions
(AFL 3.7)


SYNTAX Error("text")
RETURNS NOTHING
FUNCTION The function stops the formula execution in the place of the call and displays user-specified error message. It may be also uses from plugins to display error messages.
EXAMPLE if( LowestVisibleValue( Close ) < 0 ) )
{
  
Error( "Close price is negative");
}
SEE ALSO

References:

The Error function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference