Amibroker Scan error

#1
Hello,

I'm getting error in amibroker scan. It generates signals with 0.00 price. Though if I refresh scan it is disappearing. I'm using below AFL to run this scan. I've confirmed that there isn't any issue in data feed as chart is not showing any price near 0.00.

I would appriciate if any amibroker expert can help me here.

Amibroker scan error snap : (Buy/Sell signal showing 0.00)


(If you are not able see Image then right click on above image icon and open in new tab.)



AFL that I'm using for trade:

SetChartOptions(0,chartShowArrows|chartShowDates);

_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));

Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );

_SECTION_END();
DayH = TimeFrameGetPrice("H", inDaily, -1); // yesterdays high
DayL = TimeFrameGetPrice("L", inDaily, -1); // yesterdays low
DayC = TimeFrameGetPrice("C", inDaily, -1); // yesterdays close
DayO = TimeFrameGetPrice("O", inDaily); // current day open
Buy = C > DayH;
Sell = C < DayL;




Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);

Short=Sell;
Cover=Buy;