I need help with this code

I need help here when i compile or tyr to run the ea it gives me this two error messages
Read the message, understand i and fix it
  1. Don't post pictures of code, they are too hard to read.

    Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
              General rules and best pratices of the Forum. - General - MQL5 programming forum (2019)
              Messages Editor

  2. Lines 162 and 166 are if(condition) misssingStatement;