通达信龙头分歧低吸主副图 价节点代表股价变盘节点 源码

{龙头分歧低吸主图源码如下}

压力:MA(REF(HHV(C,30),1),2),COLORGREEN,LINETHICK2;

支撑:MA(REF(LLV(C,30),1),2),DOTLINE,COLORRED;

龙头分歧:EMA(C,20),COLORBLUE,LINETHICK2;

NSYJ1:=MA(C,20);

NSYJ2:=POW(C-龙头分歧,2);

NSYJ3:=MA(NSYJ2,20);

NSYJ4:=SQRT(NSYJ3);

NSYJ5:=龙头分歧+2*NSYJ4;

NSYJ6:=龙头分歧-2*NSYJ4;

NSYJ7:=REF(龙头分歧,1);

上游:=REF(NSYJ5,1),COLORLIRED,LINETHICK2;

下游:=REF(NSYJ6,1),DOTLINE,COLORLIGREEN;

获利90%:=EMA(COST(90),5),DOTLINE,COLORWHITE;

获利百分百:EMA(COST(99),5),DOTLINE,COLORRED;

量比:=VOL/REF(MA(VOL,5),1),NODRAW,COLORBROWN;

分歧点:C>压力 AND C>上游 AND 量比>1.8 AND COUNT(C>压力 AND C>上游 AND 量比>1.8,7)=1,NODRAW;

STICKLINE(分歧点,O,C,2,0),COLORWHITE;

DRAWICON(分歧点,L,5);

DRAWTEXT(分歧点,L*0.98,' ★价节点'),COLORMAGENTA ;

王者:C>获利百分百 AND COUNT(C>获利百分百,7)=1,NODRAW;

DRAWICON(王者,L,25);

STICKLINE(王者,O,C,2,0),COLORYELLOW;

DRAWTEXT(王者,L*0.96,' ★低吸'),COLORYELLOW;


{龙头分歧低吸副图源码如下}


DRAWGBK(1,RGB(0,0,0),RGB(0,0,0),0,'019',0);

资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;

资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;

资金出入:=资金流入+资金流出,COLORSTICK;

资金流量:=资金出入,COLORFFFFFF,LINETHICK1;

资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;

资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));

增强流量比:=IF(资金流量比>50,资金流量比,50);

攻击量:=((HSL*0.50+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;

攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;

攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;

攻击流量:=攻击量A+攻击量B,COLORSTICK;

NOTEXT攻击线:=攻击流量,COLORYELLOW,LINETHICK1;

攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;

资金攻击度:=IF(攻击比>0,(攻击比+50),100-ABS((攻击比-50)));

攻击度限制:=IF(资金攻击度>100,100,IF(资金攻击度<0,0,资金攻击度));

增强攻击度:=IF(资金攻击度>50,资金攻击度,50);

开始攻击:=CROSS(攻击流量,0) AND (C>REF(C,2) OR (资金流量>0 AND 资金流量>攻击流量));

开始攻击量:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3;

Q:=250;

高点:=HHV(C,Q);

低点:=LLV(C,Q);

最高:=CONST(高点),NODRAW;

最低:=CONST(低点),NODRAW;

轴差:=最高-最低;

中价轴:=(最高+最低)/2;

HL3:=(100-0)/2*1.3;

HL4:=(100-0)/1*1.3;

中间价轴:=(50-HL3)*轴差/HL4+中价轴;

平安轴:=(中价轴+中间价轴)/2;

BGTYU:=IF(DATE<=1150530,1,0);

GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);

VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));

起动线:=EXPMA((CLOSE/VBNH),20)*1,COLORYELLOW,POINTDOT;

主力线:=EXPMA((CLOSE/VBNH),60)*1,COLORMAGENTA,LINETHICK2;

散户线:=EXPMA((CLOSE/VBNH),120)*1,COLORGREEN,LINETHICK2;

限制起动线:=起动线*中间价轴;

限制主力线:=主力线*中间价轴;

限制散户线:=散户线*中间价轴;

主散MIN:=MIN(限制主力线,限制散户线);

DRAWBAND(限制主力线,RGB(250,125,0),限制散户线,RGB(0,100,250));

