Type/to search

DMI 测试范例

Common strategy
Created: 2019-06-25 23:24:46
Last modified: 7 years ago
8
Follow
1364
Followers
Source
JavaScript
/*backtest
start: 2019-06-03 00:00:00
end: 2019-07-03 00:00:00
period: 1h
exchanges: [{"eid":"Huobi","currency":"BTC_USDT","balance":10000,"stocks":3}]
*/

// 指标函数
function ADX(MDI, PDI, adx_period) {
    if(typeof(MDI) == "undefined" || typeof(PDI) == "undefined"){
        return false 
    }
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)