Check The Past indicator Value

Hello I want a code to check if RSI is above 50 for the current day starting from 00:00 +2GMT/MT4 Timezone till current time