#SmileBASIC, 87 bytes
    INPUT N
    FOR Y=-N TO N
    FOR X=-N TO N?" \/|-     O"[(X==Y)+!(X+Y)*2+!X*3+!Y*4];
    NEXT?NEXT