Trading Strategies or Execution Strategies are defined by the use of Backtest functions in the Strategy Editor, specifically the operation functions, such as BuyAtMarket, for example.
Thus, they simulate the sending of orders according to the strategy's configuration when executed in Backtest (by clicking on the execution icon in the Strategy Editor).
Click here to check the NTSL documentation.
How to Create
To create a new trading rule, go to Strategy Editor inside of the Strategies menu:
In the following example, the strategy sells at market if the close is greater than the moving average of the highs of the last 5 candles, and buys at market if the close is lower than the moving average of the lows of the last 5 candles.
The rule can also be created through the BlockBuilder.
Execution Strategies are only executed after the close of each candle, meaning they do not execute in real time based on the asset's price fluctuations.
In the open market, these strategies will only draw their respective markers as configured in the strategy.
To apply the Execution Strategy, right-click on the background of the chart and select Insert Trade Strategy, searching for the strategy name as defined during its creation.
It is important to note that, through the Editor, the Trade Strategies will not automatically send orders based on their markers, whether in the simulation account or in the real account. They only simulate the sending of orders in Backtest and draw the markers for each of them, whether in Backtest or the Open Market.
Was this content helpful?
Please rate us down below.