Filter stocks using PI application

Hi,

i want to run the following Condition on nifty 50 stocks. i want to filter the stocks which are fulfill the following condition (Intra Day Basis). Please help me to write the script for PI scanner.

1st Condition for long positions Day open is equal to day low

2nd Condition for short positions Day close is equal to day low

Thanks.