副图公式源码支持 手机/电脑
GUA4:=MA(CLOSE,20);GUA5:=(CLOSE > MA(CLOSE,5));
GUA6:=(MA(CLOSE,5) > MA(CLOSE,10));GUA7:=(CLOSE > MA(CLOSE,10));
GUA8:=(MA(CLOSE,5) > MA(CLOSE,20));GUA9:=(CLOSE > MA(CLOSE,20));
GUA0:=REF(GUA4,1);GUA1:=(GUA4 > GUA0);
AVX:=(((((IF(GUA5,10,(0-10))+IF(GUA6,10,(0-10)))+IF(GUA7,10,(0-10)))+IF(GUA8,10,(0-10)))+IF(GUA9,10,(0-10)))+IF(GUA1,10,(0-10))),;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORFF00FF;
RSV1:=(RSV/10-5)*2;
GUP5:=(CLOSE-OPEN)/OPEN*100;
GUB:=(CROSS(-5,GUP5) OR RSV1<-9) AND AVX=-60 ;
GUB1:=(CROSS(GUP5,5) OR RSV1>9) AND AVX=60;
GUC1:=1;GUC2:=LLV(LOW,10);
GUC3:=HHV(HIGH,25);
GUD1:=EMA((CLOSE-GUC2)/(GUC3-GUC2)*4,4)*GUC1;
GUD:=GUD1<0.3;GUDM:=GUD1>3;
GUDJM:=GUD1>3 AND GUD1<REF(GUD1,1);
GUDJM1:=GUD1>3 AND GUD1<REF(GUD1,1) AND REF(GUD1,1)>REF(GUD1,2);
GUE1:=REF(LOW,1);
GUE2:=SMA(ABS(LOW-GUE1),13,1)/SMA(MAX(LOW-GUE1,0),13,1)*4;
GUE3:=EMA(GUE2,13);GUE4:=LLV(LOW,34);
GUE5:=EMA(IF(LOW<=GUE4,GUE3,0),3);
GUE51:=REF(GUE5,1);MZJC:=GUE5>REF(GUE5,1);
BGUA:=ABS((EMA(CLOSE,5)-EMA(CLOSE,10)))*628;
GUF2:=BGUA/CLOSE;CDX1:=BGUA<GUF2;
GUF3:=REF(CLOSE,1.000);
GUF4:=SMA(MAX((CLOSE-GUF3),0),8,1)/SMA(ABS((CLOSE-GUF3)),8.000,1)*100;
GUF5:=SMA(MAX((CLOSE-GUF3),0),55,1)/SMA(ABS((CLOSE-GUF3)),55.000,1)*100;
CDX2:=(GUF4<= 20) AND (GUF5 <= 49);
GUG1:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;
GUG2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;
坚定出击:(GUB AND GUD AND MZJC AND (CDX1 OR CDX2 OR GUG1 OR GUG2));
买进区域:IF((MZJC AND GUB AND GUD),0.5,0),LINETHICK2,COLORRED;
卖出区域:GUB1 AND GUDM OR GUDJM;
坚定卖出:IF(卖出区域 AND GUB1,1.5,0),LINETHICK2,COLORGREEN;
莫贪:IF(GUD1>3.50 AND GUB1,2,0),LINETHICK2,COLORBLUE;
选股公式源码
{选股公式一:坚定出击}
GUA4:=MA(CLOSE,20);GUA5:=(CLOSE > MA(CLOSE,5));
GUA6:=(MA(CLOSE,5) > MA(CLOSE,10));GUA7:=(CLOSE > MA(CLOSE,10));
GUA8:=(MA(CLOSE,5) > MA(CLOSE,20));GUA9:=(CLOSE > MA(CLOSE,20));
GUA0:=REF(GUA4,1);GUA1:=(GUA4 > GUA0);
AVX:=(((((IF(GUA5,10,(0-10))+IF(GUA6,10,(0-10)))+IF(GUA7,10,(0-10)))+IF(GUA8,10,(0-10)))+IF(GUA9,10,(0-10)))+IF(GUA1,10,(0-10))),;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORFF00FF;
RSV1:=(RSV/10-5)*2;
GUP5:=(CLOSE-OPEN)/OPEN*100;
GUB:=(CROSS(-5,GUP5) OR RSV1<-9) AND AVX=-60 ;
GUB1:=(CROSS(GUP5,5) OR RSV1>9) AND AVX=60;
GUC1:=1;GUC2:=LLV(LOW,10);
GUC3:=HHV(HIGH,25);
GUD1:=EMA((CLOSE-GUC2)/(GUC3-GUC2)*4,4)*GUC1;
GUD:=GUD1<0.3;GUDM:=GUD1>3;
GUDJM:=GUD1>3 AND GUD1<REF(GUD1,1);
GUDJM1:=GUD1>3 AND GUD1<REF(GUD1,1) AND REF(GUD1,1)>REF(GUD1,2);
GUE1:=REF(LOW,1);
GUE2:=SMA(ABS(LOW-GUE1),13,1)/SMA(MAX(LOW-GUE1,0),13,1)*4;
GUE3:=EMA(GUE2,13);GUE4:=LLV(LOW,34);
GUE5:=EMA(IF(LOW<=GUE4,GUE3,0),3);
GUE51:=REF(GUE5,1);MZJC:=GUE5>REF(GUE5,1);
BGUA:=ABS((EMA(CLOSE,5)-EMA(CLOSE,10)))*628;
GUF2:=BGUA/CLOSE;CDX1:=BGUA<GUF2;
GUF3:=REF(CLOSE,1.000);
GUF4:=SMA(MAX((CLOSE-GUF3),0),8,1)/SMA(ABS((CLOSE-GUF3)),8.000,1)*100;
GUF5:=SMA(MAX((CLOSE-GUF3),0),55,1)/SMA(ABS((CLOSE-GUF3)),55.000,1)*100;
CDX2:=(GUF4<= 20) AND (GUF5 <= 49);
GUG1:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;
GUG2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;
坚定出击:(GUB AND GUD AND MZJC AND (CDX1 OR CDX2 OR GUG1 OR GUG2));
{选股公式二:买进区域}
GUA4:=MA(CLOSE,20);GUA5:=(CLOSE > MA(CLOSE,5));
GUA6:=(MA(CLOSE,5) > MA(CLOSE,10));GUA7:=(CLOSE > MA(CLOSE,10));
GUA8:=(MA(CLOSE,5) > MA(CLOSE,20));GUA9:=(CLOSE > MA(CLOSE,20));
GUA0:=REF(GUA4,1);GUA1:=(GUA4 > GUA0);
AVX:=(((((IF(GUA5,10,(0-10))+IF(GUA6,10,(0-10)))+IF(GUA7,10,(0-10)))+IF(GUA8,10,(0-10)))+IF(GUA9,10,(0-10)))+IF(GUA1,10,(0-10))),;
BIAS := (CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORFF00FF;
RSV1:=(RSV/10-5)*2;
GUP5:=(CLOSE-OPEN)/OPEN*100;
GUB:=(CROSS(-5,GUP5) OR RSV1<-9) AND AVX=-60 ;
GUB1:=(CROSS(GUP5,5) OR RSV1>9) AND AVX=60;
GUC1:=1;GUC2:=LLV(LOW,10);
GUC3:=HHV(HIGH,25);
GUD1:=EMA((CLOSE-GUC2)/(GUC3-GUC2)*4,4)*GUC1;
GUD:=GUD1<0.3;
GUE1:=REF(LOW,1);
GUE2:=SMA(ABS(LOW-GUE1),13,1)/SMA(MAX(LOW-GUE1,0),13,1)*4;
GUE3:=EMA(GUE2,13);GUE4:=LLV(LOW,34);
GUE5:=EMA(IF(LOW<=GUE4,GUE3,0),3);
MZJC:=GUE5>REF(GUE5,1);
买进区域:(MZJC AND GUB AND GUD),LINETHICK2,COLORRED; |