导航:首页 > 期指持仓 > 股票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背离指标公式相关的资料

热点内容
香港京东健康股票代码 浏览:152
为什么股票前面突然加了st 浏览:443
收到投资者投入的股票属于 浏览:83
美团股票老虎证券 浏览:729
永太科技股票资金流入全 浏览:733
一只股票连涨100天 浏览:26
2015证券股票有哪些 浏览:861
股票快讯app 浏览:223
史丹利股票长期持有 浏览:903
股票配资app在哪里下载 浏览:734
中国股票为什么这么熊 浏览:64
2月26日股票走势预测 浏览:758
公司股票突遭st 浏览:949
中国电影股票长远价值 浏览:798
中国股票市值月度数据 浏览:474
银行卡股票解绑 浏览:147
久远银海股票历史数据 浏览:183
建设银行股票做波段 浏览:274
股票账户里的在途资金怎么转出来 浏览:660
涨停板股票最好换手力 浏览:748