首页 > 通达信选股公式

​通达信背离三合一指标

作者:爱指标源码创建日期:2022-05-29
1.MACD、RSI、KDJ指标顶底背离提示,背离的条件越大力度越大。

2.添加了改版的MACD量柱,红色做多绿色做空,灰色力度减弱。faHK线密码—破译K线的密码

3.有零上零下二次金叉提示faHK线密码—破译K线的密码

图片faHK线密码—破译K线的密码

指标源码:faHK线密码—破译K线的密码

引用1:(EMA(CLOSE,12) - EMA(CLOSE,26))*100/EMA(CLOSE,26);faHK线密码—破译K线的密码

引用2:EMA(引用1,9);faHK线密码—破译K线的密码

背离1:=2*(引用1-引用2),STICK;faHK线密码—破译K线的密码

背离2:=EMA(背离1,3);faHK线密码—破译K线的密码

STICKLINE(背离1>背离2 AND 背离1>0,0,背离1,0,0),COLORRED;faHK线密码—破译K线的密码

STICKLINE(背离1>背离2 AND 背离1<0,0,背离1,0,0),COLORGREEN;faHK线密码—破译K线的密码

STICKLINE(背离1<背离2,0,背离1,0,0),COLORCBCBC0;faHK线密码—破译K线的密码

STICKLINE(背离1>=0 OR 背离1<=0,0,0,50,1),COLORWHITE;faHK线密码—破译K线的密码

MACD:背离1,NODRAW,COLORMAGENTA;faHK线密码—破译K线的密码

强:IF(引用1>=引用2,引用1,DRAWNULL),COLORRED;faHK线密码—破译K线的密码

弱:IF(引用2>=引用1,引用2,DRAWNULL),COLORFF9900;faHK线密码—破译K线的密码

DRAWICON(CROSS(引用1,引用2),引用1+0.1,1);faHK线密码—破译K线的密码

DRAWICON(CROSS(引用2,引用1),0.4,2);faHK线密码—破译K线的密码

A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));faHK线密码—破译K线的密码

B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");faHK线密码—破译K线的密码

DRAWTEXT(B1>0,-0.8,'MACD底背'),COLORFF00FF;faHK线密码—破译K线的密码

A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));faHK线密码—破译K线的密码

B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");faHK线密码—破译K线的密码

DRAWTEXT(B2,-0.6,'KDJ底离'),COLORYELLOW;{KDJ底背离};faHK线密码—破译K线的密码

A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));faHK线密码—破译K线的密码

B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");faHK线密码—破译K线的密码

DRAWTEXT(B3>0,-0.3,'RSI底离'),COLORCYAN;{RSI底背离};faHK线密码—破译K线的密码

C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));faHK线密码—破译K线的密码

D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");faHK线密码—破译K线的密码

DRAWTEXT(D1>0,0.4,'MACD顶离'),COLORBLUE;{MACD顶背离}faHK线密码—破译K线的密码

C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));faHK线密码—破译K线的密码

D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");faHK线密码—破译K线的密码

DRAWTEXT(D2>0,0.6,'KDJ顶离'),COLORLIMAGENTA;{KDJ顶背离}faHK线密码—破译K线的密码

C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));faHK线密码—破译K线的密码

D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");faHK线密码—破译K线的密码

DRAWTEXT(D3>0,0.8,'RSI顶离'),COLORGREEN;{RSI顶背离};faHK线密码—破译K线的密码

DD:=C=HHV(C,180);faHK线密码—破译K线的密码

EE:=引用2< REF(引用2,1) AND REF(引用2< REF(引用2,1),1)=1;faHK线密码—破译K线的密码

CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;faHK线密码—破译K线的密码

上升背离:(CC AND EE)*引用2,COLOR00FFFF;faHK线密码—破译K线的密码

顶背离:(DD AND EE AND 引用2< HHV(引用2,180))*引用2,STICK,LINETHICK3,COLORGREEN;faHK线密码—破译K线的密码

FF:=C=LLV(C,180);faHK线密码—破译K线的密码

