private int TQ = 10; // Total Quantity
private int SOQ = 1; // Single Order Quantity
OnOrderUpdate()
for(int i = TQ - Position.Quantity; i>0 ; i--)
{
entryOrder = SubmitOrder(0, OrderAction.Buy, OrderType.Limit, SOQ, GetCurrentAsk(), 0, "", "EnterLongAgain"+i);
}
Question:
Instead of i-- in the Loop construct i want to use SOQ, the variable. Is that possible, How?
Reason is: In India we have to put Lot Sizes as Quantity & Not No. of Lots while trading.
So i might well be using(example):
TQ = 10000
SOQ = 1000

Comment