Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1908
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
The platform does not allow the installation of two EAs on the same chart. You probably need an indicator.
So what's the problem, open any chart and install an EA.
Just call the function with the right parameters symbol, magik.
Or copy it into your EA, is the code of EA 2 open?
novichok2018 #:
Maybe it sees them, I haven't read the EA code, but maybe it only sees what is reflected on the chart where it is installed. And the Take Profit, Stop Loss and Open Price lines are displayed, but there is no open time. Therefore, I think that if EA #2 only sees what is shown on its chart, it will not be able to read information correctly from EA #1. Hence my desire to reflect on his chart all the information about the position opened by EA #1: price, open time and stops.
No, it is not.
The EA can see everything, on all open charts, and any symbols.
Good afternoon, all. Added an extension to the template name in the scripts. The scripts now look like this.
First for d1 and medium term.
For n1 and scalping this is how it looks like.
The terminal still has 7 open charts, the screenshot below.
I have moved the script for d1 and the mid-term chart template to the chart, but nothing happens, as before. I have tried to drag and drop it on the leftmost chart and on the rightmost one, nothing happens. I thought it was because I had saved everything in Scripts/ SCRIPT OF APPLYING THE SHABLET TO ALL CHARTS. I moved the files to the Scripts folder - compiled, I'm adding them again and nothing happens. What could be the problem?
Good afternoon, all. Added an extension to the template name in the scripts. The scripts now look like this.
First for d1 and medium term.
For n1 and scalping this is how it looks like.
The terminal still has 7 open charts, the screenshot below.
I have moved the script for d1 and the mid-term chart template to the chart, but nothing happens, as before. I have tried to drag and drop it on the leftmost chart and on the rightmost one, nothing happens. I thought it was because I had saved everything in Scripts/ SCRIPT OF APPLYING THE SHABLET TO ALL CHARTS. I copied the files to the folder Scripts-compiled, then I put them back and nothing happens. What could be the problem?
Do you know how to use debugging? Go step by step and see where the script is not correctly executed.
Just to be clear...
Lines of set orders are not objects on the chart and no EA can count order lines
We can see that we have an order but there are no objects on the chart
You have been convinced. Thank you.
No, it isn't.
The EA can see everything, on all open charts, and any symbols.
Thank you, got it.
Do you know how to use the debugger? Go step by step and see where the script is going wrong.
Good afternoon!!!!
Here is the Profit calculation function for a grid of orders
Can you please tell us if you can calculate separately
Calculation of orders with profit
Calculate orders with a loss
Thank you
Good afternoon!!!!
Here is the order grid profit calculation function
Can you please tell us if you can calculate separately
Calculation of orders with profit
Calculate orders with a loss
Thank you
You may do it.
You may, you may.
You're an ostyak??????