如何在reactiveEngine中计算在过去十行中 多少行的值和当前行一样
defg ncount(x){
return sum(x == x.tail())
}
设定指标:
metrics =[<time>, <moving(ncount, price, 10)>]