九毛八公式指标
通达信历史行情报表,指标排序: 1.分别排序:统计3日、5日、8日、13日、21日内出现的最高价
公式模块:
DRAWTEXT(CURRBARSCOUNT=21,0,'');
DRAWTEXT(CURRBARSCOUNT=21,30,''); G3:DRAWNUMBER(CURRBARSCOUNT=4,5,H); G5:DRAWNUMBER(CURRBARSCOUNT=4,10,REF(H,2)); G8:DRAWNUMBER(CURRBARSCOUNT=4,15,REF(H,5)); G13:DRAWNUMBER(CURRBARSCOUNT=4,20,REF(H,10)); G21:DRAWNUMBER(CURRBARSCOUNT=4,25,REF(H,18)); DRAWTEXT(CURRBARSCOUNT=6,5,'三日前:'); DRAWTEXT(CURRBARSCOUNT=6,10,'五日前:'); DRAWTEXT(CURRBARSCOUNT=6,15,'八日前:'); DRAWTEXT(CURRBARSCOUNT=6,20,'十三日前:'); DRAWTEXT(CURRBARSCOUNT=6,25,'廿一日前:'); 【或】 最高:MAX(REF(H,3),MAX(REF(H,5),MAX(REF(H,8),MAX(REF(H,13),REF(H,21)))));