Buy / Sell @ market
Wslwilson:
Rad these links: ECN What are Function return values ? How do I use them ?
OrderSend(Symbol(), OP_BUY, 0.2, Ask, 0, Bid - 15* Point, Ask +50* Point, "Buy Order", 0, TimeCurrent() + 60 * 60, Blue);
when my criterion are fullfilled, nothing happen;
but if I use OP_BUYlimit instead, it will take action, why is that?
Is it something to with my slippage (I've set it to zero at the moment).
OrderSend(Symbol(), OP_BUY, 0.2, Ask, 0, Bid - 15* Point, Ask +50* Point, "Buy Order", 0, TimeCurrent() + 60 * 60, Blue);
when my criterion are fullfilled, nothing happen;
but if I use OP_BUYlimit instead, it will take action, why is that?
Is it something to with my slippage (I've set it to zero at the moment).
Thanks.
William