1分鐘周期,把前一天的ABS(C-O)按照由大到小的順序排列,并且取出最大的N個相加得到P,請問用公式應該怎么寫呢,謝謝
假設n為6:
h1:ref(large(abs(c-o),todaybar,1),todaybar);
h2:ref(large(abs(c-o),todaybar,2),todaybar);
h3:ref(large(abs(c-o),todaybar,3),todaybar);
h4:ref(large(abs(c-o),todaybar,4),todaybar);
h5:ref(large(abs(c-o),todaybar,5),todaybar);
h6:ref(large(abs(c-o),todaybar,6),todaybar);
p:h1+h2+h3+h4+h5+h6;
cross(sum(vol,todaybar)/vv>0.1,0.5);
為什么是0.5的,這句怎么理解?