Apologies for the late reply, MXASJ. I like your bool idea a lot. Though I coudn't install into 6.5, it looks like I can copy and paste from the .cs without a problem. If and when I ever trust myself again, I will definitely update to this.
Thanks and nice work.
P.S. As promised, I've posted an updated version of the strat (see first post). It now cancels perfectly and plots arrows and chart names.
Hey Dave, thanks for the update.
Not sure if the moderator has a special way to do this but if you could save your new file name with the v# before zipping, as well as posting the updates in the header of the cs file, we could be sure we have the most current version - ie if your zip is named v1.1, it'd be good if the cs file also has the designation. I can't put "." in filenames though so my way of doing that may not be the preferred method.
Good idea. Done and done. I can't use symbols either so I called it v1point1 in the code. Question, though...even though the updated version downloads properly, it says v1.0 when you click the download link. Any chance you know how to change that?
You mean to have it actually trade for you? Either click the strategy icon on the chart toolbar and add it like you would an indicator or right click on chart and hit strategies. Make sure to select your live or sim account at the top, once you've added it. If you meant something else, let me know.
I was thinking about doing something similar by separating out the modular portions of strategy building in general. The "base" part of it (borrowing from object oriented programming) handles the trade management that I'm finding is common to most of my strategies while the extensions to the base handles the logic of the entry signals.
The following user says Thank You to cbritton for this post:
I like this approach, but how do you define short-term ATR and long-term ATR? Is the long term ATR based on a different timeframe? For example, the short-term ATR is the ATR(some length) for 1 minute charts and long-term is the same on 5 minute charts?