同花顺友谊L2资金 仿L2资金量指标公式
-
相关简介:精准净流资金统计,中文显示资金进出,资金流统计以亿为单位,主力控盘和散户套捞资金占比重百分比实时动态提示,一目了然。 DRAWGBKLAST(CLOSEOPEN,STRIP(RGB(100,50,20),RGB(100,30,5000),1)); DRAWGBKLAST(CLOSEOPEN,STRIP(RGB(50,30,0),RGB(0,25,500),1)); TIPTEXT(ISNULL(REFX(CLOSE,1)),CURRBARSCOUNT=C,'友谊指标,QQ群113242317')
-
文章来源:股海网作者:股海网发布时间:2016-02-17浏览次数:
精准净流资金统计,中文显示资金进出,资金流统计以亿为单位,主力控盘和散户套捞资金占比重百分比实时动态提示,一目了然。
DRAWGBKLAST(CLOSE<OPEN,STRIP(RGB(100,50,20),RGB(100,30,5000),1));
DRAWGBKLAST(CLOSE>OPEN,STRIP(RGB(50,30,0),RGB(0,25,500),1));
TIPTEXT(ISNULL(REFX(&CLOSE,1)),CURRBARSCOUNT=C,'友谊指标,QQ群113242317'),coloryellow;
TIPTEXT(ISNULL(REF(CLOSE,1)),CURRBARSCOUNT=C,'友谊指标'),coloryellow;
主力筹码估算:=EMA(WINNER(CLOSE)*50,3),NODRAW;
散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*50,3),NODRAW;
散户%:散户筹码估算/(主力筹码估算+散户筹码估算)*100,colorgreen,NODRAW;
主力%:主力筹码估算/(主力筹码估算+散户筹码估算)*100,coloryellow,NODRAW;
总成交(亿):AMOUNT/100000000,COLORFF00FF,NODRAW;
成交:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
总流入(亿):IF(CLOSE>OPEN,成交*(HIGH-LOW),IF(CLOSE<OPEN,成交*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,colorred,NODRAW;
总流出(亿):IF(CLOSE>OPEN,0-成交*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-成交*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
今净流入(亿):总流入(亿)+总流出(亿),coloryellow,NODRAW;
K1:=IF(CLOSE>=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW);
K2:=IF(CLOSE<=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE);
DT:=VOL*K1/(K1+K2);
KT:=VOL-DT;
买量:=SUM(DT,5);
卖量:=SUM(KT,5);
DDX:=EMA(买量-卖量,5)*AMOUNT/50000000,NODRAW;
A0:=IF(DDX>0,DDX,0);
B0:=IF(DDX<0,DDX,0);
STICKLINE(A0,0,A0,12,0),COLOR000088;
STICKLINE(A0,0,A0,9,0),COLOR0000AA;
STICKLINE(A0,0,A0,6,0),COLOR0000CC;
STICKLINE(A0,0,A0,3,0),COLOR0000EE;
STICKLINE(B0,0,-B0,12,0),COLOR008800;
STICKLINE(B0,0,-B0,9,0),COLOR00AA00;
STICKLINE(B0,0,-B0,6,0),COLOR00CC00;
STICKLINE(B0,0,-B0,3,0),COLOR00EE00;
三日均量:=SMA(DDX,3,1),COLORFFFFFF;
DDX2:=SMA(三日均量,3,1),COLOR00FFFF;
预警:=DDX>0 AND MA(V,3)>MA(MA(V,3),3) AND CROSS(三日均量,DDX2);
天:=COUNT(DDX>0,5),colorred;
DRAWICON(预警,DDX2,11);
DRAWTEXT(预警,L*-3000,'←跟资金进'),coloryellow;
DRAWICON(预警,L*-1000,1);
均量:=EMA(DDX2,3),COLOR339933,LINETHICK3;
绿:=IF(均量<=REF(均量,1),均量,DRAWNULL),COLOR339933,LINETHICK3;
趋势线上升:=IF(均量>REF(均量,1),均量,DRAWNULL),LINETHICK3,COLORFF00FF;
MAV:=(C*2+H+L)*4000000;
SK:=EMA(MAV,13) - EMA(MAV,60),coloryellow;
SD:=EMA(SK,15),colorgreen,LINETHICK3;
S:=EMA(SD,15),coloryellow,LINETHICK3;
空方主力:= (2*(SK-SD))*1.8,colorgreen;
多方主力:= (-2*(SK-SD))*1.8,colorred;
STICKLINE(SD<S,SD,S,6,0),colorligreen;
STICKLINE(SD>S,SD,S,6,0),COLORFF00FF;
2,LINEDOT,colorffffff;-2,LINEDOT,colorffffff;
强度:IF(SD<=REF(SD,1),SD,DRAWNULL),COLOR339933,LINETHICK3;
上升:IF(SD>REF(SD,1),SD,DRAWNULL),LINETHICK3,COLORFF00FF;
DRAWICON((CROSS(SK,SD)),SK,1);
DRAWICON((CROSS(SD,SK)),SD,2);
DRAWTEXT((CROSS(SK,SD)),SK-10,'←友谊进'),coloryellow;
DRAWTEXT((CROSS(SD,SK)),SD+10,'←友谊抛'),colorgreen;
今成交额(亿):AMOUNT/100000000,COLORFF00FF,LINETHICK0,NODRAW;
成交:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
今流入(亿):IF(CLOSE>OPEN,成交*(HIGH-LOW),IF(CLOSE<OPEN,成交*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,colorred,NODRAW,LINETHICK0;
今流出(亿):IF(CLOSE>OPEN,0-成交*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-成交*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW,LINETHICK0;
今净流入(亿):今流入(亿)+今流出(亿),coloryellow,NODRAW,LINETHICK0;
年认同价:=MA(C,240);
价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));
G:=价格中枢*1.2,LINETHICK2,COLOR009900;
G2:=价格中枢*1.618,POINTDOT,colorwhite;
G3:=价格中枢*1.382,POINTDOT,colorwhite;
G1:=价格中枢*0.8,LINETHICK2,COLOR009900;
//STICKLINE(G1>0,G1,G,8,0),COLOR5F5F5F,NODRAW;
毛利润率:ZYYWLR/ZYYWSR ,NODRAW;
成长价值:年认同价*(1+毛利润率),coloryellow,LINETHICK1,NODRAW;
收益价值:年认同价+MGSY,colorred,LINETHICK1,NODRAW;
DRAWTEXT_FIX(1,0.00,0,0,'所属代码:'),COLOR0080FF;
DRAWTEXT_FIX(1,0.09,0,0,CODE),COLOR0080FF;
DRAWTEXT_FIX(1,0.18,0,0,'所属名称:'),COLOR00FFFF;
DRAWNUMBER_FIX(1,0.27,0,0,ZQMC),COLOR00FFFF;
DRAWTEXT_FIX(1,0.36,0,0,'今成交额(亿):'),COLOR00FFFF;
DRAWNUMBER_FIX(ISLASTBAR,0.53,0,今成交额(亿),今成交额(亿)),COLOR00FFFF;
DRAWTEXT_FIX(1,0.00,0.05,0,'毛利润率:' ),coloryellow,;
DRAWNUMBER_FIX(ISLASTBAR,0.09,0.05,毛利润率,毛利润率),coloryellow,;
DRAWTEXT_FIX(1,0.18,0.05,0,'成长价值:' ),coloryellow,;
DRAWNUMBER_FIX(ISLASTBAR,0.27,0.05,成长价值,成长价值),coloryellow,;
DRAWTEXT_FIX(1,0.36,0.05,0,'收益价值:' ),coloryellow,;
DRAWNUMBER_FIX(ISLASTBAR,0.45,0.05,收益价值,收益价值),coloryellow,;
DRAWTEXT_FIX(1,0.003,0.10,0,'今流入(亿): ' ),coloryellow;
DRAWNUMBER_FIX(ISLASTBAR,0.10,0.10,今流入(亿),今流入(亿)),colorgreen;
DRAWTEXT_FIX(1,0.18,0.10,0,'今流出(亿):' ),coloryellow;
DRAWNUMBER_FIX(ISLASTBAR,0.27,0.10,今流出(亿),今流出(亿) ),colorcyan;
DRAWTEXT_FIX(1,0.36,0.10,0,'今净流入(亿):' ),coloryellow;
DRAWNUMBER_FIX(ISLASTBAR,0.45,0.10,今净流入(亿),今净流入(亿)),colorcyan;
TY:=C;
W:=10;
A1:=REF(TY,W)=HHV(TY,2*W+1); B1:=FILTER(A1,W); C1:=BACKSET(B1,W+1); HD:=FILTER(C1,W);
A2:=REF(TY,W)=LLV(TY,2*W+1); B2:=FILTER(A2,W); C2:=BACKSET(B2,W+1); LD:=FILTER(C2,W);
前期高位:=REF(C,BARSLAST(HD)),COLORFF9900,DOTLINE;
前期低位:=REF(C,BARSLAST(LD)),colorgray,DOTLINE;
EE:=(H+L+O+2*C)/5;
CRTP:=EE+(H-L);
CRZL:=2*EE-L;
CRZC:=2*EE-H;
CRFZ:=EE-(H-L);
高:=CONST(CRTP),colorred;
阻:=CONST(CRZL),COLORC7C9FF;
支:=CONST(CRZC),COLOR7C9CFF;
反:=CONST(CRFZ),COLORDD00DD;
{};
DRAWTEXT_FIX(1,0.00,0.15,0 ,'前期高位:' ),colorgreen,LINETHICK1;
DRAWNUMBER_FIX(ISLASTBAR,0.10,0.15,前期高位,前期高位),colorgreen;
DRAWTEXT_FIX(1,0.00,0.20,0,'前期低位%:' ),coloryellow,LINETHICK1;
DRAWNUMBER_FIX(ISLASTBAR,0.10,0.20,前期低位,前期低位),coloryellow;
DRAWTEXT_FIX(1,0.18,0.15,0,'上升高压: ' ),coloryellow;
DRAWNUMBER_FIX(ISLASTBAR,0.27,0.15,高,高),colorcyan;
DRAWTEXT_FIX(1,0.36,0.15,0,'上升阻力: ' ),coloryellow;
DRAWNUMBER_FIX(ISLASTBAR,0.44,0.15,阻, 阻),colorgreen;
DRAWTEXT_FIX(1,0.18,0.20,0,'下跌支撑 :' ),coloryellow;
DRAWNUMBER_FIX(ISLASTBAR,0.27,0.20,支, 支),colorcyan;
DRAWTEXT_FIX(1,0.36,0.20,0,'下跌反转 :' ),coloryellow;
DRAWNUMBER_FIX(ISLASTBAR,0.44,0.20, 反, 反),colorgreen;
D
//{}