I built an extremely simple strategy that buys at market once enabled.
OnBarUpdate()
if(tradeExecuted==false)
{
EnterLong();
tradeExecuted==true;
Print ("NT executed the trade");
}
I supposedly get an execution but that is not reflected on the SuperDOM and the Strategy's name box is Yellow under the Control Center [Strategy] tab. The log doesn't give any error. What could be wrong?
Thanks in advance.
- mp
Comment