window size of of the customm indicator

 
i am builting a type of rsi custom indicator and i want the window to be between the values 0 an 100....how do i do that