通达信蓝筹涨跌幅指标公式
通达信年翻3翻主图指标公式
VAR1:=("601988$C");
VAR2:=("601939$C");
VAR3:=("601398$C");
VAR4:=("600036$C");
VAR5:=("600030$C");
VAR6:=("601628$C");
VAR7:=("601318$C");
VAR8:=("601857$C");
VAR9:=("600028$C");
VAR10:=("600050$C");
VAR11:=("000002$C");
VAR13:=("601390$C");
VAR14:=("601186$C");
VAR15:=("600018$C");
中行:(VAR1/REF(VAR1,1)-1)*100,NODRAW,COLOR0033FF;
建行:(VAR2/REF(VAR2,1)-1)*100,NODRAW,COLOR00FFFF;
工行:(VAR3/REF(VAR3,1)-1)*100,NODRAW,COLORCC66FF;
招商:(VAR4/REF(VAR4,1)-1)*100,NODRAW,COLOR009999;
中信:(VAR5/REF(VAR5,1)-1)*100,NODRAW,COLORFFCC00;
人寿:(VAR6/REF(VAR6,1)-1)*100,NODRAW,COLORAAAAFF;
平安:(VAR7/REF(VAR7,1)-1)*100,NODRAW,COLOR33FF66;
中石油:(VAR8/REF(VAR8,1)-1)*100,NODRAW,COLOR00BBFF;
中石化:(VAR9/REF(VAR9,1)-1)*100,NODRAW,COLORFF99BB;
联通:(VAR10/REF(VAR10,1)-1)*100,NODRAW,COLORCCCCCC;
万科:(VAR11/REF(VAR11,1)-1)*100,NODRAW,COLOR0066FF;
中铁:(VAR13/REF(VAR13,1)-1)*100,NODRAW,COLORFFFF66;
铁建:(VAR14/REF(VAR14,1)-1)*100,NODRAW,COLOR99FF00;
宝钢:(VAR15/REF(VAR15,1)-1)*100,NODRAW,COLORFF66CC;
铁建1:=(VAR14/MA(VAR14,5)-1)*100;
宝钢1:=(VAR15/MA(VAR15,5)-1)*100;
建行1:=(VAR2/MA(VAR2,5)-1)*100;
人寿1:=(VAR6/MA(VAR6,5)-1)*100;
中石化1:=(VAR9/MA(VAR9,5)-1)*100;
中铁1:=(VAR13/MA(VAR13,5)-1)*100;
中行1:=(VAR1/MA(VAR1,5)-1)*100;
中信1:=(VAR5/MA(VAR5,5)-1)*100;
中石油1:=(VAR8/MA(VAR8,5)-1)*100;
联通1:=(VAR10/MA(VAR10,5)-1)*100;
平安1:=(VAR7/MA(VAR7,5)-1)*100;
万科1:=(VAR11/MA(VAR11,5)-1)*100;
工行1:=(VAR3/MA(VAR3,5)-1)*100;
招商1:=(VAR4/MA(VAR4,5)-1)*100;
P1:=IF(BArslAst(CURRBARSCOUNT=1),1,0);
P2:=IF(BARSLAST(CURRBARSCOUNT=5),1,0);
P3:=IF(BARSLAST(CURRBARSCOUNT=10),1,0);
P4:=IF(BARSLAST(CURRBARSCOUNT=15),1,0);
P5:=IF(BARSLAST(CURRBARSCOUNT=20),1,0);
P6:=IF(BARSLAST(CURRBARSCOUNT=25),1,0);
P7:=IF(BARSLAST(CURRBARSCOUNT=30),1,0);
P8:=IF(BARSLAST(CURRBARSCOUNT=35),1,0);
P9:=IF(BARSLAST(CURRBARSCOUNT=40),1,0);
P10:=IF(BARSLAST(CURRBARSCOUNT=45),1,0);
P11:=IF(BARSLAST(CURRBARSCOUNT=50),1,0);
P12:=IF(BARSLAST(CURRBARSCOUNT=55),1,0);
P13:=IF(BARSLAST(CURRBARSCOUNT=60),1,0);
P14:=IF(BARSLAST(CURRBARSCOUNT=65),1,0);
P15:=IF(BARSLAST(CURRBARSCOUNT=70),1,0);
P16:=IF(BARSLAST(CURRBARSCOUNT=75),1,0);
P01:=IF(BARSLAST(CURRBARSCOUNT=3),1,0);
P02:=IF(BARSLAST(CURRBARSCOUNT=7),1,0);
P03:=IF(BARSLAST(CURRBARSCOUNT=12),1,0);
P04:=IF(BARSLAST(CURRBARSCOUNT=17),1,0);
P05:=IF(BARSLAST(CURRBARSCOUNT=22),1,0);
P06:=IF(BARSLAST(CURRBARSCOUNT=27),1,0);
P07:=IF(BARSLAST(CURRBARSCOUNT=32),1,0);
P08:=IF(BARSLAST(CURRBARSCOUNT=37),1,0);
P09:=IF(BARSLAST(CURRBARSCOUNT=42),1,0);
P010:=IF(BARSLAST(CURRBARSCOUNT=47),1,0);
P011:=IF(BARSLAST(CURRBARSCOUNT=52),1,0);
P012:=IF(BARSLAST(CURRBARSCOUNT=57),1,0);
P013:=IF(BARSLAST(CURRBARSCOUNT=62),1,0);
P014:=IF(BARSLAST(CURRBARSCOUNT=67),1,0);
P015:=IF(BARSLAST(CURRBARSCOUNT=72),1,0);
P016:=IF(BARSLAST(CURRBARSCOUNT=77),1,0);
中行0:IF(1,IF(P16-P15,CONST(中行),DRAWNULL),0),STICK,LINETHICK6,COLOR0033FF;
建行0:IF(1,IF(P15-P14,CONST(建行),DRAWNULL),DRAWNULL),STICK,LINETHICK6,
COLOR00FFFF;
工行0:IF(1,IF(P14-P13,CONST(工行),DRAWNULL),0),STICK,LINETHICK6,COLORCC66FF;
招商0:IF(1,IF(P13-P12,CONST(招商),DRAWNULL),0),STICK,LINETHICK6,COLOR009999;
中信0:IF(1,IF(P12-P11,CONST(中信),DRAWNULL),0),STICK,LINETHICK6,COLORFFCC00;
人寿0:IF(1,IF(P11-P10,CONST(人寿),DRAWNULL),DRAWNULL),STICK,LINETHICK6,
COLORAAAAFF;
平安0:IF(1,IF(P10-P9,CONST(平安),DRAWNULL),0),STICK,LINETHICK6,COLOR33FF66;
中石油0:IF(1,IF(P9-P8,CONST(中石油),DRAWNULL),0),STICK,LINETHICK6,COLOR00BBFF;
中石化0:IF(1,IF(P8-P7,CONST(中石化),DRAWNULL),DRAWNULL),STICK,LINETHICK6,
COLORFF9988;
联通0:IF(1,IF(P7-P6,CONST(联通),DRAWNULL),0),STICK,LINETHICK6,COLORCCCCCC;
万科0:IF(1,IF(P6-P5,CONST(万科),DRAWNULL),0),STICK,LINETHICK6,COLOR0066FF;
中铁0:IF(1,IF(P5-P4,CONST(中铁),DRAWNULL),0),STICK,LINETHICK6,COLORFFFF66;
铁建0:IF(1,IF(P4-P3,CONST(铁建),DRAWNULL),DRAWNULL),STICK,LINETHICK6,COLOR99FF00;
宝钢0:IF(1,IF(P3-P2,CONST(宝钢),DRAWNULL),DRAWNULL),STICK,LINETHICK6,
COLORFF66CC;
{www.gUPang.com 指标网_最新股票指标公式}
STICKLINE(1,IF(P016-P015,CONST(中行1),DRAWNULL),0,8,1),COLOR0033FF;
STICKLINE(1,IF(P015-P014,CONST(建行1),DRAWNULL),0,8,1),COLOR00FFFF;
STICKLINE(1,IF(P014-P013,CONST(工行1),DRAWNULL),0,8,1),COLORCC66FF;
STICKLINE(1,IF(P013-P012,CONST(招商1),DRAWNULL),0,8,1),COLOR009999;
STICKLINE(1,IF(P012-P011,CONST(中信1),DRAWNULL),0,8,1),COLORFFCC00;
STICKLINE(1,IF(P011-P010,CONST(人寿1),DRAWNULL),0,8,1),COLORAAAAFF;
STICKLINE(1,IF(P010-P09,CONST(平安1),DRAWNULL),0,8,1),COLOR33FF66;
STICKLINE(1,IF(P09-P08,CONST(中石油1),DRAWNULL),0,8,1),COLOR00BBFF;
STICKLINE(1,IF(P08-P07,CONST(中石化1),DRAWNULL),0,8,1),COLORFF9988;
STICKLINE(1,IF(P07-P06,CONST(联通),DRAWNULL),0,8,1),COLORCCCCCC;
STICKLINE(1,IF(P06-P05,CONST(万科1),DRAWNULL),0,8,1),COLOR0066FF;
STICKLINE(1,IF(P05-P04,CONST(中铁1),DRAWNULL),0,8,1),COLORFFFF66;
STICKLINE(1,IF(P04-P03,CONST(铁建1),DRAWNULL),0,8,1),COLOR99FF00;
STICKLINE(1,IF(P03-P02,CONST(宝钢1),DRAWNULL),0,8,1),COLORFF66CC;
DRAWTEXT(P016-P015,0,'中行'),COLOR0033FF;
{DRAWTEXT(P015-P014,0,'建行'),COLOR00FFFF;}
DRAWTEXT(P014-P013,0,'工行'),COLORCC66FF;
{DRAWTEXT(P013-P012,0,'招商'),COLOR009999;}
DRAWTEXT(P012-P011,0,'中信'),COLORFFCC00;
{DRAWTEXT(P011-P010,0,'人寿'),COLORAAAAFF;}
DRAWTEXT(P010-P09,0,'平安'),COLOR33FF66;
{DRAWTEXT(P09-P08,0,'中石油'),COLOR00BBFF;}
DRAWTEXT(P08-P07,0,'中石化'),COLORFF99BB;
DRAWTEXT(P07-P06,0,'联通'),COLORCCCCCC;
{DRAWTEXT(P06-P05,0,'万科'),COLOR0066FF;}
DRAWTEXT(P05-P04,0,'中铁'),COLORFFFF66;
{DRAWTEXT(P04-P03,0,'铁建'),COLOR99FF00;}
DRAWTEXT(P03-P02,0,'宝钢'),COLORFF66CC;
通达信涨跌定主图指标公式