Date/Time: Wed, 18 Jul 2018 12:43:44 +0000
Post From: Offering To The Community: Brett's Multi-Function Trailing Stop
|bjohnson777 (Brett Johnson) - Posts: 224|
@Joe Hobart: I wish I did. The SC buy/sell functions only work during normal/straight operations. I had to include some preventative error management code (such for replays, redraws, recalcs, etc) to make sure the program didn't improperly handle and miss an exit condition or prematurely fire. Not screwing that up was my primary goal. There's also the issue that this program handles sells/exits only. There would have to be another program generating buy/entry points.
Since this is my first order management program, I haven't done much with Replay yet. All my tests have been in a separate normal-time chart window. As I'm shifting gears back to coding, I'll keep an eye out to see if there's an easy fix.
If anyone has a good code example, please link me and I'll try to get to it this weekend. I'll dig for the replay docs probably tomorrow. I've got some more CFP clean up eating the rest of my time today.