参数依次填到新建公式里的参数框里。说明:上海缺省N用1,深圳缺省N用2.
大盘每天有停牌的个股以及时常发行新股,这样大盘流通盘就要随时调整,只要公式换手率的数值与
大盘分时图上的换手率不一致就调整SH和SZ的缺省参数(大概一到二个月调整一次)我不会发图,见谅了!!!!
参数 最小 最大 缺省
N 1 10 2
SH 100 900000 18850
SZ 100 90000 4830
只复制:
DAPAN:=IF(N=1,SH,SZ);{选择上海或深圳流通股本总量}
DHS:=V/(DAPAN*POW(10,4));{大盘换手率}
成交额:AMOUNT/100000000,NODRAW;
成交量:VOL/100,NODRAW;
上海流通亿股:188500000,COLORYELLOW,NODRAW;
深圳流通亿股:48300000,COLORLIMAGENTA,NODRAW;
换手率:IF(上海流通亿股,V/DAPAN/100,IF(深圳流通亿股,V/DAPAN/100,DRAWNULL))NODRAW;
A:=REF(C,1);
STICKLINE(换手率,0,换手率,2,1),COLORYELLOW;{输出大盘换手率线,红色}
STICKLINE(C>A,0,换手率,3.2,0),COLOR660066;{粉色}
STICKLINE(C>A,0,换手率,2.7,0),COLOR990099;
STICKLINE(C>A,0,换手率,2.2,0),COLORBB00BB;
STICKLINE(C>A,0,换手率,1.7,0),COLOREE00EE;
STICKLINE(C>A,0,换手率,1.2,0),COLORFF22FF;
STICKLINE(C>A,0,换手率,0.7,0),COLORFF44FF;
STICKLINE(C>A,0,换手率,0.2,0),COLORFF66FF;
STICKLINE(C<=O OR C<=A,0,换手率,3.2,0),COLOR004400;{绿色}
STICKLINE(C<=O OR C<=A,0,换手率,2.7,0),COLOR006600;
STICKLINE(C<=O OR C<=A,0,换手率,2.2,0),COLOR008800;
STICKLINE(C<=O OR C<=A,0,换手率,1.7,0),COLOR00AA00;
STICKLINE(C<=O OR C<=A,0,换手率,1.2,0),COLOR00BB00;
STICKLINE(C<=O OR C<=A,0,换手率,0.7,0),COLOR00DD00;
STICKLINE(C<=O OR C<=A,0,换手率,0.2,0),COLOR33FF00;
上一篇:通达信一个和量能有关的主图 下一篇:通达信上班族的短线主图 源码