Hi,
I expected they are the same code thus the same result.But it is not same.
Please explain why.
if(crossUnder(EMA5,EMA8))
enterShort();
if(crossOver(EMA5,EMA8))
enterLong();
if(EMA5[1] > EMA8[1] && EMA5[0] > EMA8[0])
enterLong();
if(EMA5[1] < EMA8[1] && EMA5[0] < EMA8[0])
enterShort();
Edit:
I understand what is difference. Below is actually not the cross over/under signal.
Last edited by SFF; 12/14/12 06:31.