第一部分 副图公式 手机/电脑
CHA1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
CHA2:=(20*CHA1+19*REF(CHA1,1)+18*REF(CHA1,2)+17*REF(CHA1,3)+16*REF(CHA1,4)+15*REF(CHA1,5)+14*REF(CHA1,6)+13*REF(CHA1,7)+12*REF(CHA1,8)+11*REF(CHA1,9)+10*REF(CHA1,10)+9*REF(CHA1,11)+8*REF(CHA1,12)+7*REF(CHA1,13)+6*REF(CHA1,14)+5*REF(CHA1,15)+4*REF(CHA1,16)+3*REF(CHA1,17)+2*REF(CHA1,18)+REF(CHA1,20))/210;
CHA3:=MA(CHA2,7);
CHA4:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
CHA5:=(CHA4/REF(CHA4,1)-1)*100;
CHA6:=ATAN(CHA5)*180/3.14115926;
CHA7:=CHA6>20;
CHA8:=(HIGH+LOW+CLOSE)/3;
CHA9:=(CHA8-MA(CHA8,20))*1000/(15*AVEDEV(CHA8,20));
CHB1:=CROSS(CHA4,CHA3);
CHB2:=BARSLAST(CHB1)=3 AND CHA4-CHA3>=0.1;
CHB3:=C/LLV(L,37)>=1.15 AND C/LLV(L,37)<=1.5;
CHB4:=LMA(C,10),0);
CHB7:=CHB2 AND CHB3;
CHB8:=REF(CHB7,2)=0 AND REF(CHB7,3)=0 AND REF(CHB7,4)=0 AND REF(CHB7,5)=0;
CHB9:=C/HHV(H,50)<=0.95;
CHB10:=V/HHV(V,50)0 AND CAD1-1 AND CAD2-1 AND REF(CAD1,2)>-1 AND? REF(CAD1,1)<=1 AND REF(CAD1,2)<=1;
TJ1:=REF(CAD2,10)<-4 OR REF(CAD2,11)<-4 OR REF(CAD2,12)<-4 OR REF(CAD2,13)<-4 OR REF(CAD2,14)<-4;
LT:=HHV(CHC1,89);
TJ3:=CAD1-CAD2<0.05 AND REF(CAD1,1)-REF(CAD2,1)-2 AND CAD1=CAD2 AND LT<11;
TJ4:=C
TJ5:=TJ2 AND TJ1;
TJ6:=TJ5 OR TJ3 AND TJ4;
买入:CHB7=1 AND REF(CHB7,1)=0 AND C/OCAD2 AND CAD1>REF(CAD1,1) AND CHB9 AND CHA9<=150 AND CHB8;
TJ8:=TJ5 OR TJ6 OR TJ3;
进场:TJ8 AND 买入;
CAE5:=LLV(LOW,75);
CAE6:=HHV(HIGH,75);
CAE7:=(CAE6-CAE5)/100;
CAE8:=SMA((CLOSE-CAE5)/CAE7,20,1);
CAE9:=SMA((OPEN-CAE5)/CAE7,20,1);
CAEA:=3*CAE8-2*SMA(CAE8,15,1);
仓位:=EMA(CAEA,9);
主力:=EMA(100*(C-LLV(LOW,24))/(HHV(H,24)-LLV(LOW,24)),3);
CAF1:=((CLOSE - LLV(LOW,120)) / (HHV(HIGH,120) - LLV(LOW,120)))*100;
CAF2:=SMA(CAF1,3,1);
CAF3:=((CLOSE - LLV(LOW,119)) / (HHV(HIGH,119) - LLV(LOW,119)))*100;
CAF4:=SMA(CAF3,5,1);
CAF5:=((CLOSE - LLV(LOW,118)) / (HHV(HIGH,118) - LLV(LOW,118)))*100;
CAF6:=SMA(CAF5,75,1);
CAF7:=((((CAF2 + CAF4) + CAF6) / 3) + EMA(CLOSE,20));
CAF8:=SMA(CAF7,2,1);
CAF9:=SMA(CAF7,3,1);
CAF10:=((((2 * CLOSE) + HIGH) + LOW) / 4);
CAF11:=SMA(CAF10,45,1);
CAF12:=(CAF7 - CAF11);
抄底:CROSS(主力,5) AND 主力<30 AND CAF12<30 AND CHA9<=-125 AND C20;
CHA8:=(HIGH+LOW+CLOSE)/3;
CHA9:=(CHA8-MA(CHA8,20))*1000/(15*AVEDEV(CHA8,20));
CHB1:=CROSS(CHA4,CHA3);
CHB2:=BARSLAST(CHB1)=3 AND CHA4-CHA3>=0.1;
CHB3:=C/LLV(L,37)>=1.15 AND C/LLV(L,37)<=1.5;
CHB4:=LMA(C,10),0);
CHB7:=CHB2 AND CHB3;
CHB8:=REF(CHB7,2)=0 AND REF(CHB7,3)=0 AND REF(CHB7,4)=0 AND REF(CHB7,5)=0;
CHB9:=C/HHV(H,50)<=0.95;
CHB10:=V/HHV(V,50)0 AND CAD1-1 AND CAD2-1 AND REF(CAD1,2)>-1 AND? REF(CAD1,1)<=1 AND REF(CAD1,2)<=1;
TJ1:=REF(CAD2,10)<-4 OR REF(CAD2,11)<-4 OR REF(CAD2,12)<-4 OR REF(CAD2,13)<-4 OR REF(CAD2,14)<-4;
LT:=HHV(CHC1,89);
TJ3:=CAD1-CAD2<0.05 AND REF(CAD1,1)-REF(CAD2,1)-2 AND CAD1=CAD2 AND LT<11;
TJ4:=C
TJ5:=TJ2 AND TJ1;
TJ6:=TJ5 OR TJ3 AND TJ4;
买入:CHB7=1 AND REF(CHB7,1)=0 AND C/OCAD2 AND CAD1>REF(CAD1,1) AND CHB9 AND CHA920;
CHA8:=(HIGH+LOW+CLOSE)/3;
CHA9:=(CHA8-MA(CHA8,20))*1000/(15*AVEDEV(CHA8,20));
CHB1:=CROSS(CHA4,CHA3);
CHB2:=BARSLAST(CHB1)=3 AND CHA4-CHA3>=0.1;
CHB3:=C/LLV(L,37)>=1.15 AND C/LLV(L,37)<=1.5;
CHB4:=LMA(C,10),0);
CHB7:=CHB2 AND CHB3;
CHB8:=REF(CHB7,2)=0 AND REF(CHB7,3)=0 AND REF(CHB7,4)=0 AND REF(CHB7,5)=0;
CHB9:=C/HHV(H,50)<=0.95;
CHB10:=V/HHV(V,50)0 AND CAD1-1 AND CAD2-1 AND REF(CAD1,2)>-1 AND? REF(CAD1,1)<=1 AND REF(CAD1,2)<=1;
TJ1:=REF(CAD2,10)<-4 OR REF(CAD2,11)<-4 OR REF(CAD2,12)<-4 OR REF(CAD2,13)<-4 OR REF(CAD2,14)<-4;
LT:=HHV(CHC1,89);
TJ3:=CAD1-CAD2<0.05 AND REF(CAD1,1)-REF(CAD2,1)-2 AND CAD1=CAD2 AND LT<11;
TJ4:=C
TJ5:=TJ2 AND TJ1;
TJ6:=TJ5 OR TJ3 AND TJ4;
买入:=CHB7=1 AND REF(CHB7,1)=0 AND C/OCAD2 AND CAD1>REF(CAD1,1) AND CHB9 AND CHA920;
CHA8:=(HIGH+LOW+CLOSE)/3;
CHA9:=(CHA8-MA(CHA8,20))*1000/(15*AVEDEV(CHA8,20));
CAE5:=LLV(LOW,75);
CAE6:=HHV(HIGH,75);
CAE7:=(CAE6-CAE5)/100;
CAE8:=SMA((CLOSE-CAE5)/CAE7,20,1);
CAE9:=SMA((OPEN-CAE5)/CAE7,20,1);
CAEA:=3*CAE8-2*SMA(CAE8,15,1);
仓位:=EMA(CAEA,9);
主力:=EMA(100*(C-LLV(LOW,24))/(HHV(H,24)-LLV(LOW,24)),3);
CAF1:=((CLOSE - LLV(LOW,120)) / (HHV(HIGH,120) - LLV(LOW,120)))*100;
CAF2:=SMA(CAF1,3,1);
CAF3:=((CLOSE - LLV(LOW,119)) / (HHV(HIGH,119) - LLV(LOW,119)))*100;
CAF4:=SMA(CAF3,5,1);
CAF5:=((CLOSE - LLV(LOW,118)) / (HHV(HIGH,118) - LLV(LOW,118)))*100;
CAF6:=SMA(CAF5,75,1);
CAF7:=((((CAF2 + CAF4) + CAF6) / 3) + EMA(CLOSE,20));
CAF8:=SMA(CAF7,2,1);
CAF9:=SMA(CAF7,3,1);
CAF10:=((((2 * CLOSE) + HIGH) + LOW) / 4);
CAF11:=SMA(CAF10,45,1);
CAF12:=(CAF7 - CAF11);
抄底:CROSS(主力,5) AND 主力<30 AND CAF12<30 AND CHA9<=-125 AND C<=HHV(H,50)*0.6;
|