导航:首页 > 期指持仓 > 股票macd背离指标公式

股票macd背离指标公式

发布时间:2024-05-23 05:31:47

通达信MACD底背离选股公式

股价创30日新低:l<=llv(l,30);
当日MACD(就是那个红绿柱子)值大于昨日:"macd.macd”>ref("macd.macd",1);
当日DIFF(白线) 没创新低:"macd.dif">=ref("macd.dif",1);

选股1:l<=LLV(l,30) AND "MACD.MACD">REF("MACD.MACD",1);
选股2:l<=LLV(l,30) AND "MACD.DIF">=REF("MACD.DIF",1);

选股3:l<=LLV(l,30) AND "MACD.MACD">REF("MACD.MACD",1) and
"MACD.DIF">=REF("MACD.DIF",1);

② 楹荤储澶х炲啓涓狭ACD椤惰儗绂荤殑鍏寮

MACD椤跺簳鑳岀诲坛锲

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
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)<C AND REF(DIFF,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)<C AND REF("KDJ.K"(9,3,3),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,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
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;

阅读全文

与股票macd背离指标公式相关的资料

热点内容
浦发银行股票08 浏览:671
你们股票开户用的什么软件 浏览:307
股票吸筹完毕指标公式 浏览:335
股票涨停的目的 浏览:484
首次发行股票最低多少 浏览:134
证券公司股票负债率多少合理 浏览:459
st股票上涨意味 浏览:233
股票重组时间规定最长多少天 浏览:581
长期股权投资和股票投资的区别 浏览:746
股票账户哪个银行能开 浏览:113
什么股票在外国却在中国赚钱 浏览:702
富威科技股票代码 浏览:63
史丹利股票走势图 浏览:935
股票st了能卖吗 浏览:621
买股票分分红股价涨都能赚钱 浏览:417
投资股票收益计算 浏览:337
行业板块中挑选股票 浏览:66
哪里可以查看股票前几年的价格走势 浏览:732
七匹狼股票走势分析预测 浏览:362
股票账户怎么统计今年利润 浏览:421