A little help coding

[Deleted]  
I have an expert advisor which is not working right. Adding and changing some features.