It does work! It turns out I had not spelled something correctly and it was trying to check a custom enum rather than the output of the enum. Now I can remove about 50 unrequired blocks in my ea, yikes.
I took a course to learn the basics of fxdreema and now i'm seeing that it can be very complicated. do you have any suggestions on where to go to learn the more advanced concepts. Basically what i need to learn is how to get trades to enter and exit after crossing above or below indicators by a certain amount. I also need to learn how to check if things happened "N" candles in the past.
How and when is the 'occur' variable reset? You are close to what I suggested, but you are still connecting all blocks together when I said they need to be separated.
Do you need the box for internal calculation of for visual reasons only? Drawing objects is always messy and most of the time unnecessary because you can get the same result with variables.