close trading position when cci cross 0 level

 

Hi,


I am a rookie on programing and i want to set for an EA to close an opened trading possition after the cci cross 0 level( can be like stop loss)


Can someone help me?


Thank you and i wish you all Happy New Year!