Error 29 Amibroker AFL Coding error

#1
Hi

any one can help me to correct following code. which showing Error 29. variable 'entry' used without having been initialized.



GfxTextOut( ("Current P/L : " + WriteVal(IIf(sig == "BUY",C-entry,entry -C),2.2)), 13, y-22);;
 

Similar threads