Have you been reading the MQL4 Tutorial??? Programming in Algorithmic Language MQL4 - Introductory Course
GREAT way to answer all your questions...
EAs called by Client Terminal every data tick received from trade server (if EA not already running)
Time[0] only changes on first data tick of new bar. Why? because Time[] is array of bar open times. Open times are constant for a bar, yes?
knowing that current bar (Time[0]) is != barTimeWhenYourConditionMet is trigger telling you that "the signal on the very first bar after the conditions are met."
new bar detection: Identifying the open and close of a bar in an EA
have fun
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello All,
I have series of conditions.
If the RSI is greater than 50, if this and that line are crossed, etc.
I need an easy... or difficult way to handle the signal on the very first bar after the conditions are met.
The EA keeps firing on every bar once my conditions are met.
Thanks in advance.
Sincerely appreciate the help.
Mike