I am trying to roughly simulate trading put and call stock options. In so doing I am trying to impose a maximum allowable loss on the stock to the purchase price of the option [eg] when the stock price reaches a 2 point loss I tell the backtester to not exit the position at that price but at a price of 1 point loss. However, if the fictitious exit price is above the high of the bar on which the 2 point loss is encountered the back tester does not accept it [I think that is what is happening].
Is there a way to accomplish my objective?
Is there a way to accomplish my objective?
Comment