Announcement

Collapse
No announcement yet.

how to displayError

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to displayError

    when i use the following statement i get a syntax error saying : displayError is not defined , do i have to define displayError as a variable, or have i written it incorrectly.

    if (nSymbol==null){
    displayError("Error: You must select a symbol.");
    return;
    }

  • #2
    shogun
    Are you trying to display this on the chart?
    If so use the drawTextRelative() function.
    Alex

    Comment


    • #3
      it was just a warning if no symbol was selected on a efs i am writing but the drawTextRelative() has done the job, good thinking.

      thanks.

      Comment

      Working...
      X