Pnl Block

The Pnl Block allow you to set P&L limits on per algo instance basis. You specify a positive P&L value that represents the maximum amount the trader can lose before pausing the algo. If the trader exceeds the specified loss threshold, the algo is automatically paused.

Example Pause the algo when the trader's loss is 1000 or greater.

Every time the trader's P&L updates, the block outputs a continuous message with new value through the Pnl output port. It also outputs an empty discrete message through its Event outport for your convenience, should you choose to use the event to trigger another block.

Block settings

To change default block settings, double-click the block to open the Block Editor.

Setting Description
Name Name to display beneath the block on the ADL canvas
BodyColor Background color of the block
Description Optional text to explain how the block is used