Originally Posted by marr
i dont mind margin call actually
Your broker will strongly disagree.

Also, this is wrong:
Code
if (Close > EMA13 && Close > EMA8 && Close > EMA5)
Write it like this:
Code
if (Close[0] > EMA13[0] && Close[0] > EMA8[0] && Close[0] > EMA5[0])