You can play with some Variables or blocks from the Flags category to switch between "above" and "below". I think you want to remember that you reached the "above" or "below" level, so you at any time you can check for the correct side (above or below). Variables are used to remember values, and also those Flags blocks do the same job. You can even use some object on the chart as a memory.
E