Pasted below is the abbreviated code. Your assistance is greatly appreciated!
// Condition set 1
if (CrossAbove(MACD(12, 26, 9), EMA(8), 1))
{
EnterLong(DefaultQuantity, "LONG");
}
// Condition set 2
if (CrossBelow(MACD(12, 26, 9), EMA(8), 1))
{
EnterShort(DefaultQuantity, "SHORT");
}
}

Comment