yes it's so hard but this strategy work very well. In your example i think you mean this https://fxdreema.com/shared/rShdtBC4e i have an error when compile the code with mt4 editor https://s16.postimg.org/c2qm3t33l/2016_11_13.png
but create an indicator that draw me the 2 lines I believe that I can greatly simplify the code because the condition would be only if the price is equal to a line (resistance or support) - do something. But to create a simple indicator like this I don't know where to start