主力进场
源码
VARQA:4*SMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100,5,1),3.2,1),COLORRED;
VAR1:100*EMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6)),5),COLORWHITE,LINETHICK1;
SS:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
XX:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
S:(HHV(SS,5)+HHV(SS,10))/2,COLORYELLOW,LINETHICK1;
PARTLINE(VAR1=S,S),COLORBROWN,LINETHICK2;
X1:(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3,COLORGREEN,LINETHICK1;
X:(LLV(XX,5)+LLV(XX,10)+LLV(XX,20))/3,COLORMAGENTA,LINETHICK1;
PARTLINE((LLV(XX,5)+LLV(XX,10)+LLV(XX,20))/3=X1,(LLV(XX,5)+LLV(XX,10)+LLV(XX,20))/3),COLORff7f00,LINETHICK4;
PARTLINE(VAR1>X1 AND REF(VAR1,1)=REF(X1,1) AND X1<50 AND VAR1-X1>0.5,VAR1),CIRCLEDOT,COLORRED,LINETHICK2;
V21:=REF(CLOSE,2);
AT2:=SMA(MAX(CLOSE-V21,0),7,1)/SMA(ABS(CLOSE-V21),7,1)*100;
超卖1:=IF(AT2<12,30,0);
V22:=REF(CLOSE,1);
V23:=SMA(MAX(CLOSE-V22,0),7,1)/SMA(ABS(CLOSE-V22),7,1)*100;
超卖2:=IF(V23<12,30,0);
抄底资金:超卖1 AND 超卖2,COLORRED,LINETHICK0;
STICKLINE(抄底资金,S,S-20,4,0),COLORRED,LINETHICK0;
VAR101:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR102:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR103:=CROSS(VAR102,VAR101);
VAR104:=REF(VAR102,2)<REF(VAR102,1) AND VAR102<REF(VAR102,1);
VAR105:=COUNT(VAR103,7)>0 AND VAR104;
VAR109:=EMA(C,5);
VAR110:=LLV(LOW,33);
VAR111:=EMA(IF(LOW<=VAR110,VAR109,0),3)*40;
VAR112:=IF(VAR111>100,VAR111*0.312,VAR111);
STICKLINE(VAR105 AND COUNT(VAR105,5)=1,S,S-10,4,1),COLORRED;
VARK1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
短底:VARK1<-9 AND VARK1> REF(VARK1,1),COLORGREEN,LINETHICK0;
STICKLINE(短底,S-5,S+5,2,0),COLORGREEN;
VARM1:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR11:=REF(LOW,1);
VAR12:=SMA(ABS(LOW-VAR11),13,1)/SMA(MAX(LOW-VAR11,0),13,1)*4;
VAR13:=EMA(VAR12,13);
VAR14:=LLV(LOW,34);
VAR15:=EMA(IF(LOW<=VAR14,VAR13,0),3);
主力进场:VAR15>REF(VAR15,1) AND VARM1<=8,COLORBLUE,LINETHICK0;
STICKLINE(主力进场,VARQA+5,VARQA-5,2,0 ),COLORBLUE;
DRAWICON((VAR1>X1 AND REF(VAR1,1)=REF(X1,1) AND X1<50
AND VAR1-X1>0.5 AND REF(VAR15>REF(VAR15,1) AND VARM1<=8,1))+
(VAR1>X1 AND REF(VAR1,1)=REF(X1,1) AND X1<50 AND VAR1-X1>0.5 AND
VAR15>REF(VAR15,1) AND VARM1<=8)>0.5,VAR1+25,1);