皮皮网

【审时度势副图源码】【股票火箭预警源码】【通讯达手机源码】通达信顶分型源码_通达信顶分型源码查询

来源:5影视源码官方 时间:2024-11-23 13:04:26

1.ͨ?通达通达??Ŷ?????Դ??
2.通达信版本-缠论笔段预测主图指标,源代码免费分享

通达信顶分型源码_通达信顶分型源码查询

ͨ?信顶信顶??Ŷ?????Դ??

       有些人认为我发布的技术指标华而不实,毫无辅助判断价值。分型分型审时度势副图源码然而,源码源码我认为这种看法是查询股票火箭预警源码错误的。技术指标并非一朝一夕之物,通达通达通讯达手机源码若你在使用过程中遭遇损失,信顶信顶可能是分型分型方法不当或指标本身存在误差。

       今日,源码源码我将用自己常用的查询技术指标与传统指标进行对比,以证明技术指标的通达通达实际效用。

       分型顶底幅图指标是信顶信顶一种典型的“优化MACD”指标,与传统MACD相比,分型分型源码实现域名授权它更为详细,源码源码能直观显示出金叉与死叉的查询练手项目源码网站分界线,同时成交量的高低也更为明确。

       分型顶底幅图公式代码如下:

       DIFF:EMA(CLOSE,7) - EMA(CLOSE,); DEA:EMA(DIFF,9); DRAWBAND(DIFF,RGB(,,),DEA,RGB(,,)); MACD:2*(DIFF-DEA),COLORSTICK; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)); A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,,),"RSI.RSI2"(6,,)),1)); B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,,),A3+1)<"RSI.RSI1"(6,,) AND CROSS("RSI.RSI1"(6,,),"RSI.RSI2"(6,,)); C1:=BARSLAST(REF(CROSS(DEA,DIFF),1)); D1:=REF(C,C1+1)DIFF AND CROSS(DEA,DIFF); C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1)); D2:=REF(C,C2+1)"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)); C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,,),"RSI.RSI1"(6,,)),1)); D3:=REF(C,C3+1)"RSI.RSI1"(6,,) AND CROSS("RSI.RSI2"(6,,),"RSI.RSI1"(6,,)); STICKLINE(B1>0,-0.1,0,1,0),COLORRED; STICKLINE(B2>0,-0.1,0,1,0),COLORFFFF; STICKLINE(B3>0,-0.1,0,1,0),COLORYELLOW; STICKLINE(D1>0,0.1,0,1,0),COLORFF; STICKLINE(D2>0,0.1,0,1,0),COLORFFCC; STICKLINE(D3>0,0.1,0,1,0),COLORWHITE; STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORRED; STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0,0),COLORYELLOW; STICKLINE(MACD=REF(MACD,1) AND MACD<0,0,MACD,0,0),COLORMAGENTA; STICKLINE(C>0,0,0,,1),COLORBLUE; MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT; KDJ底背:IF(B2>0,-0.1,0),COLORFFFF,POINTDOT; RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT; MACD顶背:IF(D1>0,0.1,0),COLORFF,POINTDOT; KDJ顶背:IF(D2>0,0.1,0),COLORFFCC,POINTDOT; RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT; 强:IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED,LINETHICK2; 弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA,LINETHICK2; DRAWICON(CROSS(DIFF,DEA),DEA,5); DRAWICON(CROSS(DEA,DIFF),DEA,); A:=REF(DIFF,1)REF(DIFF,1); B:=REF(DIFF,1)>REF(DIFF,2) AND REF(DIFF,2)>REF(DIFF,3) AND DIFF 0),0,MACD,0.1,0),COLORCC; STICKLINE((MACD > 0),0,MACD*0.9,0.1,0),COLOREE; STICKLINE((MACD > 0),0,MACD*0.8,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.7,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.6,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.5,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.4,0.1,0),COLORFF; STICKLINE((MACD > 0),0,MACD*0.3,0.1,0),COLORBBFF; STICKLINE((MACD > 0),0,MACD*0.2,0.1,0),COLORDDFF; STICKLINE((MACD > 0),0,MACD*0.1,0.1,0),COLORFFFF; STICKLINE((MACD < 0),0,MACD,0.1,0),COLORCC; STICKLINE((MACD < 0),0,MACD*0.9,0.1,0),COLOREE; STICKLINE((MACD < 0),0,MACD*0.8,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.7,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.6,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.5,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.4,0.1,0),COLORFF; STICKLINE((MACD < 0),0,MACD*0.3,0.1,0),COLORFFBB; STICKLINE((MACD < 0),0,MACD*0.2,0.1,0),COLORFFDD; STICKLINE((MACD < 0),0,MACD*0.1,0.1,0),COLORFFFF;

