The present paper models the restricted three body problem, considering the generalization that the orbits of the primaries are taken to be elliptic and the two primaries are considered to be sources of radiation and all three participating bodies are considered as oblate spheroids. Hamiltonian of the problema is derived and then normalized using well-established normalization techniques. The range of values of µ and e for the linear stability of triangular equilibrium points have been found in presence of resonance. The stability of some of the cases of third order resonances has been simulated and explored graphically. The linear stability is observed in the resonance cases 3λ2 = −1, 3λ2 = −2 and λ1 + 2λ2 = 0, where as the triangular points are found to be linearly unstable in the case λ1 − 2λ2 = 2.