买卖点明确,上下轨有红色持股,绿色空仓信号!笑脸买,哭脸棕色到达80左右卖!
STICKLINE(C 0,0,100,15,0),COLOR781816;Q_1:=C-REF(C,1);
V8:=600*(EMA(C,3)-EMA(L,30))/EMA(L,30);
V9:=EMA(V8,7);
VC:=(2*C+H+L)/4; VD:=LLV(L,34); VE:=HHV(H,34);
VF:=LLV(L,21); V10:=HHV(H,21); V11:=EMA((VC-VF)/(V10-VD)*100,5); V12:=EMA((VC-VD)/(VE-VD)*100,8);
X:=V11,COLORWHITE; P1:=5; P2:=10; P3:=20; P4:=30; P5:=60; P6:=120; P7:=240; P8:=340; N:=4; WX:=MA(CLOSE,0); M1:=MA(CLOSE,P1); M2:=(MA(CLOSE,P2) * IF((N 2),WX,1)); M3:=(MA(CLOSE,P3) * IF((N 3),WX,1)); M4:=(MA(CLOSE,P4) * IF((N 4),WX,1)); M5:=(MA(CLOSE,P5) * IF((N 5),WX,1)); M6:=(MA(CLOSE,P6) * IF((N 6),WX,1)); M7:=(MA(CLOSE,P7) * IF((N 7),WX,1)); M8:=(MA(CLOSE,P8) * IF((N 8),WX,1)); C1:=REF(CLOSE,1); C2:=HHV(C1,2); C3:=LLV(C1,1); ET:=HHV(C1,2); ET1:=REF(ET,1); XB:=LLV(C1,1); XB1:=REF(XB,1); M:=BARSLAST(((CLOSE XB) AND (C1 = XB1))); M11:=REF(M,1); N9:=BARSLAST(((CLOSE ET) AND (C1 = ET1))); N1:=REF(N9,1); M21:=(BARSLAST((((M - N9) 0) AND (M11 = N1))) + 1); N2:=(BARSLAST((((N9 - M) 0) AND (N1 = M11))) + 1); ET2:=HHV(ET,M21); XB2:=LLV(XB,N2); A:=IF((((M - N9) 0) AND (M11 = N1)),1,IF((((N9 - M) 0) AND (N1 = M11)),0,2)); H1:=IF(((M - N9) 0),CLOSE,ET2); H2:=IF((A = 1),CLOSE,C2); H3:=IF(((M - N9) 0),CLOSE,XB2); H4:=IF((A = 1),CLOSE,XB2); H5:=IF((((M - N9) 0) OR (A = 1)),CLOSE,H3); H6:=REF(H5,1);
H7:=REF(H5,2);
H8:=(H5 H6);
H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) REF(H4,2))) AND (H5 REF(H5,2))); H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2))); W:=((H8 OR H9) OR H10); T9:=((H5 H6) AND (H5 REF(H5,2))); T10:=((H4 = REF(H4,1)) AND (H5 REF(H5,2))); T11:=((H3 REF(H3,1)) AND (H5 REF(H5,1))); T12:=((H5 = REF(H5,1)) AND (H3 = H4)); T13:=((H2 = REF(H2,1)) AND (H2 = H5)); TW:=((((T9 OR T10) OR T11) OR T12) OR T13); PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4); PK1:=IF((VOL 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4)); BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); DRAWTEXT((ISLASTBAR AND (BBP = 96.5)),85,'明见短高龙头除外'),COLORRED; DRAWTEXT((ISLASTBAR AND (BBP 1)),85,'明见短低跌停除外'),COLORGREEN; DRAWTEXT(((ISLASTBAR AND W) AND (BBP 96.5)),85,'明日看涨'),COLORYELLOW; DRAWTEXT(((ISLASTBAR AND TW) AND (BBP 1)),85,'明日看跌'),COLORGREEN;
VC1:=(2*C+H+L)/4; VD1:=LLV(L,34); VE1:=HHV(H,34); VF1:=LLV(L,21);
V110:=HHV(H,21); V111:=EMA((VC1-VF1)/(V110-VD1)*100,5);
V112:=EMA((VC1-VD1)/(VE1-VD1)*100,8); V13:=EMA(V112,5);
STICKLINE(V112 0 AND V112-V13 =0,73,88,6,0),COLORRED ;
STICKLINE(V112 0 AND V112-V13 0,73,88,6,1),COLOR00FF00 ;
STICKLINE(V112 0 AND V112-V13 =0,5,-4,6,0),COLORRED, ;
STICKLINE(V112 0 AND V112-V13 0,5,-4,6,1),COLOR00FF00 ;
VA1:=HHV(HIGH,9)-LLV(LOW,9);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(CLOSE+HIGH+LOW)/3;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
VARA:=IF(VA9 100,VA9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VARF:=MA(VARE,3);
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=((VAR2)/(VAR1))*(100)-70;
VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF((VAR9 100),VAR9-100,0);
VAR11:=HHV(HIGH,34);
B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),6);
领先:EMA(B1,5),COLORCYAN;
生命线:EMA(VARD,1),COLORYELLOW;
DRAWBAND(领先,RGB(100,0,0),生命线,RGB(0,100,0));
短线买:IF(CROSS(领先,生命线),80,0)LINETHICK5,COLORRED;
短线卖:=IF(CROSS(生命线,领先),88,0)LINETHICK5;
E:=CROSS(80,生命线);
STICKLINE( E,E,55,2,0),COLORFFFF00;
DRAWTEXT(E,50,' 减'),COLORFFFF00;
DRAWICON(CROSS(领先,生命线),60,5);
DRAWICON(CROSS(生命线,领先),70,4);
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5) MA(C,10);
V3:=MA(V,5) MA(V,40)*1.01;
V4:=COUNT(MA(C,1) REF(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
A1:=EMA(CLOSE,8);
A2:=EMA(A1,20);
A3:=CROSS(A1,A2);
A4:=A1 EMA(CLOSE,120);
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*
SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),6,1),CIRCLEDOT ,COLORFF9900 ;
安全位:=20;
低位转强:IF(CROSS(A5,安全位),50,0),STICK,COLORMAGENTA,LINETHICK5;
开始拉升:IF(CROSS(VARC,生命线) AND VARC VARD AND VARC 25 AND C O,50,0) LINETHICK5,
COLORLIRED,POINTDOT;
STICKLINE(低位转强 0,15,低位转强*1.01,5,0),COLORMAGENTA;
STICKLINE(低位转强 0,15,低位转强*0.2,5,0),COLORFFCC66;
波段线:=5*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),NODRAW;
趁火打劫:=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),NODRAW;
M18:=EMA(MA(波段线,5),3);
STICKLINE(波段线 100 AND 波段线 =M1,波段线,100,3,1),COLORF0F000;
STICKLINE(波段线 0 AND 波段线 =M1,波段线,0,3,1),COLORLIGRAY;
底部买:=LLV(波段线,2)=LLV(波段线,8);
买进:IF(CROSS(波段线,REF(波段线+0.01,1)) AND 底部买 AND 波段线 0,30,0);
STICKLINE(波段线 0 AND 波段线 M18,买进,0,1,0),COLORFF6699;
STICKLINE(短线买 50,51,0.382,1,0),COLOR0088EE;
STICKLINE(短线买 50,51,0.382,4,0),COLOR0055AA;
STICKLINE(短线买 50,51,0.382,2.8,0),COLOR0066BB;
STICKLINE(短线买 50,51,0.382,3.5,0),COLOR0077CC;
STICKLINE(短线买 50,51,0.382,3.2,0),COLOR0088DD;
STICKLINE(短线买 50,51,0.382,2.7,0),COLOR0099EE;
STICKLINE(短线买 50,51,0.382,2.2,0),COLOR00AAFF;
STICKLINE(短线买 50,51,0.382,0.7,0),COLOR00CCFF;
STICKLINE(短线买 50,51,0.382,0.2,0),COLOR00FFFF;