What is the best way to record the fill price of this strategy command in to a variable:
Strategy.doLong("Long Entry", Strategy.MARKET, Strategy.NEXTBAR, 100
I'd been doing it manually by using open, high, low commands etc. But sometimes the fill doesnt match what the strategy manager records on the back test output. Is there a way to just stick the last fill price in a variable. ex:
EntryPrice=lastFill ?
Geoff
Strategy.doLong("Long Entry", Strategy.MARKET, Strategy.NEXTBAR, 100
I'd been doing it manually by using open, high, low commands etc. But sometimes the fill doesnt match what the strategy manager records on the back test output. Is there a way to just stick the last fill price in a variable. ex:
EntryPrice=lastFill ?
Geoff
Comment