GG:= 引用2> REF(引用2,1) AND REF(引用2> REF(引用2,1),1)=1;faHK线密码—破译K线的密码

LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;faHK线密码—破译K线的密码

下降背离:(LL AND GG)*引用2,COLORMAGENTA;faHK线密码—破译K线的密码

底背离:(FF AND GG AND 引用2> LLV(引用2,180))*引用2,STICK,LINETHICK3,COLORRED;faHK线密码—破译K线的密码

SHORT:=12;faHK线密码—破译K线的密码

LONG:=26;faHK线密码—破译K线的密码

MID:=9;faHK线密码—破译K线的密码

DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);faHK线密码—破译K线的密码

DEA:=EMA(DIF,MID);faHK线密码—破译K线的密码

MACD9:=(DIF-DEA)*2;faHK线密码—破译K线的密码

AK1:=DIF<0 AND DEA<0;faHK线密码—破译K线的密码

AK2:=AK1!=REF(AK1,1) AND AK1;faHK线密码—破译K线的密码

AK3:=COUNT(CROSS(DIF,DEA),BARSLAST(AK2))=1 AND CROSS(DIF,DEA) AND AK1;faHK线密码—破译K线的密码

AK4:=COUNT(CROSS(DIF,DEA),BARSLAST(AK2))=2 AND CROSS(DIF,DEA) AND AK1;faHK线密码—破译K线的密码

AK5:=REF(DIF,BARSLAST(AK3))<=REF(DIF,BARSLAST(AK4));faHK线密码—破译K线的密码

零下二金:AK4 AND AK5,LINETHICK2,COLOR38B0DE;faHK线密码—破译K线的密码

BC1:=DIF>0 AND DEA>0;faHK线密码—破译K线的密码

BC2:=BC1!=REF(BC1,1) AND B1;faHK线密码—破译K线的密码

BC3:=COUNT(CROSS(DIF,DEA),BARSLAST(BC2))=1 AND CROSS(DIF,DEA) AND BC1;faHK线密码—破译K线的密码

BC4:=COUNT(CROSS(DIF,DEA),BARSLAST(BC2))=2 AND CROSS(DIF,DEA) AND BC1;faHK线密码—破译K线的密码

BC5:=REF(DIF,BARSLAST(BC3))<=REF(DIF,BARSLAST(BC4));faHK线密码—破译K线的密码

零上二金:BC4 AND BC5,LINETHICK2;faHK线密码—破译K线的密码

 faHK线密码—破译K线的密码

【源码分享】庄家提示量能副图指标公式(通达信电脑+手机版)faHK线密码—破译K线的密码
faHK线密码—破译K线的密码
 

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));faHK线密码—破译K线的密码

主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;faHK线密码—破译K线的密码

主动卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;faHK线密码—破译K线的密码

STICKLINE(C<O ,0,VOL,3.2,0),COLORFF1100;faHK线密码—破译K线的密码

STICKLINE(C<O ,0,VOL,2.7,0),COLORFF3300;faHK线密码—破译K线的密码

STICKLINE(C<O ,0,VOL,2.1,0),COLORFF5500;faHK线密码—破译K线的密码

STICKLINE(C<O ,0,VOL,1.5,0),COLORFF7700;faHK线密码—破译K线的密码

STICKLINE(C<O ,0,VOL,0.9,0),COLORFF9900;faHK线密码—破译K线的密码

STICKLINE(C<O ,0,VOL,0.3,0),COLORFFBB00;faHK线密码—破译K线的密码

STICKLINE(C=O AND C<REF(C,1),0,VOL,3.2,0),COLOR006000;faHK线密码—破译K线的密码

STICKLINE(C=O AND C<REF(C,1),0,VOL,2.7,0),COLOR007500;faHK线密码—破译K线的密码

STICKLINE(C=O AND C<REF(C,1),0,VOL,2.1,0),COLOR009100;faHK线密码—破译K线的密码

STICKLINE(C=O AND C<REF(C,1),0,VOL,1.5,0),COLOR00A600;faHK线密码—破译K线的密码

STICKLINE(C=O AND C<REF(C,1),0,VOL,0.9,0),COLOR00BB00;faHK线密码—破译K线的密码

