There is whell known possibility to set an allert with various actions (sound alarm, pop-up message, order placement) in the event linked with a drawing object - e.g. cross up/down the line.. enter/exit of the box area.
Is it possible to do the same from the script.
For example I daw the line in the script and arm an alert to that line right in the script.
Would it be possible?
I found there is an Alert() function which call an alert action itself.. but there is no anything like alert condition definition
Is it expected that I have to implement an alert logic in the cript myself, eg control that price crossover the line I drew in the script ?
thanks
Andrei


Comment