Hi Steve
I was just having a quick glance at the code and something seems to be missing. In the code below you don't do anything when the order is sent successfully, no problem, but when the order fails I think you intended to resend, alert or something?
void LookForTradingOpportunities()
//Actions when trade send succeeds
if (SendTrade && result)
{
}//if (result)
//Actions when trade send fails
if (SendTrade && !result)
{
}//if (!result)
I was just having a quick glance at the code and something seems to be missing. In the code below you don't do anything when the order is sent successfully, no problem, but when the order fails I think you intended to resend, alert or something?
void LookForTradingOpportunities()
//Actions when trade send succeeds
if (SendTrade && result)
{
}//if (result)
//Actions when trade send fails
if (SendTrade && !result)
{
}//if (!result)