STICKLINE(C=O AND C<REF(C,1),0,VOL,0.3,0),COLOR00CC00;faHK线密码—破译K线的密码

STICKLINE(C=O AND C>REF(C,1),0,VOL,3.2,0),COLOR555555;faHK线密码—破译K线的密码

STICKLINE(C=O AND C>REF(C,1),0,VOL,2.7,0),COLOR777777;faHK线密码—破译K线的密码

STICKLINE(C=O AND C>REF(C,1),0,VOL,2.1,0),COLOR999999;faHK线密码—破译K线的密码

STICKLINE(C=O AND C>REF(C,1),0,VOL,1.5,0),COLORBBBBBB;faHK线密码—破译K线的密码

STICKLINE(C=O AND C>REF(C,1),0,VOL,0.9,0),COLORDDDDDD;faHK线密码—破译K线的密码

STICKLINE(C=O AND C>REF(C,1),0,VOL,0.3,0),COLORFFFFFF;faHK线密码—破译K线的密码

STICKLINE(C>O,0,VOL,3.2,0),COLORFF11FF;faHK线密码—破译K线的密码

STICKLINE(C>O,0,VOL,2.7,0),COLORFF33FF;faHK线密码—破译K线的密码

STICKLINE(C>O,0,VOL,2.1,0),COLORFF55FF;faHK线密码—破译K线的密码

STICKLINE(C>O,0,VOL,1.5,0),COLORFF77FF;faHK线密码—破译K线的密码

STICKLINE(C>O,0,VOL,0.9,0),COLORFF99FF;faHK线密码—破译K线的密码

STICKLINE(C>O,0,VOL,0.3,0),COLORFFBBFF;faHK线密码—破译K线的密码

资金异动:VOL/MA(VOL,55)*100,COLORYELLOW;faHK线密码—破译K线的密码

STICKLINE(主动买盘>0,0,主动买盘,3.2,0),COLOR000055;faHK线密码—破译K线的密码

STICKLINE(主动买盘>0,0,主动买盘,2.7,0),COLOR000077;faHK线密码—破译K线的密码

STICKLINE(主动买盘>0,0,主动买盘,2.1,0),COLOR000099;faHK线密码—破译K线的密码

STICKLINE(主动买盘>0,0,主动买盘,1.5,0),COLOR0000BB;faHK线密码—破译K线的密码

STICKLINE(主动买盘>0,0,主动买盘,0.9,0),COLOR0000DD;faHK线密码—破译K线的密码

STICKLINE(主动买盘>0,0,主动买盘,0.3,0),COLOR0000FF;faHK线密码—破译K线的密码

STICKLINE(主动卖盘<0,0,主动卖盘,3.2,0),COLOR006000;faHK线密码—破译K线的密码

STICKLINE(主动卖盘<0,0,主动卖盘,2.7,0),COLOR007500;faHK线密码—破译K线的密码

STICKLINE(主动卖盘<0,0,主动卖盘,2.1,0),COLOR009100;faHK线密码—破译K线的密码

STICKLINE(主动卖盘<0,0,主动卖盘,1.5,0),COLOR00A600;faHK线密码—破译K线的密码

STICKLINE(主动卖盘<0,0,主动卖盘,0.9,0),COLOR00BB00;faHK线密码—破译K线的密码

STICKLINE(主动卖盘<0,0,主动卖盘,0.3,0),COLOR00CC00;faHK线密码—破译K线的密码

STICKLINE(资金异动>100 ,0,VOL,0.6,0),COLORYELLOW;faHK线密码—破译K线的密码

SQX:=(C-MA(CLOSE,13))*100;faHK线密码—破译K线的密码

DIFF:EMA(MA(SQX,7),1),COLOR00FFFF;faHK线密码—破译K线的密码

DEA:EMA(DIFF,7),COLOR00FF00;faHK线密码—破译K线的密码

上一篇:军师预言神助(指标 副图 通达信 贴图)通达信指标

下一篇:金牌黑马的优化极品版/副图通达信公式 副图 源码

猜你喜欢