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
If not a script, then all of the logic should be executed/called in/from OnChartEvent()?
You can do it anywhere. There's also a timer.
If you need cyclic logic, you can put it in a timer.
If the logic is event-driven, then in chartevent.
You can do it anywhere. There's also a timer.
If you want cyclic logic, you can put it in a timer.
If logic is event-driven, then in chartevent.
This is the logic:
1. Start of program (thrown on chartevent).
2. from the dialog box (file listing) get the file name.
3. We open the file by file name and receive and process data.
4. Exited the program.
That's all there is to it. How this case can be organised, please show at least schematically.
Such logic:
1. Start the programme (thrown on the chart).
OnInit. scanned disk, found files, created window with list (Controls).
2. from the dialog box (file listing) got the file name.
OnChartEvent. Process the mouse clicks; we know what line in the list was clicked, respectively, we know the file.
3. Opened file by file name, got data, processed.
OnChartEvent. Process mouse clicks on the "Go" button. Received the name of a file from the list. Further is purely your data processing of this file.
4. Exit the programme.
ExpertRemove()
...
Well, that clears things up now, thanks.
But, just to try it out, I made an Expert Advisor. It prints even when nothing happens on the chart - and it shouldn't:
Well, any class method is just plain code. Try parsing this code here:
Well, that clears things up now, thanks.
But, just to try it out, I made an Expert Advisor. It prints even when nothing happens on the chart - and it shouldn't:
No, no, it prints because you're moving the mouse over the chart.
No, there's a print going on because you're moving the mouse over the chart.
Good afternoon.
Question out of curiosity. Here's the code:
The idea is as follows:
It compiles in MQL without errors, it won't compile in VS (it says I can't use undefined classes). Why?
It compiles in MQL without errors, it won't compile in VS (says you can't use undefined class). Why?
Patamushta mql5 is better!
;)
Because mql5 is better!
;)