If I cannot communicate the below to you, then I have failed, and I will bow out of this discussion.
//pseudocode: If account position is not flat, process [I]Historical [/I]bars. If account position is flat, but processing [I]Historical[/I] bars makes the Strategy inMarket, then do not process Historical bars.
Sorry, I know this is confusing, and I realize this is not a problem you would normally encounter. I would prefer not to flatten the account to sync the two. I would like the strategy to realize that it's still long and wait for the next sell signal to flatten the account. This comes back to finding a way to "trick" the strategy into being long/flat/short based on the account position. Again, if anybody has attempted this I would really like some pointers!
Comment