编写历史行情报表排序:分别排序3,5,8,13天内出现的最高价
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

通达信历史行情报表,指标排序: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)))));
 

选股票看什么指标最好 >股票指标网