0
Follow
1
Followers
var ma = TA.MA(records, 15,'high')
Log(ma)
ma = TA.MA(records, 15)
Log(ma)
Pourquoi ces deux valeurs de retour de MA sont-elles les mêmes? est-ce que la première est la moyenne des prix les plus élevés et la seconde est la moyenne des prix de clôture?
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?
Comment
All comments (8)
var records = exchange.GetRecords(PERIOD_H1)
Log("第一根k线数据为,Time:", records[0].Time, "Open:", records[0].Open, "High:", records[0].High)
Log("第二根k线数据为,Time:", records[1].Time ,"Close:", records[1].Close)
Log("当前K线(最新)", records[records.length-1], "上一根K线", records[records.length-2])
records是这么求得 怎么改呢?
5 years ago
- 1
