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).
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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