'Ahmed had written stories since he was a child.'
This form [past perfect] is used if you are writing or speaking in the past tense, and referring to events which were already in the past at the time that you are writing about, and is relevant to events at the time of the account.
'The young man was well known for his interesting and entertaining accounts of life in the countryside. Ahmed had written stories since he was a child, before his family moved to the city.'
The continuous form 'Ahmed had been writing stories since he was a child' is used if the account is in the past, is relevant to events at the time of the account, and may still be occurring [i.e. he may still be writing stories].
'A respectful hush descended on the room as everyone settled down to listen to the young man, who was well known for his interesting and entertaining accounts of life in the countryside. Ahmed had been writing stories since he was a child, before his family moved to the city'.
Marking is a matter for the examiner.