Skip to main content Skip to footer

Basic concepts

To create Exit Signal a developer should create a class and inherit it from one of the following classes:

StopLossTakeProfitTradeExitSignal - this class is to set Stop Loss and Take Profit levels. 
ByMarketTradeExitSignal - this class is to send a signal to close position immediately by market;

In general exit signals works the following way: each time new bar received the engine check the whole collection of exit signals. If some signal returns a request to close position, it will close the position at once by Market order. Otherwise, if some signals returns a request to change Stop Loss and Take Profit levels, then it will select those which are closer to the current price and set them as new Stop Loss and Take Profit levels;

 There are several standard trade exit signal models a developer can use for strategy development;

Developed exit signal models can be used as strategy parameters in Strategy Runner and Backtester as a part of exit signal collection.

Cookies Notice

We use cookies to improve your experience, personalize content, and analyze our traffic. By clicking "Accept All Cookies," you agree to the storing of cookies on your device. You can manage your cookie preferences at any time by visiting our Cookie Settings.