OrderSend()
When you place a pending order with OrderSend(), the function returns the ticket number of the pending order.
Question: When the pending order gets filled, does the filled order have a new ticket number?
OrderSend()
When you want to place an order without any slippage limitations (or bounds), how do you specify that in the OrderSend function?
OrderSend() Arrow
Is there anyway to change the default arrow drawn on the chart when the OrderSend() function places an order? For example I would rather see an up/down triangle than the up-right/down-right arrows it draws by default.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Questions about the Bars function (or variable):
What are the maximum and minimum values of Bars?
It counts up each time a new bar appears on a chart, but how high does it count? What happens when it reaches the maximum - does the value of Bars remain at the maximum value until the program is shut down? At what point does Bars reset to its minumum value - when it reaches the max, or in some other way?