I have been using Hermans excellent info on keying static variables, found
here:

http://www.amibroker.org/userkb/2007/04/21/using-a-static-variable-key/

However, I started a new DB today, and now the code is failing on me. I keep
getting the error:


Stock Breakout2
global SVKey;
lnlndicator= Status(’Action”) == 1;
if( Inindicator) StaticVarSetText(Sname+SVKey, Svalue)
A
ErrorS.
Argument #2 has incorrect type (the function expects different argument type
here) Use ‘Edit Formula’ to correct error

Any ideas on what might be the issue here?

Thanks,

Adrian

Reply via email to