If by "average" you mean time-average, then no. That stuff is not correct. The formula in each case is exactly the same
% Gain = (Price at the end)/(Price at the beginning) - 1
If these are gains as of now, then "price at the end" is the current price and "price at the beginning" is the price at the beginning of the period (either 24 hours ago, or 7 days ago, or whatever). Any dividends paid out will complicate the computation as there are a few ways people might treat these.
The concept of "average" can arise if we are talking about the gains on a portfolio instead of on an individual asset. In that case the gains can be computed asset-by-asset and then a weighted average computed using the portfolio weights at the beginning as weights.
Your question has no info about your situation, so let me know if you require more detail or if this is some kind of special case.