Trading Bots

Introduction to the CTA-MA bot

2023-12-08 03:21081

1. What is MA?

A moving average (MA) is a statistic that captures the average change in a data series over time, and different averages are then connected to form a MA curve. The slope of the MA reflects the market trend, and depending on different time windows, MA can be used to determine the short-term and long-term market trends, which is helpful for trend tracking.

The formula is as follows:


Introduction to the CTA-MA bot image 0

Where,

T is the time point of the most recent candlestick chart, T-1 is the time point of the previous chart, and T-N+1 is the time point of the previous N-1 chart.


Introduction to the CTA-MA bot image 1

2. MA indicator bot

The MA indicator is suitable for tracking trends in trending markets. A long window and a short window must be identified first, with the short one corresponding to the short-term moving average and the long one corresponding to the long-term moving average. Generally speaking, when the short-term moving average crosses above the long-term moving average, it indicates the beginning of an uptrend or the end of a downtrend, a good time to go long. When the short-term moving average crosses below the long-term moving average, it signals the beginning of a downtrend or the end of an uptrend, a good time to go short.

Go Long when the MA short-term moving average crosses above the long-term moving average (golden cross).

Go Short when the MA short-term moving average crosses below the long-term moving average (death cross)

3. Introduction of AI-MA indicator bot recommendation feature
MA bot determines the timespan of the short-term moving average and the long-term moving average based on two parameters: Fast and Slow. The timing of entry and exit depends on golden crosses and death crosses. The MA bot is suitable for tracking trends in trending markets. The profitability of a bot is closely related to the index parameters. Bitget launches the AI-MA bot recommendation feature to simplify the process of setting parameters by making automatic suggestions.


The bot parameters provided in the recommendation cards are based on recent market data backtesting. Each recommendation card corresponds to a different candlestick chart period and strategy parameter combination, allowing users to choose the appropriate bot settings according to their current market expectations.

4. Applicable markets of the MA indicator bot

(1) Golden cross

A golden cross is an uptrend chart where the short-term moving average first turn up and crosses above the mid-term moving average and long-term moving average, followed by the mid-term moving average crossing above the long-term moving average. The golden cross is a sign of a long performance. When there is a golden cross, the coin price is basically expected to rise, indicating an opportunity for investors to enter the market.

(2) Death cross

A death cross, on the contrary, is a downward chart where the short-term moving average first turn down and crosses below the mid-term moving average and long-term moving average, followed by the mid-term moving average crossing below the long-term moving average. When a death cross appears, the coin will trend down, a signal for investors to leave the market.

Investors can find buy and sell points referencing golden crosses and death crosses in combination with other technical indicators or important information.

Disclaimer

Cryptocurrencies are subject to high market risk and volatility despite high growth potential. Users should conduct their own research and invest at their own discretion. Bitget shall not be liable for any investment losses.