Buy Bid / Sell Ask (Chart Trader buttons)

Hey,

I am trying to code a strategy with custom Chart Trader objects and I would like to remove default Buy Mkt, Sell Mkt and other buttons.

I just want to know how to replicate the behavior / actions of Buy Bid and Sell Ask buttons to the custom buttons I created.

So far my efforts have not been successful.