GetRecords与TA.EMA的关系

Author: I know., Created: 2021-09-23 18:00:49, Updated:

The problem is, GetRecords ((() is getting the K-line data, and TA.EMA is getting the even-line data, so var records = exchange.GetRecords ((PERIOD_M15)) is the name of the if (records && records.length > 12) { var ema = TA.EMA ((records, 12) is the name of the game. I'm not sure. Why is the 15-minute K-line used in the 12-day mean?


More

xionglonghuiBut that's not 12 days, guys, it's 12 K lines, and one K line represents 15 minutes. This code is called var ema12 = TA.EMA ((records, 12) // This code is used to calculate the mean of the EMA12.

I know.Okay, all right, thank you.