STICKLINE(起动线<主力线,限制起动线,限制主力线,1.0,0),COLOR00FF00;

STICKLINE(起动线>主力线,限制起动线,限制主力线,1.0,0),COLORFFFFFF;

STICKLINE(VOL>EMA(VOL,60) AND 起动线>主力线,限制起动线,限制主力线,1,0),COLORFF00FF;

STICKLINE(VOL>EMA(VOL,30) AND 起动线>主力线 AND 起动线>1.01 AND 起动线>REF(起动线,1),限制起动线,限制主力线,1,0),COLOR00FFFF;

主力:限制主力线,COLORFFFFFF,LINETHICK1;

分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;

追击涨停:=限制散户线>分时均价线 AND CROSS(C,限制散户线);

拉升量:=IF(C>REF(C,1),VOL,0);

昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;

今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW;

攻击力度:=今拉升最高值/昨拉升最高值,NODRAW;

TT:=BARSCOUNT(C);

均价黄:=SUM(C*V,TT)/SUM(V,TT);

量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);

价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);

价上岗量破5:=C>均价黄 AND V>MA(V,5);

量加仓:=V>=REF(V,1)*1 ;

价创新高:=C>=HHV(C,0);

量创新高:=V>=HHV(V,0);

对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;

每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量加仓 AND 价创新高 AND 量创新高 AND 对昨日涨幅;

VV:=BARSSINCE(每日一点)+1;

首次加仓价:=REF(C,VV-1),NODRAW;

今天收益:=(DYNAINFO(7)-首次加仓价)/首次加仓价*100,NODRAW;

流通盘:=CAPITAL*100/100000000,NODRAW;

加仓时间:=REF(TIME/10000,VV),NODRAW;

已爆分钟:=VV-1,NODRAW;

首次加仓量:=REF(VOL,VV-1);

STICKLINE(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,最低,1,0),COLORCYAN;

DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,27);

DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.83,'∠良分歧'),COLORCYAN;

STICKLINE(FILTER(每日一点,30),最低+轴差*0.75,最低,1,0),COLORGREEN;

DRAWICON(FILTER(每日一点,30),最低+轴差*0.75,13);

DRAWTEXT(FILTER(每日一点,30),最低+轴差*0.75,'∠加仓'),COLORGREEN;

DRAWNUMBER(FILTER(每日一点,30),最低+(C-最低)/2,首次加仓价),COLORWHITE;

TA:=BARSLAST(TIME=100000);

TC:=REF(HHV(C,0),TA+1);

TV:=REF(HHV(V,0),TA+1);

ZF:=C/DYNAINFO(3)<1.05;

XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE;

TA1:=BARSLAST(TIME=110000);

CC1:=REF(HHV(C,0),TA1+1);

VV1:=REF(HHV(V,0),TA1+1);

ZF1:=CC1/DYNAINFO(3)<1.05;

XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1,COLORYELLOW;

突破:=XG1 OR XG2,COLORRED;

STICKLINE(FILTER(突破=1,15),最低+轴差*0.60,最低,1,0),COLORWHITE;

DRAWICON(FILTER(突破=1,15),最低+轴差*0.60,17);

DRAWTEXT(FILTER(突破=1,15),最低+轴差*0.60,'∠分时突破'),COLORWHITE;

STICKLINE(FILTER(开始攻击量=1,15),最低+轴差*0.45,最低,1,0),COLORMAGENTA;

STICKLINE(FILTER(开始攻击=1,30),最低+轴差*0.30,最低,1,0),COLORYELLOW;

STICKLINE(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),最低+轴差*0.15,最低,1,0),COLORCYAN;

DRAWICON(FILTER(开始攻击量=1,15),最低+轴差*0.45,24);

DRAWICON(FILTER(开始攻击,30),最低+轴差*0.30,23);

DRAWTEXT(FILTER(开始攻击量=1,15),最低+轴差*0.45,'∠攻击量'),COLORMAGENTA;

DRAWTEXT(FILTER(开始攻击,30),最低+轴差*0.30,'开始攻'),COLORYELLOW;

