hElLO tRaDeR,
If your question is related to using Tradescript on Pi :
You can compare only candlestick conditions across the same timeframe using Tradescript.
Comparing RSI of 1 hour candle to the RSI of 15 min candle is not possible with Tradescript.
///////////////////////////////////////////////
Follow UP:
hElLO tRaDeR,
BUY SCRIPT:
RSI(CLOSE, 14) < 25
SELL SCRIPT:
RSI(CLOSE, 14) > 65
Create 2 separate scanners with 1hr and 15min interval, or use the codes as EA in 2 separate charts.