TrendLineTSL-trailing stop loss on an arbitrary trend line. It is used to close trades on inclined support and resistance levels. Just specify the name of the trend line of interest in the Expert Advisor parameters, as well as the type of orders to follow (buy or sell), and the robot will start to conduct a Stop Loss on this line.
- TrendLineName – the name of the trend line.
- OrdersType – the type of accompanied transactions. Possible values (drop-down list):
- NONE – not set (default value);
- BUYs – market purchases;
- SELLs – market sales.
- UseSpread – whether to consider the spread. Possible values (drop-down list):
- true-take into account that the spread will be added for the stop-loss price of the sell trades calculated on the trend line (default value);
- false – ignore it.
- EALanguage – the Expert’s language. Possible values (drop-down list):
- EN – English (default value);
- RU – Russian language.
- NONE – not set (default value);
- BUYs – market purchases;
- SELLs – market sales.
- true-take into account that the spread will be added for the stop-loss price of the sell trades calculated on the trend line (default value);
- false – ignore it.
[spoiler title=”Read More…”]
- EN – English (default value);
- RU – Russian language.
Attention! The program is designed to work in real time, because it does not open, but only accompanies transactions.
The tester has a special mode of operation: whenever there is no open trade, the trade of the type specified in the Expert Advisor parameters is opened. In addition, the expert Advisor works in the tester only if visual testing is used, because otherwise the user cannot put the necessary trend line on the chart window.
The tester has a special mode of operation: whenever there is no open trade, the trade of the type specified in the Expert Advisor parameters is opened. In addition, the expert Advisor works in the tester only if visual testing is used, because otherwise the user cannot put the necessary trend line on the chart window.
[/spoiler]