Need help to code this strategy

can someone plz tell me how to code this
buy = when price is moving above 200 ema without touching the 200ema AND supertrend should turn from -ve to +ve at the same time the next timeframe ie 15min should have stayed +ve even when 10min supertrend had been to -ve.IMG_01 IMG_02

Hi @bu1

Help seekers are required to complete this process.