Check if the currency to be negotiable and waves

Consider to read this topic: Help me. Is my code wrong?