ExitFromOneEntryOnce

Questions about MultiCharts .NET and user contributed studies.
Bentley Wilburforce
Posts: 18
Joined: 22 Feb 2014
Has thanked: 5 times
Been thanked: 2 times

ExitFromOneEntryOnce

Postby Bentley Wilburforce » 23 Feb 2014

Hi,

Can anyone tell me how/where I should use the following to enable me to reuse an exit order repeatedly?

[ExitFromOneEntryOnce(ExitFromOneEntryOnce.FillAndKillExitOrder)]

Thanks

Ben.

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: ExitFromOneEntryOnce

Postby JoshM » 24 Feb 2014

Can anyone tell me how/where I should use the following to enable me to reuse an exit order repeatedly?
Attributes need to placed at the top of your class in MC .NET, just below the line with 'namespace PowerLanguage.Strategy' in it (around line number 7). For example:

Code: Select all

namespace PowerLanguage.Strategy
{
[ExitFromOneEntryOnce(ExitFromOneEntryOnce.FillAndKillExitOrder)]
public class Example : SignalObject
{
...
}
}


Return to “MultiCharts .NET”