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 -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I'm developing a Signal (Multicharts.net), that issues Buy and Sell orders. In addition I want to set the stop loss when the order is created. But I cannot find a parameter in the OrderCreator class to set it.
there are multiple ways to accomplish this. One could be by issuing a stop order yourself: https://www.multicharts.com/trading-software/index.php/4.6.1_Orders
You can also issue stops using using a built-in exit, but using a separate stop order might give you more control.
Take a look at the Stop_Loss signal for an example for how to issue stops using GenerateStopLoss.
can you show an example of "a "hard" stop on the chart" as in general there shouldn't be a difference in how Multicharts displays the orders via GenerateStopLoss or an individual stop order?
Sorry I was not clear with the "hard" stop comment.
What I mean is: on the chart, I cannot see the stop loss created. Stop_Loss signal is attached properly, the order is created manually but the SL is not showing on the chart.
I've been thinking about another option:
-set the "Exit strategies" with option "Auto Attach as Exit Order",
but not sure if when a Signal creates the order, will the "Exit strategies" be automatically attached ?
it sounds like either the stop wasn't triggered yet or in case it was real time the chart trading wasn't enabled, which in turn would not show the orders on the chart.
if you don't use the built-in GenerateStopLoss within conditional statements the stop will be in place directly after the entry by design even with IOG disabled.
I am afraid without seeing the code and inputs you used and the situations (screenshots) where the stop should have been in place one could only speculate about the cause here.