본문 바로가기

bitcoin automated trading

[Bitcoin Automated Trading] Creating a Binance Moving Average

------------------------------------------------------------------------------------------------------------------

https://accounts.binance.com/register?ref=21391362 <- Get Discount on Binance Futures Fees With Referral Code

Referral Code : 21391362

------------------------------------------------------------------------------------------------------------------

 

1. What is a moving average?

It is the most basic tool used for technical analysis when trading stocks or coins. This is a key indicator that helps make analysis easier by expressing past average figures as a line. SMA is often used, but there are also cases where weighted EMA, WMA, etc. are used.

 

 

2. Moving average line formula

It is the sum of prices or data points over a period of time divided by that period. For example, a 10-day moving average is the sum of prices over the last 10 days and divided by 10.

 

 

3. What is EMA?

This method gives greater weight to recent data when calculating the average. This technique is used to better reflect recent movements in the data and is suitable for short-term investments.

 

 

4. EMA Programming
Let's draw ema by calling the EMAIndicator method in the ta library.

 

 

When you call, you can see that it is the same as Binance.

 

 

------------------------------------------------------------------------------------------------------------------

https://accounts.binance.com/register?ref=21391362 <- Get Discount on Binance Futures Fees With Referral Code

Referral Code : 21391362

------------------------------------------------------------------------------------------------------------------