Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
7.4 4953 - so maybe this was just fixed? (I guess MC doesn't have an autoupdater/checker, right - so I should get used to checking for new versions like I do with TWS...) I will attempt an update when I can take it offline again.
My understanding is SetStopContract modifies behavior of stop loss and profit target orders. Without specifying this reserve word, a single uniform "all out" stop is hit for both stop losses and profit targets, whereas if you do specify it, the stops and targets are unique for each entry order.
Interesting - my understanding was different; I thought it meant that SetStopPosition will mean that the dollar amount fed to SetStopLoss(amount) will be calculated off the entire position, whereas with SetStopContract will mean the amount is the amount lost per contract/share; but that in either case, the entire position will be closed.
That's why I always ended up implementing my own stop order logic for any stops beyond the initial "worst case" stop - because the built-in stop, while easy to use in that it's always calculating every tick without any additional work, will always close out the whole position (and has to be set across the board at all times).
Are you saying it's possible to customize it per order? Perhaps using From Entry("name") could be used with it? I still don't think so though - that's why the included Stop Loss Strategy (only several lines total) can be applied to the chart with any other built-in strategy, because it's always for the whole position.
I guess I am not sure what you meant by this then. Again, I think it only specifies if the dollar amount is for the whole position, or per contract - not whether it applies to a stop loss vs. a profit taking order. But if I am missing something, it would be pretty important to know the subtleties.
That's great you have an active request regarding customing it per order (by name or id). I too think it would be a pretty important feature.
case 1: Buy ("LE # 1") 1 Contract Next Bar At PosPrice1 Limit;
case 2: Buy ("LE # 2") 1 Contract Next Bar At PosPrice2 Limit;
case 3: Buy ("LE # 3") 1 Contract Next Bar At PosPrice3 Limit;
You cannot tie those exits to each entry as far as I understood (but can set it for the same number of shares per entry). This is one of reasons I ended up migrating to Amibroker, so I am afraid I won't be able to assist further. Perhaps Mike can.