Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1942
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
I've read, only the indicator is set up as an indicator. But when I load the demo it appears in the EAs
What is meant by "demo version"?
What is meant by "demo version"?
The free version of the indicator
I don't quite understand you, I've just started studying, I start the indicator in the terminal from the navigator, all timeframes are in the popup. When on historical data profiling, it is drawn but when it gets to the end it disappears.
You have an intu symb in your code, you have to enter the name of the instrument there when the indicator in the pop-up panel in the input parameters is tapped. Do you do this?
You have an intu symb in your code, you have to enter the name of the instrument there when the indicator in the pop-up panel in the input parameters is tapped. Do you do that?
Yes, it displays a message Unknown symbol. 2022.04.05 15:11:06.971 015 Symbol (GBPUSDrfd,M5) Alert: Unknown symbol GBPUSDrfd,M5
2022.04.05 14:57:37.297 015 Symbol (GBPUSDrfd,M5) Alert: Unknown symbol EUR
2022.04.05 15:16:03.352 015 Symbol (GBPUSDrfd,M5) Alert: Unknown symbol EURUSD
yes, displays message unknown symbol. 2022.04.05 15:11:06.971 015 Symbol (GBPUSDrfd,M5) Alert: Unknown symbol GBPUSDrfd,M5
2022.04.05 14:57:37.297 015 Symbol (GBPUSDrfd,M5) Alert: Unknown symbol EUR
2022.04.05 15:16:03.352 015 Symbol (GBPUSDrfd,M5) Alert: Unknown symbol EURUSD
Enter GBPUSDrfd in the input parameters . you must have additions to the clear symbol name. and try EURUSDrfd.
enter GBPUSDrfd in the input parameters . apparently you have additions to the clear instrument name. and try EURUSDrfd.
I've read, only the indicator is set up as an indicator. But when I load the demo it appears in the EAs
Don't post the same question in different forum threads.
I answered you there:
Forum on trading, automated trading systems and testing trading strategies
Bugs, bugs, questions
Artyom Trishkin, 2022.04.05 15:13
You have written it using old handlers.
You should use OnCalculate().
Don't post the same question in different forum threads.
I have answered you there:
Already reading it. Thank you!
Good afternoon.
Help with the code, maybe there are examples.
Task:
There are several open orders, with different lots, in different directions. One of them is buried with profit, let us assume 20. However, there is an open order with the negative profit, let us assume -55 with 0.05 lots. I want to close a part of a negative order by the amount of the profit of a positively closed order to decrease the drawdown.
I have tried to write this using the while operator, but it did not go well.
Thank you in advance.