![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
I'm building a stochastic oscillattor from scratch based on the one built by MT4-5 team and located and named as Stochastic in the 'Indicators' folder.
Supposing they do not possess any value, how can constant variables like rates_total and prev_calculated be inserted in if operators as conditions?
Are these lines crucial for regular functioning of the indicator? Sorry if I don't get the point.
Here is a little part of the code:
Thank you in advance!