My name is XXXXX XXXXX I am an experienced criminal
Police are allowed to take you in if they have probable cause
to believe you might be involved in a crime. Probable cause needs only a very low standard of evidence, so it's arguable that, depending upon the facts and circumstances, the presence of a gun and cash in an amount not usually left lying around the house might be enough to justify the detention.
From there, if they read you your rights before interrogation
and didn't detain you longer than it took for them to figure out that you committed no crimes, their behavior would be lawful.
That doesn't mean that they have the right to harass you therafter, whenever they feel like it. That is something that does violate your civil rights, and you can file complaints
and have the officer and his policies investigated. You can report him to his superiors, file another with Internal Affairs and still another with the State Attorney General's Office, citing a course of police harassment when you are a law-abiding citizen.
If the investigation
confirms your allegations, the officer can be sanctioned, even suspended and you can make the officer's life at least as uncomfortable as he's making yours. Send a copy of the reports to the ACLU.
While they have too much on their plate to take on individual matters, they are a powerful advocacy force in the area of civil rights. If they get enough reports to see that a particular police force has a pattern of violating the rights of its citizens, they can and do take on the job of bringing them to court