it depends on the situation and the relationship with others . most of the time , ni chi le ma ? use to a person you already konw for each other , not for a stranger . but if you have a very close relationship with a person , you will skip the greeting , say the things you wanna say directly . so i think ni chi le ma ? can use to a person , who you know for each other , but not very colse , such as your neighbor , when you use ni Chi le ma , you don't need to say hello ,before it , it can relpace with ni hao, cause when you meet your neighbor at a supermarket, say nihao, show distance , your neighbor might think , hello , i am who live near your house , not somebody you don't know . so in this situation , you can use ,ni chi le ma ? directly ,to start a conversation .