通达信超前MACD指标公式,通达信短线能量指标公式
admin888
|通达信超前MACD指标公式,通达信短线能量指标公式
通达信超前MACD指标公式
difF:ema(CLOSE,7) - Ema(CLOSE,19);
DEA:EMA(DIFF,9);
macd:2*(DIFF-DEA),COLORstICK;
A1:=BArslAST(REF(cr(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)
A2:=BARSLAST(REF(CROSS("kdj.K"(9,3,3),"kdJ.D"(9,3,3)),1));
B2:=REF(C,A2+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,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=REF(C,C2+1)
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)
MacD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;
KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;
RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;
MACD顶背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;
KDJ顶背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;
RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;
STICKLINE(B1>0,-0.1,0,2,0),COLORRED;
STICKLINE(B2>0,-0.1,0,2,0),COLORFF00FF;
STICKLINE(B3>0,-0.1,0,2,0),COLORYELLOW;
STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;
STICKLINE(D2>0,0.1,0,2,0),COLORFFCC66;
STICKLINE(D3>0,0.1,0,2,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,50,1),COLORBLUE;
DIFF,COLORGREEN;
DEA,COLORYELLOW;强:IF(DIFF>MA(DIFF,2),DIFF,DRAWNULL),COLORRED;
弱:IF(DEA>MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA;
通达信短线能量指标公式
额亿:AMOUNT/100000000,COLORFF00FF,NODRAW;
AA:=(AMOUNT / (((HIGH - LOW) * 2) - Abs((CLOSE - OPEN))));
买亿:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE
卖亿:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
存量:(买亿+卖亿),COLORRED,NODRAW;
深海:=C-(VOL,1);
幽灵:=EXPMema(深海,2);
深海幽灵:=EXPMEma(深海-幽灵,1),COLORstICK;
机构量能:EMA(深海幽灵,2),COLORRED,NODRAW;
红十天罗陀:=EXPMEMA(机构量能,2);
红十天罗陀1:=EXPMEMA(红十天罗陀,2);
STICKLINE(机构量能,(REF(机构量能,1)),机构量能,5,0),COLOR000077;
STICKLINE(机构量能,(REF(机构量能,1)),机构量能,4,0),COLOR000099;
STICKLINE(机构量能,(REF(机构量能,1)),机构量能,3,0),COLOR0000BB;
STICKLINE(机构量能,(REF(机构量能,1)),机构量能,1.5,0),COLOR0000DD;
STICKLINE(机构量能,(REF(机构量能,1)),机构量能,0.5,0),COLOR0000FF;
STICKLINE(机构量能,(REF(红十天罗陀,1)),红十天罗陀,5,0),COLOR000077;
STICKLINE(机构量能,(REF(红十天罗陀,1)),红十天罗陀,4,0),COLOR000099;
STICKLINE(机构量能,(REF(红十天罗陀,1)),红十天罗陀,3,0),COLOR0000BB;
STICKLINE(机构量能,(REF(红十天罗陀,1)),红十天罗陀,1.5,0),COLOR0000DD;
STICKLINE(机构量能,(REF(红十天罗陀,1)),红十天罗陀,0.5,0),COLOR0000FF;
金色持有:=REF(机构量能>REF(机构量能,1),1);
STICKLINE(金色持有,(REF(机构量能,1)),机构量能,5,0),COLOR007777;
STICKLINE(金色持有,(REF(机构量能,1)),机构量能,4,0),COLOR009999;
STICKLINE(金色持有,(REF(机构量能,1)),机构量能,3,0),COLOR00BBBB;
STICKLINE(金色持有,(REF(机构量能,1)),机构量能,1.5,0),COLOR00DDDD;
STICKLINE(金色持有,(REF(机构量能,1)),机构量能,0.5,0),COLOR00FFFF;
STICKLINE(绿色减仓,(REF(红十天罗陀,1)),红十天罗陀,5,0 ),COLOR007700;
STICKLINE(绿色减仓,(REF(红十天罗陀,1)),红十天罗陀,4,0 ),COLOR009900;
STICKLINE(绿色减仓,(REF(红十天罗陀,1)),红十天罗陀,3,0 ),COLOR00BB00;
STICKLINE(绿色减仓,(REF(红十天罗陀,1)),红十天罗陀,2,0 ),COLOR00DD00;
STICKLINE(绿色减仓,(REF(红十天罗陀,1)),红十天罗陀,1,0 ),COLOR00FF00;
DRAWTEXT(crOSS(机构量能,0),0,'买'),COLORFF00FF;
DRAWTEXT(CROSS(0,机构量能),0,'卖'),COLOR00FFFF;
DRAWTEXT(CROSS(机构量能,红十天罗陀),机构量能,'B'),COLORFF00FF;
DRAWTEXT(CROSS(红十天罗陀,机构量能),机构量能,'S'),COLOR00FFFF;
轴: 0,COLORWHITE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。