Ok i think i got it,
if i use #define instead of enum it works.

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
SOLVED !!!!
Hello awesome community,
maybe someone can help me with this simple question. I was not able to find an answer in the forum or to solve this on my own.
I have two Include files: CListofCandles and CPeriod
when i try to call a function in CPeriod.mqh from CListCandles.mqh which contains the self created enum i get two errors:
1. Bullish - undeclared identifier
2. Bullish - cannot convert enum
Does someone has any idea how to solve the error
Best regards
:)