Questions from Beginners MQL5 MT5 MetaTrader 5 - page 482
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 task is and is quite simple.
When the window is changed or scrolled,OnChartEvent is called, it passes an event without parameters:
CHARTEVENT_CHART_CHANGEchart change event
If this event occurs, we determine the left and right visible bar and within these limits find all arrows in the indicator window. If found, we move it to the necessary boundary. When creating arrows, give them names such as UpArrow***** and DownArrow***** to avoid troubles related to the analysis. Then just in case, call ChartRedraw.
Alexey, didn't you try to estimate how this "rather simple" task will work? You are a professional programmer with system education, while I am self-taught on learning, applying and modifying working algorithms. I will not be able to master it, that's why I am asking questions. I have been sweating over this problem for a fortnight now. Please help me, if it is not too much trouble for you.
I am a radio designer by training )). That is, I was not even taught electronics (it was the bare minimum) and not programming, but how to design a box for radio equipment )). But I was pretty good at that time, I learned it myself. Then I also learned programming from scratch by myself. So, you don't need a college degree in our field). You need the desire and hard work.
On the subject. Are we writing for 4's or 5's?
I am a radio designer by training )). That is, I was not even taught electronics (it was the bare minimum) and not programming, but how to design a box for radio equipment )). But I was pretty good at that time, I learned it myself. Then I also learned programming from scratch by myself. So, you don't need a college degree in our field). You need the desire and hard work.
On the subject. Do we write for 4 or 5?
I have a similar story. I started programming because of boredom, now I am able to do it on mql and C# (for my purposes my skills are enough, of course I don't consider myself a super-professional, and I have no one to compare them with).
I am a radio designer by training )). That is, I was not even taught electronics (it was the bare minimum) and not programming, but how to design a box for radio equipment )). But I was pretty good at that time, I learned it myself. Then I also learned programming from scratch by myself. So, you don't need a college degree in our field). You need the desire and hard work.
On the subject. Do we write for 4 or 5?
Forcibly erase the history archive folder and run the terminal - then load all the quotes.
Thanks for the reply Alex, but to do no harm, where is that folder ?
Choose a folder by the name of your account and rub
Good luck!
The task is and is quite simple.
When the window is changed or scrolled,OnChartEvent is called, it passes an event without parameters:
CHARTEVENT_CHART_CHANGEchart change event
If this event occurs, we determine the left and right visible bar and within these limits find all arrows in the indicator window. If it is found, we move it to the desired boundary. When creating arrows, give them names such as UpArrow***** and DownArrow***** to avoid troubles related to the analysis. Then just in case, call ChartRedraw.
I thought the question was about the indicator window, not the chart. I wrote that somewhere, but couldn't find it. Maybe I didn't have enough patience... In general, the principle is the same, the maximum and minimum of the indicator are determined in the visible part and the necessary actions are performed in this area.
Choose a folder by the name of your account and rub
Good luck!
Where can I download the quote file in MT5 now ?