参数S022N11005
STICKLINE(CLOSE =REF(CLOSE,1),HIGH,LOW,0,1),COLORRED;
STICKLINE(CLOSE =REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR000066;
STICKLINE(CLOSE =REF(CLOSE,1),OPEN,CLOSE,2.6,0),COLOR000099;
STICKLINE(CLOSE =REF(CLOSE,1),OPEN,CLOSE,2,0),COLOR0000CC;
STICKLINE(CLOSE =REF(CLOSE,1),OPEN,CLOSE,1.2,0),COLOR0000FF;
STICKLINE(CLOSE =REF(CLOSE,1),OPEN,CLOSE,0.4,0),COLORCC66FF;
STICKLINE(CLOSE REF(CLOSE,1),HIGH,LOW,0,1),COLORCYAN;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,3,0),COLORCC0000;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2.6,0),COLORFF4400;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,2,0),COLORFF8800;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,1.2,0),COLORFFCC00;
STICKLINE(CLOSE REF(CLOSE,1),OPEN,CLOSE,0.4,0),COLORCYAN;
TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
STICKLINE(CROSS(MA(C,2),MA(C,7)),H,C,0.05,0),COLOR0000FF;
STICKLINE(CROSS(MA(C,2),MA(C,7)),C,O,3,0),COLORFF0099;
STICKLINE(CROSS(MA(C,2),MA(C,7)),O,L,0.05,0),COLOR0099FF;
XG1:=CROSS(MA(C,7),MA(C,2));
STICKLINE(XG1,H,L,3.5,0),LINETHICK1,COLORWHITE;
STICKLINE(XG1,H,L,0.2,0),COLORGREEN;
STICKLINE(XG1,O,C,3,0),LINETHICK1,COLORGREEN;
STICKLINE((C-REF(C,1))*100/REF(C,1) =(10-0.01*100/REF(C,1)),OPEN,CLO
SE,3,0),COLORFF00FF;
STICKLINE((REF(C,1)-C)*100/REF(C,1) =(10-0.01*100/REF(C,1)),OPEN,CLO
SE,3,0),COLORWHITE;
STICKLINE(REF(COUNT(C TYX3,5)=5,1)ANDC TYX3AND
C O,C,O,3.5,0),COLOR00CCFF;
P:=8;
KE:=V*(H-L)/REF(C,1);
KEP:=KE=HHV(KE,P);
KUD:=BARSLAST(KEP);
阻力1:REFDATE(REF(HHV(H,22),1),DATE),COLORGRAY;
底1:REFDATE(REF(LLV(L,22),1),DATE),COLORGRAY;
DMLJ:=HHV(H,120);
E:=(H+L+O+2*C)/5;
CRTP:=E+(H-L);
CRZL:=2*E-L;
CRZC:=2*E-H;
CRFZ:=E-(H-L);
CRXL:=(E+CRTP+CRZL+CRZC+CRFZ)/5;
高:=CONST(CRTP),COLORRED;
阻:=CONST(CRZL),COLORC7C9FF;
支:=CONST(CRZC),COLOR7C9CFF;
反:=CONST(CRFZ),COLORDD00DD;
心理:=CONST(CRXL);
高压:DRAWLINE(S 1 CURRBARSCOUNT=5+1,高,ISLASTBAR,
高,1),COLOR0000FF;
阻力:DRAWLINE(S 1 CURRBARSCOUNT=5+1,阻,ISLASTBAR,
阻,1),COLOR0099FF;
支撑:DRAWLINE(S 1 CURRBARSCOUNT=5+1,支,ISLASTBAR,
支,1),COLORGREEN;
价:DRAWLINE(S 1 CURRBARSCOUNT=5+1,反,ISLASTBAR,
反,1),COLORDD00DD;
次日心理价:DRAWLINE(S 1 CURRBARSCOUNT=5+1,心理,ISLASTBAR,心
理,1),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,反, 反转少量买 ),LINETHICK1,COLORDD00DD;
DRAWTEXT(ISLASTBAR,支, 支撑 ),LINETHICK1,COLOR00FF00;
DRAWTEXT(ISLASTBAR,阻, 阻力 ),LINETHICK1,COLOR0099FF;
DRAWTEXT(ISLASTBAR,高, 高压 ),LINETHICK1,COLOR0000FF;
T1:=CONST(LLVBARS(LOW,10));
T1HIGH:=CONST(REF(HIGH,T1));
CC:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST(CURRBARSCOUNT CC+T1ANDH T1HIGH));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST(CURRBARSCOUNT CC+T2ANDHIGH T2HIGH));
T3HIGH:=CONST(REF(HIGH,T3));
猎击线:DRAWLINE(CURRBARSCOUNT=T3+1,T3HIGH,ISLASTBAR,T3HIGH,
1),COLOR00FFFF,LINETHICK1;
DRAWTEXT(ISLASTBAR,T3HIGH, 网买入 )LINETHICK1,COLOR00FFFF;
IF(S=1,CRTP,DRAWNULL),COLORRED;
IF(S=1,CRZL,DRAWNULL),COLORC7C9FF;
IF(S=1,CRZC,DRAWNULL),COLOR7C9CFF;
IF(S=1,CRFZ,DRAWNULL),COLORDD00DD;
IF(S=1,CRXL,DRAWNULL),COLORFFDDFF;
AA17:=EMA(C,14)COLORWHITE,LINETHICK1;
A17X:=(AA17-REF(AA17,1))/REF(AA17,1)*100,NODRAW;
参考线试
买:IF(A17X =0,REF(EMA(C,14),BARSLAST(CROSS(A17X,0))+1),DRAWNULL)
COLORRED,LINETHICK2;
DRAWTEXT(ISLASTBAR,参考线试买, 参考线试买
),COLORYELLOW,LINETHICK4;
网12:EXPMA(CLOSE,12),COLORGRAY,LINETHICK2;
网33:EXPMA(CLOSE,33),COLORFF00FF,LINETHICK4;
IF(网33 REF(网33,1),网33,DRAWNULL),COLOR00FF00,LINETHICK3;
LC:=REF((O+H+L+2*C)/5,1);
RSI:=SMA(MAX(C-LC,0),7,1)/SMA(ABS(C-LC),7,1)*10;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,23))/(0.015*AVEDEV(TYP,23));
买:=CROSS(RSI,7.1)ANDMA(V,5) MA(V,10),COLORRED;
DRAWTEXT(CROSS(RSI,7.1)ANDMA(V,5) MA(V,10),L, ◆◆◆◆
),COLORWHITE;
DRAWICON(买,(LOW*0.98),17);
卖:=CROSS(7.1,RSI)ANDMA(V,10) MA(V,5),COLORGREEN;
DRAWTEXT(CROSS(7.1,RSI)ANDMA(V,10) MA(V,5),H*1.04, ■■■逃跑
■■■ ),COLORGREEN;
DRAWICON(卖,(H*1.03),28);
A11:=(REF(EMA(CLOSE,5),1));
B1:=CROSS(EMA(CLOSE,5),EMA(SLOPE(CLOSE,21)*20+CLOSE,42));
DRAWTEXT(B1,LOW*0.995, 追 ),COLORFFFF00,LINETHICK2;
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;
DRAWTEXT(CROSS(J,D),LOW*0.98, 加 ),COLOR00FFFF,LINETHICK2;
VAR29:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR2A:=SMA(VAR29,5,1);
VAR2B:=SMA(VAR2A,10,1);
VAR2C:=CROSS(VAR2B,VAR2A);
VAR2D:=VAR2B 80ORVAR2A
VAR2E:=VAR2CANDVAR2D;
W1:=FILTER(O REF(L,1) C O VOL REF(V,1),13);
JH:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
SZ:=FILTER(CROSS(JH,35),13);
SX:=FILTER(CROSS(JH,30),7);
SQ:=FILTER(CROSS(71,JH),74);
SD:=FILTER(CROSS(80,JH),74);
BB:=IF(CAPITAL 1,SQ,SD);
AA:=IF(CAPITAL 1,SZ,SX);
CC:=REF(HHV(CLOSE,120),1);
DD:=REF(LLV(CLOSE,120),1);
WW:=((100*(CLOSE-DD))/(CC-DD));
FF:=(EMA(AMOUNT,5)/REF(EMA(AMOUNT,5),5));
BZ:=FILTER(((FF =2 WW 35 BARSCOUNT(C) 30)OR(FF =2
WW 100 BARSCOUNT(C) 50)),30);
STICKLINE(C OORC REF(C,1),H,L,0,0),COLOR0022FF;
STICKLINE(C OORC REF(C,1),C,O,3.2,0),COLOR002288;
STICKLINE(C OORC REF(C,1),C,O,2.6,0),COLOR0033AA;
STICKLINE(C OORC REF(C,1),C,O,1.9,0),COLOR0044CC;
STICKLINE(C OORC REF(C,1),C,O,1.1,0),COLOR0055EE;
STICKLINE(C OORC REF(C,1),C,O,0.3,0),COLOR0088FF;
STICKLINE(C OORC REF(C,1),H,L,0,1),COLORFF8800;
STICKLINE(C OORC REF(C,1),C,O,3.2,0),COLORFF2200;
STICKLINE(C OORC REF(C,1),C,O,2.6,0),COLORFF4400;
STICKLINE(C OORC REF(C,1),C,O,1.9,0),COLORFF6600;
STICKLINE(C OORC REF(C,1),C,O,1.1,0),COLORFF8800;
STICKLINE(C OORC REF(C,1),C,O,0.3,0),COLORFFAA00;
STICKLINE(C=REF(C,1),H,L,0,1),COLORFFFFFF;
STICKLINE(C=REF(C,1),C,O,3.2,0),COLOR555555;
STICKLINE(C=REF(C,1),C,O,2.6,0),COLOR777777;
STICKLINE(C=REF(C,1),C,O,1.9,0),COLOR999999;
STICKLINE(C=REF(C,1),C,O,1.1,0),COLORCCCCCC;
{STICKLINE(C=REF(C,1),C,O,0.3,0),COLORDDDDDD;}
STICKLINE(W1,H,L,0,1),COLORFF55FF;
STICKLINE(W1,C,O,3.2,0),COLOR880088;
STICKLINE(W1,C,O,2.6,0),COLORAA00AA;
STICKLINE(W1,C,O,1.9,0),COLORCC00CC;
STICKLINE(W1,C,O,1.1,0),COLOREE00EE;
STICKLINE(W1,C,O,0.3,0),COLORFF44FF;
STICKLINE(AA,H,L,0,1),COLORYELLOW;
STICKLINE(AA,C,O,3.2,0),COLOR117777;
STICKLINE(AA,C,O,2.6,0),COLOR119999;
STICKLINE(AA,C,O,1.9,0),COLOR11BBBB;
STICKLINE(AA,C,O,1.1,0),COLOR11DDDD;
STICKLINE(AA,C,O,0.3,0),COLOR44FFFF;
STICKLINE(BB,H,L,0,1),COLORGREEN;
STICKLINE(BB,C,O,3.2,0),COLOR006600;
STICKLINE(BB,C,O,2.6,0),COLOR008800;
STICKLINE(BB,C,O,1.9,0),COLOR00AA00;
STICKLINE(BB,C,O,1.1,0),COLOR00CC00;
STICKLINE(BB,C,O,0.3,0),COLOR00FF00;
STICKLINE(BZ,H,L,0,1),COLOR0000FF;
STICKLINE(BZ,C,O,3.2,0),COLOR000066;
STICKLINE(BZ,C,O,2.6,0),COLOR000088;
STICKLINE(BZ,C,O,1.9,0),COLOR0000AA;
STICKLINE(BZ,C,O,1.1,0),COLOR0000CC;
STICKLINE(BZ,C,O,0.3,0),COLOR2200FF;
VAR1AA:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
VAR2AA:=VOL;
上升价格线:(SUM((VAR1AA)*(VAR2AA),8))/(SUM(VAR2AA,8)),COLORRED;
下降价格线:LLV(上升价格线,8),COLOR007700;
VAR3AA:=IF((CLOSE REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1)) 1.05)AND((HIGH)/(CLOSE) 1.01)
AND(VAR3AA 0),91,0);
DRAWTEXT(FILTER((VAR4AA 90),34),(LOW)*(0.99), *加仓 ),COLORRED;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1) CLOSE);
DRAWTEXT(FILTER((A2AA 0),34),(HIGH)*(1.01), *警 ),COLORGREEN;
VAR1:=REF(CLOSE,1);
VAR2:=MA(CLOSE,5);
VAR3:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
VAR4:=SMA(MAX(CLOSE-VAR1,0),12,1)/SMA(ABS(CLOSE-VAR1),12,1)*100;
VAR5:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),24,1)*100;
VAR6:=IF(CROSS(VAR3,VAR5),LOW,REF(LOW,BARSLAST(CROSS(VAR3,VAR
5))));
VAR7:=IF(CROSS(VAR5,VAR3),HIGH,REF(HIGH,BARSLAST(CROSS(VAR5,VA
R3))));
VAR8:=IF(CLOSE =MA(CLOSE,20),80,50);
VAR9:=IF(CLOSE =MA(CLOSE,20),50,20);
VARA:=IF(VAR3 VAR8AND
REF(VAR3,1) =VAR8,HHV(REF(HIGH,1),BARSLAST(VAR3 =VAR8AND
REF(VAR3,1) VAR8)-1),REF(HHV(REF(HIGH,1),BARSLAST(VAR3 =VAR8
ANDREF(VAR3,1) VAR8)-1),BARSLAST(VAR3 VAR8ANDREF(VAR3,1))));
VARB:=IF(HIGH VARA,LOW,REF(LOW,BARSLAST(HIGH VARA)));
VARC:=IF(HIGH VARA,VAR3,REF(VAR3,BARSLAST(HIGH VARA)));
VARD:=IF(HIGH VARBANDVAR3 VARCAND
VAR3 VAR5,HIGH,REF(HIGH,BARSLAST(HIGH VARBANDVAR3 VARC
ANDVAR3 VAR5)));
VARE:=IF(VAR3 VAR9AND
REF(VAR3,1) =VAR9,LLV(REF(LOW,1),BARSLAST(VAR3 =VAR9AND
REF(VAR3,1) VAR9)-1),REF(LLV(REF(LOW,1),BARSLAST(VAR3 =VAR9AND
REF(VAR3,1) VAR9)-1),BARSLAST(VAR3 VAR9ANDREF(VAR3,1))));
VARF:=IF(LOW VARE,HIGH,REF(HIGH,BARSLAST(LOW VARE)));
VAR10:=IF(LOW VARE,VAR3,REF(VAR3,BARSLAST(LOW VARE)));
VAR11:=IF(LOW VARFANDVAR3 VAR10AND
VAR3 VAR5,LOW,REF(LOW,BARSLAST(LOW VARFANDVAR3 VAR10AND
VAR3 VAR5)));
支撑线:VAR11,COLORYELLOW,LINETHICK1;
压力线:VARD,COLORGREEN,LINETHICK1;