I suspect you copied it to experts/indicators and ran it as an Indicator, you should copy it to experts/ and run it as an EA (Expert Advisor)
Thanks RaptorUK.
Actually, it is EA.
Just as I read your replay, I click on the Expert Advisor and Alert keep showing up and yes never stop :)
I wonder it is required to click on EA to see the Alert?
Thansk,
Harry
i don't think u r on the same page with scfx
[...]
Once click ok, the first Alert show up as planned. Funct. init() triggered at start
And it is all I got from the program :(
[...]
Yeah Raptor UK.
You are right!
Thanks a lot.
I have been working with SAS programming and it is my first time on MT4.
Hope you are still around helping when seeing SCFX questions :)
Thanks,
Harry
Hope you are still around helping when seeing SCFX questions :)
Thanks,
Harry
Another question please.
Now I can get EA running with alert show up nicely. When I want to kill a EA, I simply remove the EA from chart or click on the EA (to make it X-red).
However, in the Alert Tab, there are still alert of one of the EA I wrote and run before (i dont know on which chart). I dont know how to kill that EA.
I go through all chart 1 by 1, making sure that I remove all EA. Yep, still the alert pop up on the Alert tab.
How could we check all processes that are running and how to kill them?
Thanks a lot,
Harry.
Another question please.
Now I can get EA running with alert show up nicely. When I want to kill a EA, I simply remove the EA from chart or click on the EA (to make it X-red).
Harry.
I go through all chart 1 by 1, making sure that I remove all EA. Yep, still the alert pop up on the Alert tab.
How could we check all processes that are running and how to kill them?
You have to go through chart by chart to find where the EA is . . . but if you have clicked Expert Advisors so it goes to a Red X then that will halt all EAs running. Are you sure that Alert is caused by an EA ? could it be caused by an Indicator or Script or manually set Alert ?
In your EA above, if you had done this it would have made things clearer . . .
Alert (Symbol(), ": Funct. init() triggered at start"); // Alert
You have to go through chart by chart to find where the EA is . . . but if you have clicked Expert Advisors so it goes to a Red X then that will halt all EAs running. Are you sure that Alert is caused by an EA ? could it be caused by an Indicator or Script or manually set Alert ?
In your EA above, if you had done this it would have made things clearer . . .
he was referring "alert" as in what he saw in Tab
"However, in the Alert Tab, there are still alert"
- 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 guys,
I try the very first code in MQL4book below.
https://book.mql4.com/programm/execution
The compilation is fine.
When I "drag and drop" it to a chart, the window show up and I leave it default: Checking only "Enable Alert" and "Allow import of external experts"
Once click ok, the first Alert show up as planned. Funct. init() triggered at start
And it is all I got from the program :(
I leave it for 9 hours and nothing happen. No more Alert in the window.
I suspect that the setting of my terminal might cause this trouble.
I appreciate if you could help me to solve this issue.
Many thanks.
Harry