CODES

 
I need help with  some codes,I have my custom indicator that trade signals drawn by my horizontal line indicator,i want to set xx pips,if i set 5 pips and we happen to have a distance of 5 pips from horizontal line and entry EA should not trade 
 

 
:)