We construct quadratic quantum algebra based on the dynamical RLL-relation for the quantum $R$-matrix related to $SL(NM)$-bundles with nontrivial characteristic class over elliptic curve. This $R$-matrix generalizes simultaneously the elliptic nondynamical Baxter--Belavin and the dynamical Felder $R$-matrices,and the obtained quadratic relations generalize both -- the Sklyanin algebra and the relations in the Felder-Tarasov-Varchenko elliptic quantum group, which are reproduced in the particular cases $M=1$ and $N=1$ respectively.