Hello Lode!
It's not fully clear for me. Can you make small video how its work now?
Hey Fedor;
Thanks for reaching out. I will reply to you privately.
Lode
Hello everyone;
I have an EA that shows various information about my trading account. I can move that information anywhere I want on the chart by means
of the setup built into the EA.
However, when I move the chart from one monitor to another that are not the same dimensions, I have to reset the setup to make the items
displayed look good again. When I move the chart back to the original monitor I have to repeat that process.
Question: is there a way to program my EA to 'auto-sense' the dimensions of the monitor and place the objects on my chart accordingly
without having to constantly reset all the parameters?
Thanks in advance for your help.
Lucas
void OnChartEvent(const int id, const long& lparam, const double& dparam, const string& sparam){ if (id==CHARTEVENT_CHART_CHANGE){ /* id==9 */ // move your objects here } }
I have my program which is probably what you are looking for. Basically it refresh every I resize my chart.
Hello everybody,am new here ,am a beginner still on demo account,quiet unfortunate i have blow the account and i don't know how to fund the demo account .
Click on "File" and then "Open an Account"
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello everyone;
I have an EA that shows various information about my trading account. I can move that information anywhere I want on the chart by means
of the setup built into the EA.
However, when I move the chart from one monitor to another that are not the same dimensions, I have to reset the setup to make the items
displayed look good again. When I move the chart back to the original monitor I have to repeat that process.
Question: is there a way to program my EA to 'auto-sense' the dimensions of the monitor and place the objects on my chart accordingly
without having to constantly reset all the parameters?
Thanks in advance for your help.
Lucas