Hi: Apologies for starting a new thread on null OrderID. I could not find a solution to the problem below on the other EFS-ATS posts.
Trade functions return OrderID as null. Following is a code section I am trying. Can someone please tell me what I am doing wrong? EFS ATS is checked active at the bottom right as well as chart top bar.
code fragment
{....
var vOrderID= Trade.buyLimit(nEntryPrice, sSymbol, nStckQty);
...
...
fLog.writeln("OrderID:\t" + vOrderID);
....
}
Result:
...
OrderID: null
...
Trade functions return OrderID as null. Following is a code section I am trying. Can someone please tell me what I am doing wrong? EFS ATS is checked active at the bottom right as well as chart top bar.
code fragment
{....
var vOrderID= Trade.buyLimit(nEntryPrice, sSymbol, nStckQty);
...
...
fLog.writeln("OrderID:\t" + vOrderID);
....
}
Result:
...
OrderID: null
...
Comment