编写历史行情报表排序:分别排序3,5,8,13天内出现的最高价
2020/2/21 17:53:31
公式编写说明:
通达信历史行情报表,指标排序: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)))));
看 股吧公式 www.ka nguba.com
其它股票公式列表