通达信经典抄底副图指标 源码

[复制链接]
查看229 | 回复0 | 2021-8-28 01:18:03 | 显示全部楼层 |阅读模式

以下是通达信经典抄底副图指标 源码(无源码的请下载附件导入)

{经典抄底}
XX2:=(MA(CLOSE,55)-MA(CLOSE,5)/4);
奇线: MA((CLOSE-XX2)/XX2,1),COLORRED;
买点1: IF(CROSS(奇线,0) AND HIGH/REF(HIGH,1)>1.015,0.5,0), STICK,COLORWHITE;
买点2: IF(REF(奇线,2)=LLV(奇线,20) AND REF(奇线,2)<0.071 AND REF(奇线,2)<REF(奇线,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1) AND CROSS(CCI,-100),0.5,0),COLORRED;
 DRAWTEXT( 买点1>0,0.2 ,'神奇线1'),COLORWHITE;
 DRAWTEXT( 买点2>0,0.4 , '神奇线2'),COLORYELLOW;
 0.3;
 DRAWICON(CROSS(奇线,0.28),0.3,1);
 DRAWTEXT(CROSS(奇线,0.28),0.26,'买'),COLORYELLOW;
 LC20:=REF(CLOSE,1);
 RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
底部买多:=CROSS(RSI20,11);

VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
 MTM:=C-REF(C,1);
 DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
 YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:=FILTER(YXF=1,5);
 HH:=底部买多 AND 加仓;
STICKLINE(HH,0,0.48,1,0),COLORMAGENTA;
 DRAWTEXT(HH,0.22,'买多'),COLORYELLOW;
 DRAWTEXT(HH,0.28,'加仓'),COLORYELLOW;
 STICKLINE(底部买多,0,0.28,1,0),COLORYELLOW;
 DRAWTEXT(底部买多,0.12,'买多'),COLORMAGENTA;
 DRAWTEXT(底部买多,0.18,'底部'),COLORMAGENTA;
工作线:=EMA(C,10);
生命线:=EMA(C,20);

XG:=CROSS(工作线,生命线) AND C>=O;
 STICKLINE(XG,0,0.38,1,0),COLORBLUE;
 DRAWTEXT(XG,0.12,'买可'),COLORGREEN;

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
 DEA:=EMA(DIF,9);
 XG8:=EXIST(DIF>0 AND DEA>0 AND CROSS(DIF,DEA),2);
 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;

CCIJC:=CROSS(CCI.CCI,80);
 JXJC:=CROSS(MA(C,10),MA(C,20));
 XG6: XG8 AND EXIST(CROSS(K,D),2) AND CCIJC AND EXIST(JXJC,2);

1825411565.jpg

1825411565.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则