Guys,
I'm looking to back-test some formula stuff and looking there fore to use the strategy object. Got it working and getting some reasoanble results but I want to reflect them on a chart as well. I'm using the basic Strategy.doLong and Strategy.doShort calls but I was wondering if in the object there is the price that they are realistically filled at. I've got some images drawn on the chart but they seem to not always accurately reflect the entry and exit.
I'm always using the Strategy.MARKET and Strategy.THISBAR settings so can I use the current close() as a reference or is there a way to get the actual values?
TIA
I'm looking to back-test some formula stuff and looking there fore to use the strategy object. Got it working and getting some reasoanble results but I want to reflect them on a chart as well. I'm using the basic Strategy.doLong and Strategy.doShort calls but I was wondering if in the object there is the price that they are realistically filled at. I've got some images drawn on the chart but they seem to not always accurately reflect the entry and exit.
I'm always using the Strategy.MARKET and Strategy.THISBAR settings so can I use the current close() as a reference or is there a way to get the actual values?
TIA
Comment