Login Page - Create Account

Support Board

Date/Time: Sat, 19 Jan 2019 05:26:21 +0000

Post From: Offering To The Community: Brett's Multi-Function Trailing Stop

[2015-10-15 16:27:34]
bjohnson777 (Brett Johnson) - Posts: 251
@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.