int start() { int prev=0; int prevarrow=0,arrowtotal; // drawn on the chart int lastvisiblebar; // index of it int obttl,j,k,handle; string namearray[],name; while (1>0) // endless loop, thanks to Sleep().... { lastvisiblebar=WindowFirstVisibleBar()-WindowBarsPerChart(); //======= if press F12 then ============================= if(lastvisiblebar != prev) { obttl=ObjectsTotal(); arrowtotal=0; //....... make arrows an Array ................... for (j=0,k=0; j