Darsey wrote:I made because I thought that he will play S17, S18. He should capture my rock in R16 because I could give fight. In my plan, I thought that I could finish good in this joseki in gote, he could attack or make a shimari.
This isn't a joseki. To start with, as Ed said,

is strange, o16 is better but it's ok for your level. But the big problem is r16 and then r18 (in fact r16 is a strong move as you have the ladder but is quite advanced). If he would capture it why did you play it? Sometimes it can be ok to sacrifice a stone (we don't call them rocks!) if you get enough compensation from it (in fact you often sacrifice two stone to get more forcing moves), but here you don't get much in return and even worse create a cutting point in your shape at 6 because you gave white a stone at 2:
$$B
$$ ----------------+
$$ . . . . . . . . |
$$ . . . . 7 3 5 . |
$$ . . . 6 # O 4 . |
$$ . . a # 2 1 . . |
$$ . . . . O . . . |
$$ . . . . . . . . |
$$ . . . . . . . . |
- Click Here To Show Diagram Code
[go]$$B
$$ ----------------+
$$ . . . . . . . . |
$$ . . . . 7 3 5 . |
$$ . . . 6 # O 4 . |
$$ . . a # 2 1 . . |
$$ . . . . O . . . |
$$ . . . . . . . . |
$$ . . . . . . . . |[/go]
Now because white doesn't have the ladder at
a he could just capture the r16 stone and you then have to capture that cutting stone because you created a weakness in your shape (9 10 push first probably good).
$$Wm8
$$ ----------------+
$$ . . . . . . . . |
$$ . . . . X X X . |
$$ . . 4 O X O O . |
$$ . . . X O X 1 . |
$$ . . . 2 O . . . |
$$ . . . . 3 . . . |
$$ . . . . . . . . |
- Click Here To Show Diagram Code
[go]$$Wm8
$$ ----------------+
$$ . . . . . . . . |
$$ . . . . X X X . |
$$ . . 4 O X O O . |
$$ . . . X O X 1 . |
$$ . . . 2 O . . . |
$$ . . . . 3 . . . |
$$ . . . . . . . . |[/go]
White could also think about going for the outside and letting you have the corner:
$$Wm8
$$ ----------------+
$$ . . . . . . . . |
$$ . . . . X X X . |
$$ . . 1 O X O O . |
$$ . . . X O X . . |
$$ . . . . O 2 . . |
$$ . . . . 3 . . . |
$$ . . . . . . . . |
- Click Here To Show Diagram Code
[go]$$Wm8
$$ ----------------+
$$ . . . . . . . . |
$$ . . . . X X X . |
$$ . . 1 O X O O . |
$$ . . . X O X . . |
$$ . . . . O 2 . . |
$$ . . . . 3 . . . |
$$ . . . . . . . . |[/go]
So it would be a lot better not to create that cutting point in your shape and simply play calmly like this:
$$B
$$ ----------------+
$$ . . . . . . . . |
$$ . . . . . 1 3 . |
$$ . . . . X O . . |
$$ . . . X , 2 . . |
$$ . . . . O . . . |
$$ . . . . . . . . |
$$ . . . . . . . . |
$$ . . . . . 4 . . |
$$ . . . . . . . . |
- Click Here To Show Diagram Code
[go]$$B
$$ ----------------+
$$ . . . . . . . . |
$$ . . . . . 1 3 . |
$$ . . . . X O . . |
$$ . . . X , 2 . . |
$$ . . . . O . . . |
$$ . . . . . . . . |
$$ . . . . . . . . |
$$ . . . . . 4 . . |
$$ . . . . . . . . |[/go]
However, if you do get into bad position, there is still a better way to handle it than

@ s18.
$$B
$$ ----------------+
$$ . . . . . . . . |
$$ . . . 1 . X . . |
$$ . . . a X O O . |
$$ . . . X O X . . |
$$ . . . . O . . . |
$$ . . . . . . . . |
$$ . . . . . . . . |
$$ . . . . . . . . |
- Click Here To Show Diagram Code
[go]$$B
$$ ----------------+
$$ . . . . . . . . |
$$ . . . 1 . X . . |
$$ . . . a X O O . |
$$ . . . X O X . . |
$$ . . . . O . . . |
$$ . . . . . . . . |
$$ . . . . . . . . |
$$ . . . . . . . . |[/go]
Why is this better? It fixes your cutting point at
a. So would simply connecting at
a, but this hanging connection actually does two things: it is also sente to capture white's two corner stones (as it also defends the cutting point at
b so you can hane and take a liberty with 5):
$$B
$$ ----------------+
$$ . . . . . . 5 . |
$$ . . . 1 b X 4 . |
$$ . . . . X O O . |
$$ . . . X O X 3 . |
$$ . . . . O . . . |
$$ . . . . . . . . |
$$ . 2 . . . . . . |
$$ . . . . . . . . |
- Click Here To Show Diagram Code
[go]$$B
$$ ----------------+
$$ . . . . . . 5 . |
$$ . . . 1 b X 4 . |
$$ . . . . X O O . |
$$ . . . X O X 3 . |
$$ . . . . O . . . |
$$ . . . . . . . . |
$$ . 2 . . . . . . |
$$ . . . . . . . . |[/go]
So white would defend like this, and you would not need to take gote to defend your cutting point like before, though it would still probably be sensible to take gote to extend like this:
$$B
$$ --------------------+
$$ . . . . . . . . 3 . |
$$ . . . . . 1 , X 2 . |
$$ . 5 . . . . X O O . |
$$ , . . . . X O X . . |
$$ . . . . . . O 4 . . |
$$ . . . . . . . . . . |
$$ . . . . . . . . . . |
$$ . . . . . . . . . . |
- Click Here To Show Diagram Code
[go]$$B
$$ --------------------+
$$ . . . . . . . . 3 . |
$$ . . . . . 1 , X 2 . |
$$ . 5 . . . . X O O . |
$$ , . . . . X O X . . |
$$ . . . . . . O 4 . . |
$$ . . . . . . . . . . |
$$ . . . . . . . . . . |
$$ . . . . . . . . . . |[/go]
There is a similar shape to this that often appears near the edge of the board:
$$W
$$ . . . . . . |
$$ . . . . . . |
$$ . . X . . . |
$$ . . X O 2 . |
$$ . . O X X . |
$$ . . . O 1 . |
$$ . . . . . . |
$$ . . . . . . |
- Click Here To Show Diagram Code
[go]$$W
$$ . . . . . . |
$$ . . . . . . |
$$ . . X . . . |
$$ . . X O 2 . |
$$ . . O X X . |
$$ . . . O 1 . |
$$ . . . . . . |
$$ . . . . . . |[/go]

is obviously sente to capture the black two stones, but after black defends white still has a cut. What move would be better?