Using the OnTradeTransaction function of mql5, how do I get the price when a buy stop order is triggered

 
Hello all, apparently this is a newbie question. I wish to get the mql5 code that listens for trade transactions using the OnTradeTransaction function and prints a message showing the price when a buy stop order is triggered. Please help as I don't even know where to start from after declaring the OnTradeTransaction function. Thank you very much
Documentation on MQL5: Language Basics / Functions / Event Handling Functions
Documentation on MQL5: Language Basics / Functions / Event Handling Functions
  • www.mql5.com
The MQL5 language provides processing of some predefined events . Functions for handling these events must be defined in a MQL5 program; function...