会心系列公式 源码大放送
DRAWTEXT_FIX(ISLASTBAR,0.36,0,0,"准备卖~蓝色"),COLORBLUE;
DRAWTEXT_FIX(ISLASTBAR,0.48,0,0,"卖出~青色"),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.60,0,0,"坚决卖~绿箭头"),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0,0.12,0,"{红色柱~买入}"),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0,0.24,0,"{绿色柱~卖出}"),COLORGREEN;
会心个股分时主图
大单买量:=SUM(IF(C>REF(C,1) AND V>4000,V/1000,0),0),NODRAW;
大单卖量:=SUM(IF(C<REF(C,1) AND V>4000,V/1000,0),0),NODRAW;
买单总量:=SUM(IF(C>REF(C,1),V/1000,0),0),NODRAW;
卖单总量:=SUM(IF(C<REF(C,1),V/1000,0),0),NODRAW;
小单买量:=买单总量-大单买量,NODRAW;
小单卖量:=卖单总量-大单卖量,NODRAW;
DRAWRECTREL(0,500,147,999.4,IF(120,RGB(10,0,0),0));
大宗进:=大单买量,NODRAW;
大宗出:=大单卖量,NODRAW;
非大宗进:=小单买量,NODRAW;
非大宗出:=小单卖量,NODRAW;
主力净流入:=大单买量-大单卖量,COLORRED,NODRAW;
散户净流入:=小单买量-小单卖量,COLORRED,NODRAW;
净流入:=买单总量-卖单总量,COLORRED,NODRAW;
DAZHIV:=CONST(MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW;
DRAWRECTREL(0,CONST(930-(ABS(大宗进)*250/DAZHIV)),35,950,IF(CONST(大宗进>0),RGB(255,0,0),RGB(0,255,0)));
DRAWRECTREL(37,CONST(930-(ABS(大宗出)*250/DAZHIV)),72,950,IF(CONST(大宗出>0),RGB(0,255,0),RGB(255,0,0)));
DRAWRECTREL(75,CONST(930-(ABS(非大宗进)*250/DAZHIV)),110,950,IF(CONST(非大宗进>0),RGB(150,0,0),RGB(0,150,150)));
DRAWRECTREL(112,CONST(930-(ABS(非大宗出)*250/DAZHIV)),147,950,IF(CONST(非大宗出>0),RGB(0,150,150),RGB(150,0,0)));
DRAWRECTREL(150,CONST(940-(ABS(净流入)*250/DAZHIV))-20,190,950,IF(CONST(净流入>0),RGB(255,255,0),RGB(23,125,255)));
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
地:EMA(均价,50)/0.97,LINETHICK2,COLORGREEN;
IF(地>REF(地,1),地,DRAWNULL),COLORRED,LINETHICK2;
平衡线:(均价+地)/2,DOTLINE,COLORGRAY;
买单次数:=COUNT(V>4000 AND C>REF(C,1),0);
黄次数:COUNT(V>DYNAINFO(16)*10 AND C>REF(C,1),0),COLORYELLOW,NODRAW;
DRAWICON(买单次数>REF(买单次数,1) AND 黄次数>REF(黄次数,1) AND CROSS(C,地),C,7);
DRAWICON(小单买量>小单卖量 AND 大单买量>小单买量 AND 小单卖量>大单卖量,均价,38);
SUM(V*C,0)/SUM(V,0),COLORYELLOW;
C,COLORWHITE;
会心大盘分时主图
大单买量:=SUM(IF(C>REF(C,1) AND V>100000,V/1000,0),0),NODRAW;
大单卖量:=SUM(IF(C<REF(C,1) AND V>100000,V/1000,0),0),NODRAW;
买单总量:=SUM(IF(C>REF(C,1),V/1000,0),0),NODRAW;
卖单总量:=SUM(IF(C<REF(C,1),V/1000,0),0),NODRAW;
小单买量:=买单总量-大单买量,NODRAW;
小单卖量:=卖单总量-大单卖量,NODRAW;
DRAWRECTREL(0,500,147,999.4,IF(120,RGB(10,0,0),0));
大宗进:=大单买量,NODRAW;
大宗出:=大单卖量,NODRAW;
非大宗进:=小单买量,NODRAW;
非大宗出:=小单卖量,NODRAW;
主力净流入:=大单买量-大单卖量,COLORRED,NODRAW;
散户净流入:=小单买量-小单卖量,COLORRED,NODRAW;
净流入:=买单总量-卖单总量,COLORRED,NODRAW;
DAZHIV:=CONST(MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW;
DRAWRECTREL(0,CONST(930-(ABS(大宗进)*250/DAZHIV)),35,950,IF(CONST(大宗进>0),RGB(255,0,0),RGB(0,255,0)));
DRAWRECTREL(37,CONST(930-(ABS(大宗出)*250/DAZHIV)),72,950,IF(CONST(大宗出>0),RGB(0,255,0),RGB(255,0,0)));
DRAWRECTREL(75,CONST(930-(ABS(非大宗进)*250/DAZHIV)),110,950,IF(CONST(非大宗进>0),RGB(150,0,0),RGB(0,150,150)));
DRAWRECTREL(112,CONST(930-(ABS(非大宗出)*250/DAZHIV)),147,950,IF(CONST(非大宗出>0),RGB(0,150,150),RGB(150,0,0)));
DRAWRECTREL(150,CONST(940-(ABS(净流入)*250/DAZHIV))-20,190,950,IF(CONST(净流入>0),RGB(255,255,0),RGB(23,125,255)));
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
地:EMA(均价,50)/0.99,LINETHICK2,COLORGREEN;
IF(地>REF(地,1),地,DRAWNULL),COLORRED,LINETHICK2;
平衡线:(均价+地)/2,DOTLINE,COLORGRAY;
买单次数:=COUNT(V>100000 AND C>REF(C,1),0);
黄次数:COUNT(V>DYNAINFO(16)*10 AND C>REF(C,1),0),COLORYELLOW,NODRAW;
DRAWICON(买单次数>REF(买单次数,1) AND 黄次数>REF(黄次数,1) AND CROSS(C,地),C,7);
DRAWICON(小单买量>小单卖量 AND 大单买量>小单买量 AND 小单卖量>大单卖量,均价,38);
SUM(V*C,0)/SUM(V,0),COLORYELLOW;
C,COLORWHITE;
会心个股资金博弈
大单买:SUM(IF(C>REF(C,1) AND V>4000,V/1000,0),0),COLORRED,LINETHICK3;
大单卖:SUM(IF(C<REF(C,1) AND V>4000,V/1000,0),0),COLORGREEN,LINETHICK3;
买单总:=SUM(IF(C>REF(C,1),V/1000,0),0);
卖单总:=SUM(IF(C<REF(C,1),V/1000,0),0);
小单买:买单总-大单买,COLORLIRED;
小单卖:卖单总-大单卖,COLORLIBLUE;
0,COLORGRAY,LINETHICK3;
会心大盘资金博弈
大单买:SUM(IF(C>REF(C,1) AND V>100000,V/1000,0),0),COLORRED,LINETHICK3;
大单卖:SUM(IF(C<REF(C,1) AND V>100000,V/1000,0),0),COLORGREEN,LINETHICK3;
买单总:=SUM(IF(C>REF(C,1),V/1000,0),0);
卖单总:=SUM(IF(C<REF(C,1),V/1000,0),0);
小单买:买单总-大单买,COLORLIRED;
小单卖:卖单总-大单卖,COLORLIBLUE;
0,COLORGRAY,LINETHICK3;
- 上一篇公式:通达信LGZ主图指标主图贴图无未来
- 下一篇公式:和谐的主力吸筹原码公布