Skip to main content

tsa (method)

Using a time series analysis, this method attempts to forecast the close price of the next period. This information is combined with xtrend and smacross to indicate the strength of an expected price move.

To refine this method, other indicators are available to be used as confirmation for both buying and selling. For example you could have Gunbot buy when the forecasted price crosses up ask and RSI is 30 or lower.

How to work with it

Buy method conditions

A buy order is allowed when ask price crosses under the forecasted price.

Sell method conditions

A sell order is allowed when the bid price crosses up the forecasted price.

Buy settings

Buy settings are the primary trigger for buy orders. These parameters control the execution of buy orders when using tsa as buy method.

Buy enabled

Set this to false to prevent Gunbot from placing buy orders.


Sell settings

Sell settings are the primary trigger for sell orders. These parameters control the execution of sell orders when using tsa as sell method.

Sell enabled

Set this to false to prevent Gunbot from placing sell orders.


Gain

This sets the minimum target for selling. Gunbot will sell only once price reaches the set percentage above the break-even point. Additionally, the bid price must cross up the forecasted price.

If you want to have at least 2% profit per trade, set this to 2. A sell order will be placed when the current price is at least 2% higher than the average bought price.


Indicator settings

Relevant indicators for trading with tsa.

This setting has a direct effect on trading with tsa.

Period

This sets the candlestick period used for trading, this affects all indicators within the strategy.

Only use supported values. The trading settings editor suggests valid values for the selected exchange..

Setting a short period allows you to trade on shorter trends, but be aware that these will be noisier than longer periods.