How to write the supertrend condition in a correct manner?

Usually, when I want super trend green buy condition I write it as close crosses above supertrend… but in CTB it is the opposite. It uses supertrend crosses below close.

Was I writing it incorrectly the whole time?

Hi @Shlok_trades

You are writing it correctly. It’s just another way of writing a green supertrend signal. Close(0) crosses above Supertrend is same as Supertrend crosses below Close(0).