@gerry You can do it both ways. Using notify_order you are setting up the stop trail after being notified of the first order completing. If you use Bracket it does that job for you.
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/