Type/to search
0
Follow
0
Followers
Tại sao độ dài thu được bằng GetRecords 101 EMA? Đây có phải là giá trị cuối cùng thu được không?
Help
Created 2020-12-07 12:57:09  Updated 2020-12-07 12:58:31
 1
 1149

def main():
records = exchange.GetRecords(PERIOD_H1)
Log{"Linear root of K",len{records})
Log (("K-Line", records)
Log("EMA144",TA.EMA(records, 144))
Log("EMA676",TA.EMA(records, 676))
if records and len(records) > 676:
TA.EMA(r, 676)
TA.MACD(r, 144, 169, 12)

Related Recommendations
Comment
All comments (1)

    回测K线的长度是逐渐累计的,其实是101

    6 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)