通达信机构主力绝地反击主图选股指标公式

ccff1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
ccff2:=REF(ccff1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
ccff3:=REF(ccff2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
ccff4:=REF(ccff3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
ccff5:=REF(ccff4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
ccff6:=REF(ccff5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
ccff7:=REF(ccff6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
ccff8:=REF(ccff7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
ccff9:=REF(ccff8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
绝地反击主图:=REF(ccff9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
绝地反击指标:=REF(绝地反击主图,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
通达信绝地反击:=REF(绝地反击指标,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
STICKLINE(ccff1 OR ccff2 OR ccff3 OR ccff4 OR ccff5 OR ccff6 OR ccff7 OR
ccff8 OR ccff9 OR 绝地反击主图 OR 绝地反击指标 OR 通达信绝地反击,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1}
ccffD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
ccffE:=REF(ccffD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
ccffF:=REF(ccffE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
ccff10:=REF(ccffF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
ccff11:=REF(ccff10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
ccff12:=REF(ccff11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
ccff13:=REF(ccff12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
ccff14:=REF(ccff13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
ccff15:=REF(ccff14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
ccff16:=REF(ccff15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
ccff17:=REF(ccff16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
ccff18:=REF(ccff17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
STICKLINE(ccffD OR ccffE OR ccffF OR ccff10 OR ccff11 OR ccff12 OR ccff13 OR
ccff14 OR ccff15 OR ccff16 OR ccff17 OR ccff18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;
ccff19:=REF(ccffD OR ccffE OR ccffF OR ccff10 OR ccff11 OR ccff12 OR ccff13 OR
ccff14 OR ccff15 OR ccff16 OR ccff17 OR ccff18,1) AND ccff1;
STICKLINE(ccff19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW;
ccff1A:=REF(ccff1 OR ccff2 OR ccff3 OR ccff4 OR ccff5 OR ccff6 OR ccff7 OR
ccff8 OR ccff9 OR 绝地反击主图 OR 绝地反击指标 OR 通达信绝地反击,1) AND ccffD;
STICKLINE(ccff1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00FF00{98FD};
STICKLINE(ccff19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF;
STICKLINE(ccff19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF;
STICKLINE(ccff19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF;
STICKLINE(ccff1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00D900;
STICKLINE(ccff1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBLUE;
STICKLINE(ccff1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090FF2;
uuhh1:MA(C,5),COLORWHITE,LINETHICK2;
IF(uuhh1>REF(uuhh1,1),uuhh1,DRAWNULL),COLORRED,LINETHICK2;
IF(uuhh1<REF(uuhh1,1),uuhh1,DRAWNULL),COLORGREEN,LINETHICK2;
X:=(3*C+L+O+H)/6;
uuhh2:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORFF00FF,LINETHICK2;
DD:=uuhh2<REF(uuhh2,1);
IF(DD,uuhh2,DRAWNULL),COLOR00FFFF,LINETHICK2;
A:=(uuhh1>uuhh2);
IF(A,uuhh2,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;
ccff21:=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);
ccff22:=8;
uuhh5:=CROSS(ccff21,ccff22);
DRAWTEXT(uuhh5,L*0.98,'绝地反击'),COLOR0099FF;

(0)

相关推荐