Questions from Beginners MQL5 MT5 MetaTrader 5 - page 153
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
Look at the height of my chart and mine - they are different, so the indentation is different in each case.
Repeated the picture in mine and this is what I got
The question is why I don't have the same picture as you. The scale is the same. I do not like it because I work with MT4, the indentation is the same for top and bottom. My indicator puts text marks on the chart for high and low. It looks fine on the tablet. But on MT5 on the tablet the indent at the bottom eats up 10% of the chart space. It is unpleasant on a small screen.
If you have a trading robot and do not know how to use it, do not hesitate to contact the Service Desk:
Forum on trading, automated trading systems and testing trading strategies
Questions from Beginners
paladin800, 2013.11.11 21:49
Maybe somewhere in MT4 and MT5 there is a possibility to set the distance from top and bottom so the quote chart will be stretched/stretched by itself?If you have a clear understanding of the man with the right hand, you may be able to use it to achieve the required accuracy, yet you will have to do it right away.
Developers often implement reasonable user suggestions.
Can you tell me how to determine the type of a pending order, and then make further moves depending on its type.
For example, I can only have BUY_STOP or SELL_STOP.
I do the following in my EA:
After trying to determine the type type =EnumToString(ORDER_TYPE); // Set the type of the pending order
I check it just in casePrint("ORDER type =", type );
I see in the log: 2013.11.12 17:42:09 Core 1 2006.06.21 13:00:00 ORDER type =ORDER_TYPE
I.e.ORDER_TYPE typeand what is it SELL_STOPorBUY_STOP how do I determine?
Or am I doing something wrong?)
Try the line
Replace it with.
In this case, the log gives numerical values:
2013.11.12 19:08:32 Core 1 2008.04.22 10:00:07 ORDER type =5
2013.11.12 19:08:31 Core 1 2007.08.17 14:00:00 ORDER type =4
Maybe 4 is BUY_STOP and 5 is SELL_STOP
But they should be numbered 5 and 6, this is nonsense).
https://www.mql5.com/ru/docs/constants/tradingconstants/orderproperties#enum_order_type
Here is a printout of the script:
And the script code:
Thank you!
Assumed that ORDER_TYPE_BUY should be = 1.)
How long before I start distributing my settings to other users?
how long will it take me to start distributing my settings to other users?
You probably meant to ask: "...give away your resources..." with the MetaTrader 5 Strategy Tester? Basically, it all depends on the rating (PR) your agents got. With PR below 120 there will be not many tasks per day - the approximate total load per day is about 10 minutes.
Go to your profile on mql5.com and select the agents tab(https://www.mql5.com/ru/users/kirillos/agents/list), there you can see your agents' rating.
Where is the one missing?
If you use commented out strings, it's correct. As it is, it's 1 less.
This construction produces13317 , not 13318 .Is it my mistake or MT?
Where is the one missing?
If you use commented out strings, it's correct. As it is, it's 1 less.
This construction produces13317 , not 13318 .Is it my mistake or MT?