You will need to place the condition to trade on top of the "OnTrade" section.

0_1554294265823_53c28bf7-1094-4e00-a123-33fd904c8d9a-image.png