Need code for yesterday high

I need code whenever LTP crosses above yesterday high.is it possible ?

Tradescript on Pi does not support referencing to Yesterday’s candle values.