What this wrong?

#include <Servo.h> // include Servo library 

Servo horizontal; // horizontal servo
int servoh = 90;     // stand horizontal servo

Servo vertical;   // vertical servo 
int servov = 90;     // stand vertical servo

// LDR pin connections
//  name  = analogpin;
int ldrlt = 0; //LDR top left
int ldrrt = 1; //LDR top rigt
int ldrld = 2; //LDR down left
int ldrrd = 3; //ldr down rigt

void setup()
{
  Serial.begin(9600);
// servo connections
// name.attacht(pin);
  horizontal.attach(9); 
  vertical.attach(10);
}

void loop() 
{
  int lt = analogRead(ldrlt); // top left
  int rt = analogRead(ldrrt); // top right
  int ld = analogRead(ldrld); // down left
  int rd = analogRead(ldrrd); // down rigt
  
  int dtime = analogRead(4)/20; // read potentiometers  
  int tol = analogRead(5)/4;
  
  int avt = (lt + rt) / 2; // average value top
  int avd = (ld + rd) / 2; // average value down
  int avl = (lt + ld) / 2; // average value left
  int avr = (rt + rd) / 2; // average value right

  int dvert = avt - avd; // check the diffirence of up and down
  int dhoriz = avl - avr;// check the diffirence og left and rigt
    
  if (-1*tol > dvert || dvert > tol) // check if the diffirence is in the tolerance else change vertical angle
  {
  if (avt > avd)
  {
    servov = ++servov;
     if (servov > 180) 
     { 
      servov = 180;
     }
  }
  else if (avt < avd)
  {
    servov= --servov;
    if (servov < 0)
  {
    servov = 0;
  }
  }
  vertical.write(servov);
  }
  
  if (-1*tol > dhoriz || dhoriz > tol) // check if the diffirence is in the tolerance else change horizontal angle
  {
  if (avl > avr)
  {
    servoh = --servoh;
    if (servoh < 0)
    {
    servoh = 0;
    }
  }
  else if (avl < avr)
  {
    servoh = ++servoh;
     if (servoh > 180)
     {
     servoh = 180;
     }
  }
  else if (avl = avr)
  {
    // nothing
  }
  horizontal.write(servoh);
  }
   delay(dtime); 
}

hai friend all
can help me
this code what wrong?
not working?
can help me friend
but want to connect to blynk
this link http://www.instructables.com/id/Arduino-Solar-Tracker/?ALLSTEPS

You’ll get a better response if you describe what you are trying to achieve, and how it is not working, as well as basic information about the device you’re using, etc.

That said, if your issue is a failure to connect to the Blynk server, you’ll need the relevant calls to Blynk in your code.

// At the top of your sketch, include the relevant blynk headers, e.g. for Yun, something like
// #include <Bridge.h>
// #include <YunClient.h>
// #include <YunServer.h>
// #include <BlynkSimpleYun.h>

char *auth = "your.auth.token.here";    // You get this token from the Blynk app itself.

void setup(void) {
    Blynk.begin(auth);
    ...
}

void loop(void) {
    ...
    Blynk.run();
}

That should be enough to get you started down the right path. If you still experience failure, describe precisely what you are trying to do, and what is not working, and maybe you’ll receive more assistance.

thank’s your answer ^^