In my humble opinion, there is no Chinese grammar, not in the sense that English or French has formal and rigid grammatical rules.
The best way to learn to write (and speak) good native Chinese is fivefold:
1. Follow a good Chinese course which forbids the use of English, taught by qualified native speakers.
2. Faithfully follow the official HSK syllabus, using standard textbooks.
3. Read a lot of Chinese texts of all kinds - news, leisure, fashion, health, food.
4. Make a lot of native speaker friends and spend time with them.
5. Write a lot (phone texts, Whatsapp, wechat, short essays) and let your Chinese friends correct you.
Finally, if time and money permit, spend a year in Beijing at a university on a full time Chinese course.