Questions from Beginners MQL5 MT5 MetaTrader 5 - page 889
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
Noone wants this rudiment - that's why they removed it.
That "nobody" is a very controversial statement. We didn't conduct a survey.
And in MT5 you don't even need to write anything in the code. All you have to do is mark auto-update.
Thank you very much. Just what I need.
P.S. Unfortunately, not what I had in MT4. You will see all trades on the chart and you only need a specific EA. And they are displayed on all open charts of a particular currency pair, and you want them only on the chart the EA trades in. It is a pity.That "to nobody" is a very controversial statement. No one has been polled.
For example, I purposely integrated into my Expert Advisor the possibility to delete all arrows and other nonsense that is drawn when triggering an order/position. They are absolutely useless there. If we had just removed the Bid line from the chart as it is possible to do in MT5, I would have removed it too.
So it depends on the situation...
For example, I purposely integrated into the Expert Advisor the possibility to delete all arrows and other nonsense that is drawn during triggering of orders/positions. They are absolutely useless there. If we could remove the Bid line from the chart, I would delete it too.
So it depends on the situation...
So what's the problem?
CHART_SHOW_BID_LINE
Display Bid values as a horizontal line on a chart
bool
CHART_SHOW_ASK_LINE
Display Ask values as a horizontal line in a chart
bool
CHART_SHOW_LAST_LINE
Display Last values as a horizontal line in a chart
bool
So what's the problem?
CHART_SHOW_BID_LINE
Display Bid values as a horizontal line on a chart
bool
CHART_SHOW_ASK_LINE
Display Ask values as a horizontal line in a chart
bool
CHART_SHOW_LAST_LINE
Display Last values as a horizontal line in a chart
bool
In MT5 you can set this immediately in the profile. And do not show the Bid. In MT4 this is not the case.
In MT5 this can be set up immediately in the profile. And not to show the Bid. In MT4 this is not the case.
What do you mean it is not there?
https://docs.mql4.com/ru/constants/chartconstants/enum_chart_property#enum_chart_property_integer
What do you mean you don't?
https://docs.mql4.com/ru/constants/chartconstants/enum_chart_property#enum_chart_property_integer
Well, more clearly through the graph property. That is, by standard means.
Well, more clearly through the graph property. That is, by standard means.
If I wanted to use a standard symbol, I would have to open it in a new window.
Forum on trading, automated trading systems and strategy testing
FAQ from Beginners MQL5 MT5 MetaTrader 5
Konstantin Nikitin, 2018.06.25 15:01
The Expert Advisor is able to delete all arrows and other nonsense when an order/position triggers. They are absolutely useless there. If we had just removed the Bid line from the chart as it is possible to do in MT5, I would have removed it too.
So it depends on the situation.
Delete it with the script, what's the problem?
New type of trade operation Close By
For accounts with hedged position accounting, a new type of trading operation has been added - closing a position with a counter position.
Such a question-
Right now the code looks like this-
As far as I understand it, how do Iclose a position counter?
Hi. Explain the function call in if condition. Just calling a class function, how in that case should an if be executed or not. Because there is no condition here, the function will always return some value. Is this code correct at all?
Logical negation NOT(!)
Logical negation of NOT(!)
Thanks. I just didn't realise that a binary variable is returned. In that case it's understandable.