Hi

I want to open orders with take profit and stop loss like I do in metatrader 4 for FOREX.

Now I use setholding which I think doesn't work for me.

Also, do I need to specify BID or ASK price for sell and buy respectively for backtest, or does it use a midpoint?

Thanks