80,COLOR7F52AF;
20,COLORLIGRAY;
90,COLORCYAN;
0,COLORLIRED;
强弱分界线: 38,CIRCLEDOT,COLORFF8000;
V6R:=CLOSE/REF(CLOSE,3)>=1.06;
V7R:=BACKSET(V6R,3);
进场收益:IF((V7R AND COUNT(V7R,3)=1),10,0),LINETHICK,COLORFFFF00;
STICKLINE((V7R AND COUNT(V7R,3)=1),0,10,2,1),COLORWHITE;
DRAWTEXT((V7R AND COUNT(V7R,3)=1),12,'短'),COLORWHITE;
{私募}
VAR2BA:=(EMA(CLOSE,26)-EMA(CLOSE,52))/MA(CLOSE,60)*100;
VAR3A:=EMA(VAR2BA,18);
VAR4A:=VAR3A<-1;
VAR5A:=VAR4A AND CROSS(VAR2BA,VAR3A);
追2:=VAR5A;
STICKLINE(追2>0,0,18,1,0),COLORYELLOW;
DRAWTEXT(追2>0,19,'私募'),COLORYELLOW;
Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
主力轨迹:=3*Q3-2*Q4,COLOR0080FF,LINETHICK2;
Q5:=主力轨迹>1*REF(主力轨迹, 1);
Q6:=LLVBARS(LOW, 50);
Q7:=SUM(VOL, Q6);
Q8:=HHVBARS(HIGH, 50);
Q9:=SUM(VOL, Q8);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
Q11:=HHV(主力轨迹,5);
A1:=EMA(Q3, 3),COLOR6060FF;
A2:=EMA(A1, 3),COLOR2F2FFF;
A3:=EMA(A2, 3),COLOR0202FF;
A4:=EMA(A3, 3),COLOR0000D9;
A5:=EMA(A4, 3),COLOR0000BB;
A6:=EMA(A5, 3),COLOR000091;
A:=EMA(A4,3),LINETHICK2,COLOR00006C;
DRAWBAND(A1,RGB(255,105,180),A,RGB(34,139,33));
主力轨迹1:3*Q3-2*Q4,COLOR0080FF,LINETHICK2;
IF(主力轨迹<=REF(主力轨迹,1),主力轨迹,DRAWNULL),COLORCYAN,LINETHICK2;
CA:=CROSS(主力轨迹, 20) AND Q10<-13;
CB:=CROSS(主力轨迹, A5) AND REF(主力轨迹,1)<34;
CC:=CROSS(A1,主力轨迹) AND REF(主力轨迹,1)>80;
CD:=CROSS(主力轨迹, A1) AND Q5 AND A1<20 AND Q1>9 OR A1>1*REF(A1, 1)
AND Q1>4 AND A1<60;
VAR1MM:=EMA(CLOSE,8);
VAR2MM:=EMA(VAR1MM,20);
VAR3MM:=CROSS(VAR1MM,VAR2MM);
VAR4MM:=VAR1MM<EMA(CLOSE,120);
VAR5MM:=EMA(SMA((C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100,8,1),3);
验1:=EMA(SMA((C-LLV(L,6))/(HHV(H,6)-LLV(L,6))*100,3,1),3),COLORLIGRAY;
STICKLINE(验1>88,验1*1.02,88,4,0), COLORBLUE;
快验:验1,,COLORLIGRAY;
IF(快验>=REF(快验,1),快验,DRAWNULL),COLORLIMAGENTA;
换手出货: STICKLINE(VAR5MM>80,VAR5MM,VAR5MM+0.2,6,1), COLOR00FF00;
STICKLINE(VAR5MM>80,88,90,4,1), COLOR00FF00;
底部区域: STICKLINE(VAR5MM<20,VAR5MM,VAR5MM+0.2,6,1), COLORYELLOW;
STICKLINE(VAR5MM<20,0,3,4,1), COLORYELLOW;
{短线警告: IF(VAR3MM AND VAR4MM,50,20), COLORWHITE;}
DRAWTEXT(VAR3MM AND VAR4MM,14, '短警'),COLORCYAN;
STICKLINE(VAR3MM AND VAR4MM,0,13,0.1,0),COLORCYAN;
VAR6MM:=EMA(CLOSE,8);
VAR7MM:=EMA(VAR1MM,20);
VAR8MM:=CROSS(VAR1MM,VAR2MM);
VAR10MM:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
B5MM:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;
VAR2AMM:=LLV(LOW,10);
VAR3AMM:=HHV(HIGH,25);
B6MM:=MA(B5MM,10);
AAA:= 25*(EMA((CLOSE-VAR2AMM)/(VAR3AMM-VAR2AMM)*4,4));
BBB:=10*(SMA(B6MM,3,1)/10);
DRAWTEXT( CROSS(BBB,AAA) AND BBB>56,81,'准备跑' ),COLORAA8800,LINETHICK4;
STICKLINE(CROSS(BBB,AAA) AND BBB>56,82,90,0.1,0),COLORAA8800;
VAR2BMM:=IF(MONTH<12,1,1);
VAR3BMM:=(2*CLOSE+HIGH+LOW)/4;
VAR4BMM:=LLV(LOW,34);
VAR5BMM:=HHV(HIGH,34);
主力:=EMA((VAR3BMM-VAR4BMM)/(VAR5BMM-VAR4BMM)*100,13)*VAR2BMM;
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);
DRAWTEXT(CROSS(散户,主力) AND 散户>75,83,'清仓' ),COLORGREEN;
STICKLINE(CROSS(散户,主力) AND 散户>75,84,90,0.5,0),COLORGREEN;
DRAWTEXT(CA,9,'大底'),COLORRED;
STICKLINE(CA,0,8,3,0),COLORRED;
DRAWTEXT(CB,6,'小底'), COLORMAGENTA;
STICKLINE(CB,0,5,2,0),COLORMAGENTA;
DRAWTEXT(CC,85, '顶'), COLORYELLOW;
STICKLINE(CC,86,90,1,0),COLORYELLOW;
DRAWTEXT(CD, 26, '拉'), COLORMAGENTA;
STICKLINE(CD,20,25,1,1),COLORMAGENTA;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J1:=REVERSE(J);
AA:=REF(MA(C,1),10)>REF(MA(C,60),10);
买点:=CROSS(J,J1) AND AA LINETHICK0;
STICKLINE(买点,20,29,3,0),COLOR0000FF;
DRAWTEXT(买点,30,'庄进'),COLOR0000FF; |