Streak Algo: today's open is equal to previous day's close and MIS trade leverage

Q1) Is there a way to code in Streak the following:

today’s open is equal to previous day’s close

This is in order to avoid trading on day when there’s a gap or gap down. Rest of the conditions are on 10 minute candles.

Q2) Does doing MIS trade in Streak give leverage?
I ran backtest for HDFC with capital 100000 and order size of 100. It was giving the following error

NO TRADES WERE EXECUTED FOR THIS ALGORITHM SINCE THE INITIAL CAPITAL IS TOO LOW.
INCREASE THE INITIAL CAPITAL AND RUN BACKTEST

In Equity margins - Zerodha Margin Calculator , I checked the margin provided is 8x and with capital of 100000 I can trade 461 quantities.

Can someone clarify?

@Streak