b2c信息网

您现在的位置是:首页 > 明日新闻 > 正文

明日新闻

通达信反转共振公式源码(共振指标公式源码通达信)

hacker2022-06-08 12:51:18明日新闻123
本文目录一览:1、麻烦老师把通达信趋势反转公式源码转成同花顺的,谢谢!

本文目录一览:

麻烦老师把通达信趋势反转公式源码转成同花顺的,谢谢!

这个公式最好别用,应该有未来数据。趋势反转不反转还是自己复盘翻出来分析!

通达信MACD KDJ金叉共振的公式,满意答案一定重赏。

公式不是万能的,但没有公式可万万不能,主要是自己。

DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100;

DEA:EMA(DIF,9);

MACD:(DIF-DEA)*2,COLORSTICK;

DRAWICON(CROSS(DIF,DEA),DEA,1);

DRAWICON(CROSS(DEA,DIF),DEA,2);

IF(DIFDEA,DIF,DRAWNULL),COLORGREEN;

DD:=C=HHV(C,180);

EE:=DEA REF(DEA,1) AND REF(DEA REF(DEA,1),1)=1;

CC:=C REF(C,1) AND REF(C REF(C,1),1)=1;

顶背离:=(DD AND EE AND DEA HHV(DEA,180))*DEA;

A2:=BARSLAST(REF(CROSS(DEA,DIF),1));

{顶背:=REF(CLOSE,A2+1)CLOSE AND REF(DIF,A2+1)DIF AND CROSS(DEA,DIF);}

DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORRED,LINETHICK2;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:SMA(RSV,9,3),COLORYELLOW;

D:SMA(K,9,3),COLORWHITE;

J:3*K-2*D,COLORMAGENTA;

IF(JD,J,DRAWNULL),COLORFFEE44;

A1:=BARSLAST(REF(CROSS(DIF,DEA),1));

B1:=REF(C,A1+1)C AND REF(DIF,A1+1)DIF AND CROSS(DIF,DEA);

A22:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));

B2:=REF(C,A22+1)C AND REF("KDJ.K"(9,3,3),A22+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));

DRAWTEXT(B1,DEA-0.20,'▲MACD底背'),COLORWHITE;

DRAWTEXT(B2,D-0.20,'●KDJ底背'),COLORFF00FF;

{DJ:=CROSS(J,D) AND D20;

DRAWTEXT(DJ,J-0.3,'低金叉'),COLORCYAN;

MDJ:=CROSS(DIF,DEA) AND DEA0;

DRAWTEXT(MDJ,DEA-0.3,'低金叉'),COLORGREEN;

DRAWTEXT(CROSS(DEA,DIF),DIF+0.3,'死叉'),COLORYELLOW;

DRAWTEXT(CROSS(D,J),J+0.3,'死叉'),COLORRED;}

A:=CROSS(DIF,DEA) AND CROSS(K,D) AND CROSS(J,D);

DRAWICON(A,LOW*0.98,1);

B4:CROSS(DIF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));

DRAWTEXT(B4,L-0.20,'★金叉共振'),COLOR0099FF;

DRAWICON(CROSS(K,D),D,1);

DRAWICON(CROSS(D,K),D,2);

BA:=DEAREF(DEA,1);

BB:=SUM(BA,5)=4;

BC:=CO;

BD:=SUM(BC,5)=2;

BXG:FILTER(BB AND BD AND JREF(J,1) AND REF(J,1)REF(J,2),3);

STICKLINE(BXG,HHV(J,60),HHV(J,60)-20,1,0),COLORRED;

SS:=EMA(C,11);

LL:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,5))/4;

{短:EMA(LL,2),COLORGREEN,LINETHICK2;}

{长:EMA(SS,2),COLORMAGENTA,LINETHICK2;}

AA:=(C-LLV(C,10))/(HHV(C,10)-LLV(C,10));

(CROSS(AA,0.05)-1);

那位老师帮我编写一个通达信选股公式:要求共振信号(就是黄色线)刚刚出现1天或者2天时的选股公式

