帮助中心的神奇公式源码代码问题
帮助中心的神奇公式 源码:https://www.tbquant.net/helper?menu=topone&navigate=tbquant&words=%E7%A5%9E%E5%A5%87%E5%85%AC%E5%BC%8F&cid=492代码片段: SortIds(na1pe,id11,id12,0,DataCount-2,True); //PE越小越好 SortIds(na1roe,id21,id22,0,DataCount-2,False); //ROE越大越好 for i=0 to DataCount-1 { id[i]=id12[i]*pe_rate+id22[i]*roe_rate; } SortIds(id,id31,id32,0,DataCount-2,True); //综合指标靠前有一处 不解:“DataCount-2”是不是应该为“DataCount-1”,否则最后一个值不会排进来...