Triangle pattern conditions

On a 5-minute chart, I want to develop an Intraday option selling strategy for Bank Nifty that includes a triangle pattern. Please help me create the condition.

@Market_Monarchs Check out the image below to learn how to create the conditions: