For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Creating buy order with trailing stop and take profit. All in one

Log in to reply

Looks like your connection to Backtrader Community was lost, please wait while we try to reconnect.