通达信版本-缠论笔段预测主图指标,源代码免费分享

       显示开关:=1;

       顶价:=REF(H,BARSLAST(H>REF(H,1)));

       底价:=REF(L,BARSLAST(L<REF(L,1)));

       分型顶0:=H>顶价 AND L>底价;

       分型底0:=L<顶价 AND H<底价;

       分型顶1:=分型顶0 AND H=HHV(H,BARSLAST(分型底0));

       分型底1:=分型底0 AND L=LLV(L,BARSLAST(分型顶0));

       分型顶:=FILTERX(分型顶1,BARSLAST(分型底1));

       分型底:=FILTERX(分型底1,BARSLAST(分型顶1));

       UP1:=BARSLAST(分型底);

       顶力度1:=HHV(L,UP1+1)>LLV(H,UP1+1);

       顶包含1:=COUNT(L>REF(L,1),UP1)>2 AND COUNT(H>REF(H,1),UP1)>2;

       DN1:=BARSLAST(分型顶);

       底力度1:=HHV(L,DN1+1)>LLV(H,DN1+1);

       底包含1:=COUNT(H>REF(H,1),DN1)>2 AND COUNT(L>REF(L,1),DN1)>2;

       笔顶:=分型顶 AND UP1>3 AND 顶力度1 AND 顶包含1;

       笔底:=分型底 AND DN1>3 AND 底力度1 AND 底包含1;

       笔顶:=笔顶 AND H=HHV(H,BARSLAST(笔底));

       笔底:=笔底 AND L=LLV(L,BARSLAST(笔顶));

       笔顶:=笔顶 AND H=HHV(H,BARSLAST(笔底));

       笔底:=笔底 AND L=LLV(L,BARSLAST(笔顶));

       笔顶1:=FILTERX(笔顶,BARSLAST(笔底));

       笔底1:=FILTERX(笔底,BARSLAST(笔顶));

       UP2:=BARSLAST(笔底1);

       顶力度2:=HHV(L,UP2+1)>LLV(H,UP2+1);

       顶包含2:=COUNT(L>REF(L,1),UP2)>2 AND COUNT(H>REF(H,1),UP2)>2;

       DN2:=BARSLAST(笔顶1);

       底力度2:=HHV(L,DN2+1)>LLV(H,DN2+1);

       底包含2:=COUNT(H>REF(H,1),DN2)>2 AND COUNT(L>REF(L,1),DN2)>2;

       笔顶:=分型顶 AND UP2>3 AND 顶力度2 AND 顶包含2;

       笔底:=分型底 AND DN2>3 AND 底力度2 AND 底包含2;

       笔顶:=笔顶 AND H=HHV(H,BARSLAST(笔底));

       笔底:=笔底 AND L=LLV(L,BARSLAST(笔顶));

       笔顶2:=FILTERX(笔顶,BARSLAST(笔底));

       笔底2:=FILTERX(笔底,BARSLAST(笔顶));

       笔顶3:=笔顶1 OR 笔顶2;

       笔底3:=笔底1 OR 笔底2;

       笔顶:=FILTERX(笔顶3 AND H=HHV(H,BARSLAST(笔底3)),BARSLAST(笔底3));

       笔底:=FILTERX(笔底3 AND L=LLV(L,BARSLAST(笔顶3)),BARSLAST(笔顶3));

       笔顶:=FILTERX(笔顶 AND H=HHV(H,BARSLAST(笔底)),BARSLAST(笔底));

       笔底:=FILTERX(笔底 AND L=LLV(L,BARSLAST(笔顶)),BARSLAST(笔顶));

       笔顶:=笔顶 AND (BARSLAST(笔底)>1 OR BARSLAST(笔底)=DRAWNULL);

       笔底:=笔底 AND (BARSLAST(笔顶)>1 OR BARSLAST(笔顶)=DRAWNULL);

       笔顶:=笔顶 AND (H=HHV(H,BARSLAST(笔底)) OR BARSLAST(笔底)=DRAWNULL);

       笔底:=笔底 AND (L=LLV(L,BARSLAST(笔顶)) OR BARSLAST(笔顶)=DRAWNULL);

       笔顶:=FILTERX(笔顶,BARSLAST(笔底));

       笔底:=FILTERX(笔底,BARSLAST(笔顶));

       笔顶:=笔顶 AND (BARSLAST(笔底)>2 OR BARSLAST(笔底)=DRAWNULL);

       笔底:=笔底 AND (BARSLAST(笔顶)>2 OR BARSLAST(笔顶)=DRAWNULL);

       笔顶:=笔顶 AND (H=HHV(H,BARSLAST(笔底)) OR BARSLAST(笔底)=DRAWNULL);

       笔底:=笔底 AND (L=LLV(L,BARSLAST(笔顶)) OR BARSLAST(笔顶)=DRAWNULL);

       笔顶:=FILTERX(笔顶,BARSLAST(笔底));

       笔底:=FILTERX(笔底,BARSLAST(笔顶));

       笔顶:=笔顶 AND (BARSLAST(笔底)>3 OR BARSLAST(笔底)=DRAWNULL);

       笔底:=笔底 AND (BARSLAST(笔顶)>3 OR BARSLAST(笔顶)=DRAWNULL);

       笔顶:=笔顶 AND (H=HHV(H,BARSLAST(笔底)) OR BARSLAST(笔底)=DRAWNULL);

       笔底:=笔底 AND (L=LLV(L,BARSLAST(笔顶)) OR BARSLAST(笔顶)=DRAWNULL);

       笔顶:=FILTERX(笔顶,BARSLAST(笔底));

       笔底:=FILTERX(笔底,BARSLAST(笔顶));

       DN:=BARSLAST(笔顶);

       底力度:=HHV(L,DN+1)>LLV(H,DN+1);

       底包含:=COUNT(H>REF(H,1),DN)>2 AND COUNT(L>REF(L,1),DN)>2;

       笔底:=笔底 AND (笔底<>1) AND DN>3 AND 底力度 AND 底包含 AND (L=LLV(L,BARSLAST(笔顶)));

       笔底:=FILTERX(笔底,BARSLAST(笔顶));

       UP:=BARSLAST(笔底);

       顶力度:=HHV(L,UP+1)>LLV(H,UP+1);

       顶包含:=COUNT(L>REF(L,1),UP)>2 AND COUNT(H>REF(H,1),UP)>2;

       笔顶:=笔顶 AND (笔顶<>1) AND UP>3 AND 顶力度 AND 顶包含 AND (H=HHV(H,BARSLAST(笔底)));

       笔顶:=FILTERX(笔顶,BARSLAST(笔底));

       笔顶:=笔顶 OR 笔顶;

       笔底:=笔底 OR 笔底;

       笔顶:=FILTERX(笔顶 AND H=HHV(H,BARSLAST(笔底)),BARSLAST(笔底));

       笔底:=FILTERX(笔底 AND L=LLV(L,BARSLAST(笔顶)),BARSLAST(笔顶));

       UP:=BARSLAST(笔底);

       顶力度:=HHV(L,UP+1)>LLV(H,UP+1);

       顶包含:=COUNT(L>REF(L,1),UP)>2 AND COUNT(H>REF(H,1),UP)>2;

       DN:=BARSLAST(笔顶);

       底力度:=HHV(L,DN+1)>LLV(H,DN+1);

       底包含:=COUNT(H>REF(H,1),DN)>2 AND COUNT(L>REF(L,1),DN)>2;

       笔顶:=笔顶 AND UP>3 AND 顶力度 AND