用瀑布强弱摆动抓临界点
VARQS1:=1089990910;
VARQS2:=IF(DATE<=VARQS1,1,0);
VARQS3:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100*VARQS2;
VARQS4:=SMA(VARQS3,9,1)*VARQS2;
VARQS5:=SMA(VARQS4,3,1)*VARQS2;
价值:3*VARQS4-2*VARQS5,LINETHICK2;
N1:EMA(VARQS4,3),LINETHICK1,colorFFDDCC;
N2:EMA(N1,3),LINETHICK1,colorFFBBCC;
N3:EMA(N2,3),LINETHICK1,colorFF99CC;
N4:EMA(N3,3),LINETHICK1,colorFF55CC;
N5:EMA(N4,3),LINETHICK1,colorFF33CC;
N6:EMA(N5,3),LINETHICK1,colorFF11CC;
N7:EMA(N4,3),LINETHICK2,colorFF00CC;
50,LINETHICK2;
生命线:HHV(N1,7),LINETHICK4;
VARQS6:=10809231;
VARQS7:=IF(DATE<=VARQS6,1,0);
VARQS8:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARQS9:=2*ABS(VARQS8);
VARQS10:=100-(100-3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1));
VARQS11:=100-(100-3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,20,1),15,1));
VARQS12:=(HIGH+LOW+CLOSE)/3;
VARQS13:=(VARQS12-MA(VARQS12,10))/(0.015*AVEDEV(VARQS12,10));
VARQS14:=(VARQS12-MA(VARQS12,30))/(0.015*AVEDEV(VARQS12,30));
VARQS15:=IF(VARQS13>=150 AND VARQS13<200 AND VARQS14>=150 AND VARQS14<200,10,0);
VARQS16:=(IF(VARQS13<=-150 AND VARQS13>-200 AND VARQS14<=-150 AND VARQS14>-200,-10,VARQS15))*VARQS7;
VARQS17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VARQS18:=100-ABS(VARQS17);
VARQS19:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VARQS20:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VARQS21:=REF(LOW,1)*0.9;
VARQS22:=LOW*0.9;
VARQS23:=(VARQS22*VOL+VARQS21*(CAPITAL-VOL))/CAPITAL;
VARQS24:=EMA(VARQS23,30);
VARQS25:=VARQS24-CLOSE;
VARQS26:=REF(CLOSE,1);
VARQS27:=(SMA(MAX(CLOSE-VARQS26,0),7,1))/(SMA(ABS(CLOSE-VARQS26),7,1))*100;
VARQS28:=(SMA(MAX(CLOSE-VARQS26,0),13,1))/(SMA(ABS(CLOSE-VARQS26),13,1))*100;
VARQS29:=BARSCOUNT(CLOSE);
VARQS30:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),6,1))*100;
VARQS31:=(-100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
VARQS32:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VARQS33:=(SMA(VARQS32,4,1)-50)*2;
VARQS34:=SMA(VARQS33,3,1);
VARQS35:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VARQS36:=SMA(VARQS35,4,1);
VARQS37:=SMA(VARQS36,3,1);
VARQS38:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VARQS39:=(IF(VARQS30<=25 AND VARQS31<-95 AND VARQS38>20 AND VARQS34<-30 AND VARQS37<30 AND VARQS25>=-0.25 AND VARQS27<22 AND VARQS28<28 AND VARQS29>50,80,0))*VARQS7;
VARQS40:=VARQS10*VARQS7;
VARQS41:=IF(VARQS18<90,VARQS18,100);
VARQS42:=(IF(VARQS8>0,VARQS8,0))*VARQS7;
VARQS43:=-(IF(VARQS8<0,VARQS9,0))*VARQS7;
VARQS44:=VARQS39*VARQS7;
VARQS45:=(IF(VARQS14>=200 AND VARQS13>=150 OR CROSS(65,VARQS42),15,IF(VARQS14<=-200 AND VARQS13<=-150,-15,VARQS16))+65)*VARQS7;
VARQS46:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
VARQS47:=CLOSE;
VARQS48:=VARQS42>60 AND VARQS45>65 AND VARQS41=100;
VARQS49:=VARQS42>48 AND VARQS45>65 AND VARQS41<100;
VARQS50:=VARQS43<-38 AND VARQS45<65;
VARQS51:=EMA(CLOSE,3);
VARQS52:=(SMA(MAX(CLOSE-VARQS51,0),6,1))/(SMA(ABS(CLOSE-VARQS51),6,1))*100;
VARQS53:=MA(VARQS52,10);
VARQS54:=IF(HIGH+LOW<=REF(HIGH,1)+REF(LOW,1),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1))));
VARQS55:=IF(HIGH+LOW>=REF(HIGH,1)+REF(LOW,1),0,MAX(ABS(HIGH-REF(HIGH,1)),ABS(LOW-REF(LOW,1))));
VARQS56:=SUM(VARQS54,13)/(SUM(VARQS54,13)+SUM(VARQS55,13));
VARQS57:=SUM(VARQS55,13)/(SUM(VARQS55,13)+SUM(VARQS54,13));
VARQS58:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VARQS59:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VARQS60:=VARQS58<REF(VARQS59,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
VARQS61:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VARQS62:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VARQS63:=SMA(VARQS62,13,8);
VARQS64:=SMA(VARQS61,21,8);
VARQS65:=SMA(VARQS63,21,8);
庄家红包:VARQS52<15 AND VARQS64>80 AND VARQS43<-29 AND VARQS65-VARQS64<-65,LINETHICK3; |