Questions from Beginners MQL4 MT4 MetaTrader 4 - page 226
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
Alexey, thank you for your answers and your help.
New question, is it possible to duplicate chart tabs in MT4? That is, not a template to set the chart parameters each time, but a full copy of the tab with the selected currency, timeframe and chart parameters. Is there such a thing or not?
Trying)
Fighting, searching, finding and re-hiding!
New question.
Yeah, you're welcome.
The easiest one is the pattern. Why don't you like it? You have set the timeframe, scale, background colour, colour of candlesticks, you have set the required indicators and saved it as default.tpl. Now when you open a new chart, everything is ready for you.
The simplest thing is the template. Why don't you like it? Set the timeframe, scale, background colour, candlestick colour, sketched the necessary indicators and saved it as default.tpl. Now, when you open a new chart, everything is ready for you.
No, the question seems to be different. When a user opens a chart and installs an indicator, he knows neither TF nor symbol. The script should select the symbol and the TF. (And the indicator may be loaded at the same time, or a template may be selected).
Fight, search, find and re-hide!
Yeah, you're welcome.
The simplest thing is the pattern. Why don't you like it? You set the timeframe, scale, background colour, colour of candlesticks, you set the required indicators and save it as default.tpl. Now when you open a new chart, everything is ready for you.
Forum on Trading, Automated Trading Systems and Strategy Tests
FAQ from Beginners MQL4 MT4 MetaTrader 4
Igor Makanu, 2020.12.08 13:39
You have been replied in your topichttps://www.mql5.com/ru/forum/334987
moderator using SBhttps://www.mql5.com/ru/docs/standardlibrary/tradeclasses
I wrote an example based on the help
if the question is how to close a position, again, helphttps://www.mql5.com/ru/docs/constants/tradingconstants/enum_trade_request_actions
or SBhttps://www.mql5.com/ru/docs/standardlibrary/tradeclasses/ctrade@makssub in PM asking for MQL4 code, then this code
how to close a ticket order here look for:https://www.mql5.com/ru/forum/131859
Well, in simple words, it goes like this:
We create a variable of datetime type and record the time of the current D1 candle in it when we close the order with a profit. And before opening another order, we check the value of this variable with the time of the current D1 candle. Accordingly, if the current time is higher, we can open. Otherwise, we smoke smoke smoke.
Hi all! Please advise me a MQL4 tutorial relevant to today.
there is only one textbook, the old Kovalev textbook. It was up to 2016 or so. Then a lot of things from 5 were transferred to 4. Thank God the order system was retained. There are no more textbooks (I didn't find any, and others didn't either). Only articles here and internet searches.
there is only one textbook, the old Kovalev textbook. It was up to 2016 or so. Then a lot of things from 5 were transferred to 4. Thank God the order system was retained. There are no more textbooks (I didn't find any, and others didn't either). Only articles here and a search on the internet.
Thank you!
I have written a simple indicator. When crossing zero, it doesn't draw the line, even though the buffers have values. Can you please tell me where I went wrong.