< All Topics
Print

trail me

TrailMe is a group of features that allows you to trail different types of trades to reach better entry or exit points. This page describes all available configuration options.

Trailing works just like it does for the TSSL strategy, the difference being the starting point of trailing.

Orders resulting from trailing are only placed when the main strategy criteria are met, and confirming indicators (if any) allow the order. All these conditions must occur in the same cycle.

Trailing is an important concept in AILidex. When buying, it allows for aiming for a lower entry price than strategy criteria would otherwise realize. When selling, it allows for higher profits, while locking in profits while trailing ranges move upwards along with price.

Basic principles
Trailing is purely based on prices, not on indicators.
When confirming indicators are used, trailing must finish while their conditions are still met.
When buying, the ask price is used as reference. When selling, bid is used.
Ranges for trailing are defined as a percentage of the best bid or ask price. Bid is used when selling, ask is used when buying.
When price moves in the direction of your target, ranges are set around bid/ask every round.
When price moves in the opposite direction of your target, trailing limits are frozen.
Ranges are reset when price moves outside of the target.
Buy trailing
The same basic process applies for most kinds of buy trailing (exception: Take Buy). The example below shows how trailing works for buying with the tssl strategy.

When trailing with tssl, the most important part to know is that trailing must finish below Buy Level. Make sure to set a Buy Level that leaves enough room for trailing.

Other types of buy trailing, like DU trailing, follow the exact same trailing logic, but the threshold below which trailing must finish is different.

Type of trailing Must finish below / while
TrailMe Buy While other strategy buy criteria are met
TrailMe DU Below DU Buydown
TrailMe RT Buy Below RT Buy Level
Tssl Below Buy Level, while other strategy buy criteria are met
Sell trailing
The same basic process applies for most kinds of sell trailing (exception: Take Profit). The example below shows how trailing works for selling with the tssl strategy.

This example looks more complicated than the buy example above, because the concept of resetting trailing limits is now visualized.

Important to know about sell trailing with tssl is that the StopLoss limit must be above your setting for gain before trailing can finish. Make sure that you leave enough room for this to happen, either by setting a modest gain, or by using a small sell range.

TrailMe settings parameters
Trail Me Buy
Description
Values
Order types
Name
Use this to enable tssl-style trailing for strategy buy orders.

Trail Me Sell
Description
Values
Order types
Name
Use this to enable tssl-style trailing for strategy sell orders.

Trail Me DU
Description
Values
Order types
Name
Use this to enable tssl-style trailing for DU orders.

Trail Me RT
Description
Values
Order types
Name
Use this to enable tssl-style trailing for RT_BUY orders.

Trail Me RT Sell
Description
Values
Order types
Name
Use this to enable tssl-style trailing for RT_SELL orders above the last RT_BUY rate.

Trail Me Buy Range
Description
Values
Order types
Name
This sets the buy range for TrailMe.

Setting a range of 0.5% at a starting price of 0.1 would set a range between 0.0995 and 0.1005. As long as prices keep moving downwards, the range moves down along with the price.

As soon as prices start going upward, the range freezes and a buy order is placed when the price crosses the upper boundary of the range.

Trail Me Sell Range
Description
Values
Order types
Name
This sets the sell range for TrailMe.

Setting a range of 0.5% at a current price of 0.1 would set a range between 0.0995 and 0.1005. As long as prices keep moving upwards, the range moves up along with the price.

As soon as prices start going downward, the range freezes and a sell order is placed when the prices crosses the lower boundary of the range.

Trail Me RT Sell Range
Description
Values
Order types
Name
This sets the sell range for TrailMe.

Setting a range of 0.5% at a current price of 0.1 would set a range between 0.0995 and 0.1005. As long as prices keep moving upwards, the range moves up along with the price.

As soon as prices start going downward, the range freezes and a sell order is placed when the prices crosses the lower boundary of the range.

Table of Contents