Quote from jimrockford:
You have bigger problems than trying to use the Solver. Your data are insufficient for purposes of your desired optimization. You only have the max DD and max gain of each trade. This is not sufficient to optimize for stop and target. You need the entire history of price action as a function of time, in order to optimize for stop and target. You are also more likely than not to be disappointed, if you expect the optimal stop and target, measured during a particular time period, to remain the same over future time periods.