#property copyright "neo" #property link "http://www.metaquotes.net" #property indicator_chart_window int init() { return(0); } int deinit() { int j,count; int objtot=ObjectsTotal(); for (j=objtot-1; j>=0; j--) { if(StringSubstr(ObjectName(j),0,4)=="illu" && ObjectType(ObjectName(j))==OBJ_TEXT) ObjectDelete(ObjectName(j)); //count--; } return(0); } int start() { double price1; int j,count,k=0; int objtot=ObjectsTotal(); string nameH[],null_string; //----------------- filter out all horizontal lines for (j=0; j