DRAWTEXT(FILTER(CROSS(EXPMA((CLOSE/VBNH),60),EXPMA((CLOSE/VBNH),120)),30),最低+轴差*0.15,'★迹'),COLORCYAN;

DRAWICON(FILTER(CROSS(起动线,1.01),30),限制散户线,17);

DRAWTEXT(FILTER(CROSS(起动线,1.01),30),最低,'可能涨停'),COLORMAGENTA;

DRAWTEXT(FILTER(追击涨停,30),分时均价线+(限制散户线-分时均价线)/2,'追击'),COLORRED;

时间:=TIME=100000;

N:=BARSLAST(时间),COLOR808080;

常数:CONST(IF(N=0,C,REF(C,N))),COLOR004848,DOTLINE;

CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))),COLOR808080;

CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLOR808080;

STICKLINE(时间=1,CS1,CS2,-1,0),COLOR808080;

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:L1+P1*7/8,COLOR00FFFF,DOTLINE;

DRAWTEXT(CURRBARSCOUNT=1,阻力,'阻力'),COLOR00FFFF;

支撑:L1+P1*0.5/8,COLORRED,DOTLINE;

DRAWTEXT(CURRBARSCOUNT=1,支撑,'支撑'),COLORA2A2FF;

中:(支撑+阻力)/2,COLORC0C0C0,DOTLINE;

现价:CLOSE,COLORWHITE,LINETHICK1;

QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;

HGW1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;

HGW2:=(EMA(VOL,10)+EMA(VOL,32))/2;

HGW3:=(HGW1+HGW2)/2;

HGW4:=EMA(HGW3,30);

HGW5:=EMA(HGW3,60);

HGW6:=EVERY(HGW1>REF(HGW1,1),5) AND EVERY(HGW4>REF(HGW4,1),5);

DRAWBAND(HGW1,RGB(150,30,30),EMA(HGW1,60),RGB(0,110,30));

牵引线:HGW1,COLORYELLOW;

趋势关注:IF(CROSS(HGW1,EMA(HGW1,60)) AND HGW6,1,0),NODRAW,COLORRED;

量价关注:IF(CROSS(HGW3,HGW5) AND HGW6,1,0),NODRAW,COLORWHITE;

冲击量:IF(HGW3>HGW5 AND HGW6,1,0),NODRAW,COLORYELLOW;

STICKLINE(QZS>HGW1,QZS,HGW1,1,0),COLORFF00FF;

STICKLINE(冲击量=1,QZS,HGW1,1,0),COLORYELLOW;

DRAWICON(趋势关注=1,EMA(HGW1,60),13);

DRAWTEXT(量价关注=1,EMA(HGW1,60),'L0V'),COLORWHITE;

MR:=C<支撑 AND CROSS(C,REF(C,2));

STICKLINE(CROSS(现价,支撑),C,中,2,0),COLOR00F0F0;

STICKLINE(MR=1,支撑,中,2,0),COLOR00F0F0;

DRAWICON(MR=1 OR CROSS(现价,支撑),中,34);

STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLOR00F0F0;

MC:=C>阻力 AND CROSS(REF(C,2),C);

STICKLINE(CROSS(阻力,现价),C,中,2,0),COLORFFFF00;

STICKLINE(MC=1,阻力,中,2,0),COLORFFFF00;

DRAWICON(MC=1 OR CROSS(阻力,现价),中,35);

STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORFFFF00;

DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,'中'),COLORWHITE;

均价:SUM(V*C,0)/SUM(V,0),COLOR004080,DOTLINE;

DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORFFFFFF,LINETHICK2;

最新:C,LINETHICK9,COLORFFFF00;

IF(C>=REF(C,1),C,DRAWNULL),LINETHICK9,COLORRED;

AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));

BB:=BETWEEN(C/AA,C+H,C-H);

DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);

DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);

W:=BARSLAST(DAY-REF(DAY,1))+1;

FSJX:SUM(CLOSE*VOL,W)/SUM(VOL,W),LINETHICK2,COLORYELLOW;

IF(FSJX<REF(FSJX,1),FSJX,DRAWNULL),LINETHICK2,COLORGREEN;


未来函数检测结果如下:
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:DHIGH
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图