第一部分 副图公式 手机/电脑
CHA1:=100*(C-REF(C,12))/REF(C,12);
CHA2:=((H+L+C)/3-MA((H+L+C)/3,88))/(0.015*AVEDEV((H+L+C)/3,88));
CHA3:=1.07*DMA(C,ABS((2*C+H+L)/4-MA(C,26))/MA(C,26));
CHA4:=MA(ATAN(CHA3-REF(CHA3,1)),3);
CHA5:=IF((C>O OR C=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);
CHA6:=IF((C>O OR C
CHA7:=MA(REF((CHA5+CHA6),1),26);
CHA8:=CHA4>CHA7 AND CHA4>REF(CHA4,1);
牛股:CHA8 AND CHA2>200 AND CHA1>20 AND C>REF(C,1),COLORRED;
CAIH0:=(MA(C,3));
CAIH1:=(MA(C,5));
CAIH2:=(MA(C,10));
CAIH3:=(MA(C,20));
CAIH4:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));
CAIH5:=(((ATAN(((CAIH0 / (REF(CAIH0,1))) - 1) * 100)) * 180) / (3.1416));
CAIH6:=(((ATAN(((CAIH1 / (REF(CAIH1,1))) - 1) * 100)) * 180) / (3.1416));
CAIH7:=(((ATAN(((CAIH2 / (REF(CAIH2,1))) - 1) * 100)) * 180) / (3.1416));
CAIH8:=(((ATAN(((CAIH3 / (REF(CAIH3,1))) - 1) * 100)) * 180) / (3.1416));
杀入:IF(CAIH5>45 AND CAIH6>45 AND CAIH7>60 AND CAIH8>45 AND MA(C,250)>REF(MA(C,250),1),1,0),COLORLIRED;
TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L
CCI:=EMA((TYP-MA(TYP,84.0270012))/(0.015*AVEDEV(TYP,84.0270012)),2.0332),COLORWHITE;
CHB1:=CCI,COLORWHITE;
CHB2:=HHV(MA(CCI,5),21),LINETHICK2,COLORGREEN;
CHB3:=CHB1>CHB2;
AHC1:=CLOSE*VOL;
AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13);
CHB4:=1.13*AHC2;
ZT2:=REF(C,1)*1.1-CO OR C=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);
CHA6:=IF((C>O OR C
CHA7:=MA(REF((CHA5+CHA6),1),26);
CHA8:=CHA4>CHA7 AND CHA4>REF(CHA4,1);
牛股:CHA8 AND CHA2>200 AND CHA1>20 AND C>REF(C,1),COLORRED;
{选股公式二:杀入}
CAIH0:=(MA(C,3));
CAIH1:=(MA(C,5));
CAIH2:=(MA(C,10));
CAIH3:=(MA(C,20));
CAIH4:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));
CAIH5:=(((ATAN(((CAIH0 / (REF(CAIH0,1))) - 1) * 100)) * 180) / (3.1416));
CAIH6:=(((ATAN(((CAIH1 / (REF(CAIH1,1))) - 1) * 100)) * 180) / (3.1416));
CAIH7:=(((ATAN(((CAIH2 / (REF(CAIH2,1))) - 1) * 100)) * 180) / (3.1416));
CAIH8:=(((ATAN(((CAIH3 / (REF(CAIH3,1))) - 1) * 100)) * 180) / (3.1416));
杀入:IF(CAIH5>45 AND CAIH6>45 AND CAIH7>60 AND CAIH8>45 AND MA(C,250)>REF(MA(C,250),1),1,0),COLORLIRED;
{选股公式三:龙头}
TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L
CCI:=EMA((TYP-MA(TYP,84.0270012))/(0.015*AVEDEV(TYP,84.0270012)),2.0332),COLORWHITE;
CHB1:=CCI,COLORWHITE;
CHB2:=HHV(MA(CCI,5),21),LINETHICK2,COLORGREEN;
CHB3:=CHB1>CHB2;
AHC1:=CLOSE*VOL;
AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13);
CHB4:=1.13*AHC2;
ZT2:=REF(C,1)*1.1-C<0.01 AND H=C;
龙头:CHB3 AND CROSS(C,CHB4) AND ZT2,COLORYELLOW;
|