@l-andorrĂ  That also happens on mq4 projects. I spend hours once to find my error in metaeditor as it wouldn't compile.
If I remember correctly in my case I left blank the fixed SL and changed to risk percent. That always didn't compile due to zero divide.

Before I knew the reason I fixed it by recursively deleting blocks and create them again.