Need trade scipt code

Hello ,

I am new to trade script coding .
Can you do me a favor :-
Please help to write code for below strategy
I am using 5 min chart in 60 days time frame for back testing
strategy is :-
current price is higher than yesterday’s high
Volume is higher than 30 days volume SMA
Today’s opening is not gap up opening
Please help .