On Long entry the histogram draws a bar with value 2
On Long exit the histogram draws a bar with value 1
On Short entry the histogram draws a bar with value -2
On Short exit the histogram draws a bar with value -1
Colour coded bars would be even nicer. That way we can easily see where the strategy would have entered and exited in the past.