The orders can be in place for a maximum of two years and must be reviewed by the courts after 12 months, with orders issued to under-18s to be reviewed more regularly.
The courts can also call for a range of activities to take place such as educational courses, sports club referrals, relationship counselling, anger management, mentoring and drug rehabilitation under the orders.
Breaching the order will be a criminal offence, punishable by a maximum prison sentence of two years if convicted.
It comes after a number of knife attacks including killings in Southend and south Essex.
Luke Bellfield, 18, from Rayleigh was murdered in a knife attack near the Peterboat in Old Leigh on February 25.