Sorry, I am having a moronathon tonight. Pls disregard.
________________________________ From: James <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, November 25, 2008 11:05:46 PM Subject: [amibroker] Can't figure this AA problem out I have this code in AFL: Buy = Cross(H, Ref(PHighPrice,1)) AND Ref(CI,-1) < Ref(EMA(CI,5),-1);Short CI is a customer indicator defined in the code. When I change the code to this, simply changing > to <: Buy = Cross(H, Ref(PHighPrice,1)) AND Ref(CI,-1) > Ref(EMA(CI,5),-1);Short I get no trades in the Automatic Analysis window. I get trade arrows in a chart pane and they are right, but for some reason changing those arrows causes 0 trades in AA. Any idea what could be causing this. TIA, James= Cross (Ref(PLowPrice, 1), L) AND Ref(CI,-1) > Ref(EMA(CI,5),-1);= Cross (Ref(PLowPrice, 1), L) AND Ref(CI,-1) < Ref(EMA(CI,5),-1);
