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
Jan
I assigned 0 to both of them upon the very first time the indicator is loaded, they will however be changed to Bid the very moment the price moves for the first time and then maximum values will be assigned to them respectively. I chose this method instead of the init function. Maymay, think and try the code first before saying it makes no sense.
Jan
because your first code was wrong , I thought the second might be wrong too .
I meant the statement like "int x=integer ;" is not neccesally used as a first diffinition in MQL4 and
the one like "int x ;" can be used .
so I dared to use "x" different from "y".