//************************************************** //* RoundNr.mq4 (No Copyright) * //* * //* Draws horizontal lines at round price levels * //* * //* Written by: Totoro @ forexfactory.com * //************************************************** #property indicator_chart_window extern double LineSpace = 1; // 1 unit = 0.01 of basic value (e.g. 1 USD cent) extern color LineColor = DeepPink; extern int LineStyle = 2; extern string LineStyleInfo = "0=Solid,1=Dash,2=Dot,3=DashDot,4=DashDotDot"; extern string LineText = "RoundNr "; double LineSpaceOld; double Hoch; double Tief; bool FirstRun = true; int deinit() { double AbSpace = 0.01*LineSpace; double Oben = MathRound(110*Hoch)/100; double Unten = MathRound(80*Tief)/100; for(double i=0; i<=Oben; i+=AbSpace) { if(i