Create and Test Forex Strategies
The Closing point of the position slot is situated under the Opening logic conditions slots.
In this slot you can place an indicator which sets the exit price of the strategy. This price is used to close a position. You cannot open a new position at this price.
Here, you can place indicators that would determine a certain exit price.
Users can also choose a certain time for closing the position using indicators like: Bar Closing, Day Closing, Week Closing and Exit Hour.
Other indicators that set the exact price of the order are: Moving Average, Pivot Points, Bollinger Bands…
In the Closing point of the position slot you can only place indicators which set a certain exit price. Indicators such as RSI or Accelerator Oscillator cannot be placed here because they don't give a price.
We can divide the closing indicators into two groups, depending on how many exit prices they set:
When the Closing point of the position slot contains the indicator Bar Closing, you can also use Closing logic conditions. In that case, the position will close at Close Price of the bar, but only if at least one of the exit logic conditions is met.
The Close and Reverse indicator is an exception. It does not set the exit price of a strategy. Instead, it makes it “reverse” direction. When using this logic, the additional opposite direction signals won't close the position but reverse its direction. The price at which the position can be reversed is the entry price, set in the Opening point of the position slot.
Closing point of the position
There are two exit prices:
Closing point of the position
Here, the position will close when the PSAR point of the current bar is reached. The Parabolic SAR indicator can set the direction in which a position opens. This is an exception. It is the only indicator which has an entry logic condition when placed in the Closing Point of the Position slot.
There is only one exit logic condition here. The position will close if the fast MA crosses the slow MA in the right direction. If there is no crossing of MA, the position will not close.