Hello Pucio
Without seeing ALL code for overall context in which Alert() is being used, unlikely you get answered...
Have you read this? MQL4 Tutorial - Basics of the Language - Program Types
and...
Have you been reading the MQL4 Tutorial??? Programming in Algorithmic Language MQL4 - Introductory Course
regards

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
I wrote Alert but it only works when I open window with my indicator. It works only also when I jump beetwen charts windows, in other words when I jump between charts time levels. It seems that indicator can not count when whorks. How can I solve my problem ? Need help. Is it conected with Indicatorcounted ? Should I do something in parameter of Alert. How to do it ?
Should I use something like:
double
? = ObjectGetValueByShift(string name, int shift));
if (???????????)
Alert("Pattern on " + Symbol() + " " + Period());
Can someone please to write example of Alert once (Alert one). I would like to write Alert one at the moment when the code shows Line in my indicator on the chart.
Pucio