Volume and RSI Code for Interday need code Please

Dear ,

I need code for RSI 6 , and Volume High and Open Interest High

Select Stock for Interday Trading RSI 6 Below 20 and Volume High Greater then 40 Days (Not 40 Days Average) and Open Interest High

For Trading Market Open after 45 Min Buy above Day High SL 1% TG 1%

Select Stock for Interday Trading RSI 6 Above 80 and Volume High Greater then 40 Days (Not 40 Days Average) and Open Interest High

For Trading Market Open after 45 Min Sell Below Day Low SL 1% TG 1%

For the above condition it is not possible to code based on open interest and percentage with tradescript. the tradescript works based on OHLC conditions