Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1124
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
ENUM_TRADE_REQUEST_ACTIONS
Identifier
Description
TRADE_ACTION_DEAL
Place a trade order for an immediate execution with the specified parameters (market order)
TRADE_ACTION_PENDING
Place a trade order for the execution under specified conditions (pending order)
Example of the TRADE_ACTION_PENDING trade operation for placing a pending order:
ENUM_TRADE_REQUEST_ACTIONS
Identifier
Description
TRADE_ACTION_DEAL
Place a trade order for an immediate execution with the specified parameters (market order)
TRADE_ACTION_PENDING
Place a trade order for the execution under specified conditions (pending order)
Thank you!
Example of the TRADE_ACTION_PENDING trade operation for placing a pending order:
Vladimir, can't you write it in Russian?
You can't. Because I quoted the full reference. Otherwise, it's a long shot: everyone has a 'ticket' and some have 'tickets'. That's why the functions, help and quotes from the help are in English.
You can't. Because I quoted in full from the reference. Otherwise, it's a long shot: everyone has a "ticket" and some have "tickets". Therefore, the functions, the reference and the quotes in the reference are in English.
Hello all! I think the question is primarily for the pros (as it turns out). It has been a week with one question about the code.
For example - we know that the M5 candle contains 5 candles M1 (for example, 00:00, 00:01, 00:02, 00:03 and 00:04). Further we will consider only this conjunction - i.e. we run the indicator on M1 and want to see the indicator readings from M5.
I.e. to correctly display data of the middle TF on the lower one, I should loop through all 5 bars of the lower TF as they appear. I.e. the first bar appears 00:00, then 00:01 etc. up to 00:04 and after that the next one appears. It means the cycle should be from 0 to 4 - this is the maximum, while gaps in history are not considered. The problem is that I get the cycle from 0 to 5, and I do not have enough logic to make it up to 4! Believe me, I've been struggling with this for a week now and I'm really asking for your help. Below is a very truncated code where the loop goes to 5 instead of 4. I want it to 4!!!!!
How do I add a list view editing window?
https://www.mql5.com/en/docs/standardlibrary/controls/clistview
I have the library above. I want to add an edit box with a label inside this list. Can you tell me how I can do this? I've tried, but it doesn't work.
And they have "tickets" just because they start translating with google :)
OK, I confess: caught me. Answered quickly and didn't switch the help language 😎
Copy that ;)