Let it running for 24 hrs and see what the percentage of strong messages is.
If it is higher then 5% reduce the gain.
Sometimes it can’t be lowered due to environment circumstances but that is totally dependant on your local environment.
Max gain for the orange dongle is indeed 49,6.
There is some code around that will periodically check the gain level and adjust it for you. Look around for autogain1090 on GitHub. I have been running it for a while but I’d have to check my notes to see how it is installed. It runs each afternoon and checks the percentage of messages that are over -3dB.
First question: What is YOUR major interest (it makes a difference to the “best” gain setting).
You may be interested in:
Range - the greatest distance you can get
Planes - the max number of planes you can spot
Message count - number of messages per plane per day
Uninterrupted local reception
other?
Without explaining why, raising your gain to maximise range usually results in close aircraft overloading the receiver causing distorted/un-decodable messages.
Dropping the gain so you don’t lose local positions will usually cost you max. range.
It’s your station, so you get to optimise it to suit your interests.