Good afternoon
I have some "Alert" handling code, which seems only to work when Tools, EFS, Settings,make all formulas compute on close is checked (this is what I want).
The code is invoked by :
callFunction("FunctionLib.efs","BuyMessage",Buy_Me ss) from within a Function.
Do I need to pass the symbol, or is getSymbol(), etc. universally available to all applications?
I have found that the Alert.addToList never executes (the statements immediately before it do execute).
Unchecking this setting sets off a flood of Alerts to the Alert List: i.e. it does execute.
What is going on here, please?
Thanks
George
I have some "Alert" handling code, which seems only to work when Tools, EFS, Settings,make all formulas compute on close is checked (this is what I want).
PHP Code:
function BuyMessage(Buy_Mess){
setBarFgColor(Color.black,0);setBarFgColor(Color.black,1);
setBarThickness(2,0);setBarThickness(2,1);setBarBgColor(Color.green);
debugPrint(Buy_Mess+crlf);
Alert.addToList(getSymbol(),Buy_Mess, Color.green, Color.black );
/*Alert.playSound("cashreg.wav");
Alert.email(Buy_Mess)*/
return ;
}
callFunction("FunctionLib.efs","BuyMessage",Buy_Me ss) from within a Function.
Do I need to pass the symbol, or is getSymbol(), etc. universally available to all applications?
I have found that the Alert.addToList never executes (the statements immediately before it do execute).
Unchecking this setting sets off a flood of Alerts to the Alert List: i.e. it does execute.
What is going on here, please?
Thanks
George
Comment