function onTick(exchange) {
var records = exchange.GetRecords();
var sr = talib.STOCHRSI(records, 14, 14, 3, 3);
var nowStochK = sr[0][records.length - 1];
var nowStochD = sr[1][records.length - 1];
Log(nowStochK + " "+ nowStochD);
}
Plataforma: gráfico de la moneda 1h
Bitcoinwisdom 2016.6.2 11:00 La línea k corresponde a la línea stochrsi 83.85 ma68.3
El programa también establece un período de 1 h, y los valores impresos son
2016-06-02 10:59:55 信息 100 57.53907559474309