X:=1;
LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16)0.905ANDC/REF(C,1)<1.05ANDVOL/CAPITAL*100<5,50,0);
WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X;
WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X;
BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X;
S2:=EMA(S1,3);
S3:=ABS(BIAS1-BIAS3);
SX:=(S1+S3)/2;
XC1:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
CCC:=XC1+SX;
ZJZ:=IF(LGL>0ANDCCC<0,200,0)*X;
LXL:=IF(SX0.905ANDC/REF(C,1)<1.05AND
VOL/CAPITAL*100<5,-50,0);
JBJ:=IF(CCC<0ANDLXL=-50,100,0)*X;
MA3:=MA(C,3);
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
BOT:=MIN(C0,C1);
HSL:=100*VOL/CAPITAL*X;
MA13:=MA(C,13)*X;
CXC:=IF((C-BOT)/C<3/100ANDSUM(HSL,5)/5<1.8,1,0);
VMC:=IF(CXC>0AND(LXL0),100,0);
满仓:=VMC;
半:=IF(((ZJZ>0ANDJBJ>0ANDSUM(VOL/CAPITAL*100,5)/50ANDREF(C,1)/REF(C,2)>0.902))OR
(((ZJZ>0ANDJBJ>0ANDSUM(VOL/CAPITAL*100,5)/50)AND(LXL0))ANDVMC<10,50,0);
V93:=(((ZJZ>0ANDJBJ>0ANDSUM(VOL/CAPITAL*100,5)/50)AND(LXL0));
V90:=((ZJZ>0ANDJBJ>0ANDSUM(VOL/CAPITAL*100,5)/50ANDREF(C,1)/REF(C,2)>0.902));
半仓:=V93ORV90;
XMM87:=满仓OR半仓;
XMM91:=VMC;
初:=MA(CLOSE,80)-MA(CLOSE,10)/3*X;
初级:IF(XMM87>0,87,0),STICK,LINETHICK2;
中级:IF(XMM91>0,91,0),STICK,LINETHICK2;
高级:IF(VMC>0ANDCLOSE<初,97,0),STICK,LINETHICK2;
终结者:MAX(MAX(高级,初级),中级),CIRCLEDOT,COLORYELLOW,LINETHICK2;
VAR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
神奇线:=MA((CLOSE-VAR2Q)/VAR2Q,1);
买点一:=IF(CROSS(神奇线,0)ANDLOW/REF(HIGH,1)<1.012,0.5,0);
稳赚:=IF(COUNT(神奇线>REF(神奇线,1),3)=3ANDCOUNT(神奇线<0,10)=10ANDREF(神奇线,3)=LLV(神奇线,10),0.5,0);
买点二:=IF(REF(神奇线,2)=LLV(神奇线,20)ANDREF(神奇线,2)<0.071ANDREF(神奇线,2)<REF(神奇线,1)AND
NOT(REF(LOW,1)>REF(HIGH,2)ANDLOW>REF(HIGH,1))ANDCLOSE>REF(CLOSE,1),0.5,0);
XA:=EMA(神奇线,12)*0.7;
XB:=EMA(神奇线,3);
底部将成:IF(LLV(XB-XA,12)>0,0,-30),COLORFFCC66;
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
抄底:IF(底部将成<0ANDCROSS(MACD,0),50,0),COLORBLUE;
DRAWICON(抄底>0,60,1);
短线投机:EMA((CLOSE-LLV(CLOSE,55))/(HHV(CLOSE,55)-LLV(LOW,55))*100,5),LINETHICK2,COLORFF00FF;
获利盘:EMA(WINNER(CLOSE),5)*100,COLORFFCCCC;
A:=EMA(WINNER(CLOSE),10);
B:=EMA(WINNER(CLOSE),34);
VAR31:=MA(VOL,5)>MA(VOL,60);
介入:IF(A<0.15ANDABS(A-B)<0.05ANDCROSS(A,B)ANDVAR31,1,0)*100,COLORRED;
出货:IF(A>0.90ANDCLOSE<MA(CLOSE,5),1,0)*100,COLORGREEN;
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)- LLV(LOW,27))*100;WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);强弱界线:49,POINTDOT,LINETHICK3,COLOR9966CC;见顶信号:100,COLORCCFF00;
出点准备:IF(CROSS(J2,J1)ANDJ2>85,70,100),LINETHICK2,COLOR00FF00;趋势线:WEN,LINETHICK2,COLORFF84FF;买点准备:IF(趋势线<=10,30,0),LINETHICK2,COLORYELLOW;G1:W1,LINETHICK2,COLORWHITE;
G2:W2,LINETHICK2,COLORCYAN;STICKLINE(趋势线>88,100,趋势线,5,1),COLORGREEN;STICKLINE(趋势线<=10,0,趋势线,5,1),COLORYELLOW;STICKLINE(COUNT(趋势线<REF(趋势线,1)AND
趋势线<10,2)=2,0,20,8,0),COLORRED;STICKLINE(CROSS(J2,J1)ANDJ2>85,100,80,8,0),COLORGREEN;DRAWICON(CROSS(趋势线,49),趋势线,7),COLORRED;DRAWICON(FILTER(CROSS(G2,G1)ANDG2>81,10),G2*1.05,2);DRAWTEXT(CROSS(趋势线,49),47,'转强'),COLORRED;DRAWTEXT(CROSS(49,趋势线),52,'转弱'),COLORGREEN;
评论(0)