I misunderstand about GMACD, it is a bar not a line, so when it is up it only enters long break out signal.

This is a SL code but I think it is not working correctly from LOGFILE.
if(priceClose == upper + 10*PIP)
exitShort();

if(priceClose == down - 10*PIP)
exitLong();

I expect this code is identical to crossUnder.
"priceClose(1) > down && priceClose(0) < down"

Last edited by SFF; 02/20/13 09:48.