DIFF:=EMA(CLOSE,8) - EMA(CLOSE,32); DEA:=EMA(DIFF,8); 今天L最低:=LLV(L,60)=L;DIFF不最低:=NOT(LLV(DIFF,45)=DIFF); DIFF昨天不最低:=NOT(LLV(DIFF,45)=REF(DIFF,1)); DIFF低位X:=EXIST(CROSS(DIFF,DEA)AND (DIFF0 AND DEA0),40); 小确认2:=DIFFREF(DIFF,1);昨天C最低:=LLV(C,60)=REF(C,1); MACD底背离1:=今天L最低 AND DIFF不最低 AND DIFF昨天不最低 AND DIFF低位X AND 小确认2; MACD底背离2:=昨天C最低 AND DIFF不最低 AND DIFF昨天不最低 AND DIFF低位X AND 小确认2; MACD共振买:(MACD底背离1 OR MACD底背离2) AND COUNT((MACD底背离1 OR MACD底背离2),5)1; (MACD共振买) 昨天收盘新低:=REF(C,1)=LLV(C,32) OR L=LLV(L,32); RSI不新低:=NOT(RSI=LLV(RSI,32)); RSI昨天不新低:=NOT(REF(RSI,1)=LLV(RSI,32)); 超卖区:=RSI40; 前一低点:=LLV(RSI,32)25; 确认2:=RSIREF(RSI,1); RSI底背离:=昨天收盘新低 AND RSI不新低 AND 超卖区 AND 前一低点 AND RSI昨天不新低 AND 确认2; RSI共振买:RSI底背离 AND COUNT(RSI底背离,5)1; (RSI共振买) DIFF:=EMA(CLOSE,8) - EMA(CLOSE,32); DEA:=EMA(DIFF,8); 今天L最低:=LLV(L,60)=L;DIFF不最低:=NOT(LLV(DIFF,45)=DIFF); DIFF昨天不最低:=NOT(LLV(DIFF,45)=REF(DIFF,1)); DIFF低位X:=EXIST(CROSS(DIFF,DEA)AND (DIFF0 AND DEA0),40); 小确认2:=DIFFREF(DIFF,1);昨天C最低:=LLV(C,60)=REF(C,1); MACD底背离1:=今天L最低 AND DIFF不最低 AND DIFF昨天不最低 AND DIFF低位X AND 小确认2; MACD底背离2:=昨天C最低 AND DIFF不最低 AND DIFF昨天不最低 AND DIFF低位X AND 小确认2; MACD共振买:=(MACD底背离1 OR MACD底背离2) AND COUNT((MACD底背离1 OR MACD底背离2),5)1; LC := REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100; 昨天收盘新低:=REF(C,1)=LLV(C,32) OR L=LLV(L,32); RSI不新低:=NOT(RSI=LLV(RSI,32)); RSI昨天不新低:=NOT(REF(RSI,1)=LLV(RSI,32)); 超卖区:=RSI40; 前一低点:=LLV(RSI,32)25; 确认2:=RSIREF(RSI,1); RSI底背离:=昨天收盘新低 AND RSI不新低 AND 超卖区 AND 前一低点 AND RSI昨天不新低 AND 确认2; RSI共振买:=RSI底背离 AND COUNT(RSI底背离,5)1; XG:MACD共振买 OR RSI共振买; (2个公式合并在一起,信号都选)

通达信五线共振主图指标公式

五指标共振:=MACDJC+KDJC+BBIJC+ASIJC+MTMJC=5。

共振的含义就是指两个以上的各周期的黄白线和macd出现方向一致同时上涨或下跌。

通达OA全称为OfficeAnywhere。它是一款软件通达信科综合实力企业简介通达信科隶属于世界500强企业。中国兵器工业信息中心通达信科隶属于中国兵器工业集团。中国兵器工业集团前身为国家兵器工业部,现为中央直属的特大型国有企业,同时是国防十大企业。

发表评论

评论列表

  • 柔侣溇涏(2022-06-08 22:04:24)回复取消回复

    RSTICK;DRAWICON(CROSS(DIF,DEA),DEA,1);DRAWICON(CROSS(DEA,DIF),DEA,2);IF(DIFDEA,DIF,DRAWNULL),COLORGREEN;DD

  • 嘻友岛徒(2022-06-08 15:33:12)回复取消回复

    V:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,9,3),COLORYELLOW;D:SMA(K,9,3),COLORWHITE;J

  • 馥妴眉薄(2022-06-08 14:36:52)回复取消回复

    共振买 OR RSI共振买; (2个公式合并在一起,信号都选)通达信五线共振主图指标公式五指标共振:=MACDJC+KDJC+BBIJC+ASIJC+MTMJC=5。共振的含义就是指两个以上的各周期的黄

  • 萝莉病(2022-06-08 23:27:32)回复取消回复

    DIF),1));{顶背:=REF(CLOSE,A2+1)CLOSE AND REF(DIF,A2+1)DIF AND CROSS(DEA,DIF);}DRAWLINE(A2=0,DEA,顶背离,D

  • 泪灼云胡(2022-06-08 17:04:30)回复取消回复

    FF,45)=REF(DIFF,1)); DIFF低位X:=EXIST(CROSS(DIFF,DEA)AND (DIFF0 AND DEA0),40); 小确认2:=DIFFREF(DIFF,1);昨天C最低:=LLV(C,60)=REF(C,1); MACD底背离1:=