Giraia calculates the place of the current (bid) price relative to the high and low of the currently forming candle. When the current price is at the reduced, the value is 0, at the high it is 100, if exactly at the midpoint it is 50, if it is 27% of the way up the candle it is 27, and so on. Afterward it averages these values across all pairs for a given currency. If you set TimeFrame to D1, it is the currently forming D1 candle, even if you set TimeFrame to H4, it is the currently forming H4 candle, etc.
RefreshPeriod is just how frequently the indior recalculates and updates itself:
#61623; T = each tick
OR
#61623; M1, M5, M15 etc on the first tick of each M1, M5, M15, etc (i.e. complete timeframes, TF stays'locked' even in the event that you switch charts). Hence if you wanted it to update once every 5 minutes, then you'd kind M5
OR
#61623; 0 = the initial tick of each new candle on the current chart, 1 = initial tick of each new candle on another longer TF, -1 = initial tick of each new candle of another briefer TF, etc.. Hence if the current chart is H4: 0 = H4, 1 = D1, 2 = W1, etc; -1 =H1, -2 = M30, etc. (i.e. relative to the TF of the current chart, TF changes as you alter charts)
I really don't have a Giraia indior whose calculation is based on earlier trademarks.