I'm not expert programmer, but here is what I'm trying to do below. If possible thru the UI is better because it seems as once I unlock the code, I can't go back to the UI.
// Condition set 7
if (Close[0] > Close[5]
&& ADX[0] > 25
{
EnterLong(Quantity2, "Order2");
Otherwise,
if (Close[0] > Close[5]
&& ADX[0] < 25
EnterLong(Quantity1, "Order2");
}
Comment