Please show the section of code as what you have posted does not make any sense.
What are the variables buy_entry and close ?
![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 am trying to create and indicator and i keep getting this error message on this one line of code
declaration without type
;buy_entry close > open[1] and close [1] < open[2]
what is the type i need to declare?