The two dashes -- are added automatically by Gmail. Their addition and default positioning of the signature (below the current message or chaining at the end of the email thread) is controlled by the same operator.
Go to Gmail settings
Scroll down to a section Signature
Right under your signature, tick the checkbox followed by text: