1. You gotta learn how to assembly, of course you do need to know how the game works, find address and pointers.
2. Start with a simple cheat, get your position, entity positions, and do a simple esp.
3. Just because you made your internal from the scratch doesn't mean it's undetected. I heard that they do detect any kind of hooks, I actually don't know because i haven't done it myself.