通达信自组合寻底超底公式
DRAWICON(注意=95,18,16);
HH:=MAX(HIGH,REF(CLOSE,1));
LL:=MIN(LOW,REF(CLOSE,1));
AAAA:=SUM(CLOSE-LL,7)/SUM(HH-LL,7);
BBA:=SUM(CLOSE-LL,14)/SUM(HH-LL,14);
CC:=SUM(CLOSE-LL,28)/SUM(HH-LL,28);
TLIKTLI:=(AAAA/7+BBA/14+CC/28)*7*14*28/(7*14+14*28+7*28)*1000;
MTLIKTLI:=EMA(TLIKTLI,6);
ZZZ:=(HIGH + LOW + CLOSE)/3;
TLIK:=(ZZZ-MA(ZZZ,16))*100/(1.5*AVEDEV(ZZZ,16));
VVV:=IF((DATE>17374085120),0,1);
AVPRICE:=((CLOSE+OPEN+LOW+HIGH)/(4))*(VVV);
XXVOL:=(VOL)*(AVPRICE);
AAB:=(SUM(XXVOL,25)+0.001)/(SUM(VOL,25)+0.001);
GN:=(((500)*(AVPRICE-AAB))/(MAX(AVPRICE,AAB)))*(VVV);
ZS:=EMA(TLIK,3),COLOR0000FF;
IK:=EMA(TLIK,10),COLOR00FFFF;
ZZZZZ:=EMA(TLIK,20),COLORFF00FF,LINETHICK1;
青龙:=EMA(MTLIKTLI,1)/3.5815926,COLORDB70DB,LINETHICK1,DOTLINE;
青龙2:=EMA(MTLIKTLI,1)/4.5815926,COLOR009900,DOTLINE;
白虎:=EMA(GN,14),COLORFFFFFF,LINETHICK2;
地鼠:=EMA(MTLIKTLI,1)/-3.5815926,COLORDB70DB,LINETHICK1,DOTLINE;
地鼠2:=EMA(MTLIKTLI,1)/-4.5815926,COLOR009900,DOTLINE;
买入A:=(CROSS(ZS,地鼠))*100;
买入2A:=(CROSS(ZS,地鼠2))*100;
DRAWICON(买入A=100,20,13);
DRAWICON(买入2A=100,20,1);
VAR1S:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2S:=8,COLORGREEN,LINETHICK0;
V3S:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
操盘线:=SMA(V3S,2,1);
V5:=SMA(操盘线,2,1);
抄底9:IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)<REF(操盘线,2) AND 操盘线<23 ,25,0) AND CROSS(VAR1S,VAR2S);
DRAWICON(抄底9=1,8,28);
黄金线:=EMA(C,18),COLORMAGENTA;
金矿:=COUNT(CLOSE<黄金线,5)=4 AND CLOSE/黄金线>1.004 AND
CROSS(CLOSE,黄金线) AND 黄金线>=REF(黄金线,1),LINETHICK,COLORRED;
有金矿:=IF(金矿,1.5,0),COLORLIRED,LINETHICK2;
DRAWICON(有金矿=1.5,2,13);
REF((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,1) AND C>O AND C>REF(H,1);
SY:=H>C*1.02 AND C>O AND V>REF(V,1)*1.4;
CV:=CLOSE;
FF:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=FF+6*STD(BBIBOLL,11);
DWN:=FF-6*STD(BBIBOLL,11);
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HDZ :=HIGH-REF(HIGH,1);
LDZ :=REF(LOW,1)-LOW;
DMPZ:=EXPMEMA(IF(HDZ>0&&HD>LDZ,HDZ,0),14);
DMMZ:=EXPMEMA(IF(LDZ>0&&LD>HD,LDZ,0),14);
PDIZ:=DMPZ*100/MTR;
MDIZ:=DMMZ*100/MTR;
ADXZ:=EXPMEMA(ABS(MDIZ-PDIZ)/(MDI+PDIZ)*100,6);
ADXR:=EXPMEMA(ADXZ,6);
KKK:=C>REF(C,1) AND FF<REF(FF,1) AND PDI<REF(PDI,1) AND UPR>REF(UPR,1) AND ADX>REF(ADX,1) AND VOL<REF(VOL,1);
DRAWICON(KKK=1,40,13);
{三线共振}
HXLXA:=MA(CLOSE,5);
HXLXB:=MA(CLOSE,10);
HXLXC:=(HXLXA-CLOSE)/CLOSE>13/100;
HXLXD:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100/0.7;
HXLXE:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100*2;
HXLXF:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100/0.3/1.3/1.5;
HXLXH:=IF(HXLXE<-9,32,40);
HXLXI:=IF(HXLXF<-12,22,30);
HXLXG:=IF(HXLXD<-12,12,20);
共振:HXLXH<40 AND HXLXI<30 AND HXLXG<20;
DRAWICON(共振=1,40,1);
买Z:=IF("KDJ.J"<-10,10,0);
条件:=CROSS(9.9,买Z);
VAR1Z:=(2*CLOSE+HIGH+LOW)/4;
VAR2Z:=LLV(LOW,5);
VAR3Z:=HHV(HIGH,5);
VAR4Z:=EMA((VAR1Z-VAR2Z)/(VAR3Z-VAR2Z)*100,5);
MA1:=MA(VAR4Z,2);
稳底:VAR4>MA1 AND REF(VAR4,1)<15;
DRAWICON(稳底=1,40,38);
QZ:=(3*CLOSE+LOW+OPEN+HIGH)/6;
QQZ:=(20*QZ+19*REF(QZ,1)+18*REF(QZ,2)+17*REF(QZ,3)+16*REF(QZ,4)+15*REF(QZ,5)+14*REF(QZ,6) +13*REF(QZ,7)+12*REF(QZ,8)+11*REF(QZ,9)+10*REF(QZ,10)+9*REF(QZ,11)+8*REF(QZ,12) +7*REF(QZ,13)+6*REF(QZ,14)+5*REF(QZ,15)+4*REF(QZ,16)+3*REF(QZ,17)+2*REF(QZ,18)+ REF(QZ,20))/211;
DDZ:=CROSS(QQZ,EMA(EMA(EMA(QQZ,2),2),2));
CCZ:=EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9);
QQ1:=HHV(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CC),4)<0
AND 2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CCZ)>REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CCZ),1)
AND REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CCZ),1)<REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CCZ),2)
AND REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CCZ),2) <REF(2*(EMA(CLOSE,12)-EMA(CLOSE,26)-CCZ),3);
QQ2:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);
DD1:=CROSS(QQ2,EMA(REF(QQ2,1),2)) AND C>O AND V>=MA(V,21) AND V> REF(V,1);
DD2:=DD1+QQ1+DD>=2 AND EMA(CLOSE,12)-EMA(CLOSE,26)>CC AND H/C<1.01 AND REF(MA(C,5),1)<MA(C,5) AND REF(MA(C,5),2)>REF(MA(C,5),1);
MACD:=(EMA(CLOSE,12)-EMA(CLOSE,26)-EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9))*2;
CC1:=CROSS(K,D2) AND MACD>0;
赚钱法宝:=DD2 AND REF(H/C<1.02,1) AND CC1,COLORRED;
DRAWICON(赚钱法宝=1,40,29);
- 上一篇公式:通达信买点主图 没未来函数
- 下一篇公式:珍藏的指标欣赏 高山流水指标公式