@run-out I've tried it with the attached attribute, but unfortunately, I get an
AttributeError: 'Lines_LineSeries_DataSeries_OHLC_OHLCDateTime_Abst' object has no attribute 'enter_price
Best posts made by stanski
RE: Problem fetching execution price
@run-out well, whatever I do now with
self.datas.enter_pricein terms of multiplication or addition, I get a
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'
I'm considering to discard this idea. This is actually an alternative try-out for a percentage-based take profit, which I couldn't get working in another way.
Maybe I should post the initial code in a new post