Type/to search
2
Follow
0
Followers
GetRecords और TA.EMA
Help
Created 2021-09-23 18:00:49  
 2
 1135

उदाहरण के लिए, GetRecords() K लाइन डेटा प्राप्त करने के लिए है, और TA.EMA औसत लाइन डेटा प्राप्त करने के लिए है, तो
var records = exchange.GetRecords(PERIOD_M15)
if (records && records.length > 12) {
var ema = TA.EMA(records, 12)
}
15 मिनट की K लाइन को 12 दिन की औसत रेखा में क्यों इस्तेमाल किया जा सकता है? इसका क्या मतलब है? धन्यवाद

Related Recommendations
Comment
All comments (2)

    15分钟周期的K线, 这话没毛病. 但是那个12 不是12天, 哥们, 是12根K线, 一根K线代表15分钟. 没有足够的K线, 无法算EMA, var ema = TA.EMA(records, 12)
    这个代码的变量名该改改,你就不容易疑惑了. 真正的意思是: var ema12 =TA.EMA(records, 12) // 这句代码就是算出EMA12 均线的值.

    5 years ago

    Ok, 明白,感谢

    5 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)