Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1084
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
What's the point of that? Maybe there are other crutches... For example to apply a template with already attached indicator.
Somewhere on the mql4 forum there are examples of working with the API. Maybe there is something there, but I don't remember. For example there is how to close terminal, change symbol and period (there were no standard functions back then), press/press "auto-trade" button...
hahaha... I just switched from another forum and didn't realize I was talking about mql4 forum while on the same mql4 forum...
If I need to delete e.g. two pending orders, how should I do it? OrderDelete (0); OrderDelete(1); it gives an error.
(1(
The first parameter of the OrderDelete() function is a unique (ten-digit and therefore much larger than 0 and 1) order number that the broker assigned to this order. After OrderSelect() this number can be obtained using the OrderTicket() function and back it in the OrderDelete() function. You can avoid syntax errors by typing the message text in Word and copying it here using the clipboard. Or you can enable the spell checker in your browser.
In the indicator window, I only see digits with 4 digits behind the note. How do I make 5 digits?
Afternoon.
In the indicator window, I only see digits with 4 digits behind the note. How do I make 5 digits?
timets = TimeToString(TimeCurrent(), TIME_DATE);
IndicatorDigits(_Digits); - for number of digits as in quotes, the other number in brackets is for arbitrary number of digits after the decimal point.
Thank you.