I have a question concerning Adopt Account Position:
Since I regularly restart NT8 while in a strategy-entered position, I’m required to use adopt account position so my strategies pick up where they've left off (as I understand it anyway). This has been working great. However, my issue is the strategy now starts with an adopted position (intended) but basically starts at day 1 with any int counters or anything else I’m updating using historical data (not intended).
What I'm really needing to keep track of is historical daily close values, starting from the date the trade was placed. I’ve attempted using Close[i], where i = BarsSinceEntryExecution(), then decrement to reach current day via loop, but when the strategy adopts the account position, BarsSinceEntryExecution() is always 1, even though the actual execution occurred weeks before.
Is there a way I can access the real execution date (# of bars ago) while still using adopt account position?
Thanks,
Ryan
Comment