只铁老师操盘指标稍作优化和股友们交流分享(不含未来函数)
VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=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);
VAR5:=CROSS(VAR4,10) AND VAR3<12; 抄底:IF(VAR5,90,50),COLORRED;
DRAWICON(VAR5,65,5); DRAWTEXT(VAR5,30,'抄底'),COLORYELLOW;
VAR31:=REF(CLOSE,2);
会员专用:=SMA(MAX(CLOSE-VAR31,0),7,1)/SMA(ABS(CLOSE-VAR31),7,1)*100;
逃亡: IF(会员专用< REF(会员专用,1) AND 会员专用>79,会员专用,50),COLORGREEN;
中间线:50,COLORYELLOW;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,26);
VAR8:=HHV(HIGH,26);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
战术线: VAR9,COLORYELLOW,LINETHICK2;
STICKLINE(VAR9>VARA,VAR9,VARA,6,0),COLOR000099;
STICKLINE(VAR9>VARA,VAR9,VARA,4,0),COLOR0000CC;
STICKLINE(VAR9>VARA,VAR9,VARA,2.4,0),COLOR0000FF;
STICKLINE(VAR9>VARA,VAR9,VARA,0.4,0),COLORCC66FF;
STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLORFF6600;
STICKLINE(VAR9<=VARA,VAR9,VARA,4,0),COLORFF9900;
STICKLINE(VAR9<=VARA,VAR9,VARA,2.4,0),COLORFFCC00;
STICKLINE(VAR9<=VARA,VAR9,VARA,0.4,0),COLORCYAN;
战略线: EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),COLORBLUE;
VARB:=SUM(IF(CLOSE>REF(CLOSE,7),VOL,IF(CLOSE<REF(CLOSE,7),0-VOL,0)),0);
A1:=EMA(CLOSE,5);
A2:=EMA(CLOSE,10);
A3:=EMA(CLOSE,20);
A4:=EMA(CLOSE,40);
A5:=EMA(CLOSE,60);
I:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE<OPEN,VOL,1),3);
R:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4);
短线逃顶:=IF(I,0,1);
DRAWICON(短线逃顶,90,2);
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,79,80,6,0),COLORRED ;
STICKLINE(V112>0 AND V112-V13<0,79,80,6,1),COLOR00FF00 ;
STICKLINE(V112>0 AND V112-V13>=0,19,20,6,0),COLORRED, ;
STICKLINE(V112>0 AND V112-V13<0,19,20,6,1),COLOR00FF00 ;
- 上一篇:徐大师CCI{通达信、主图、源码、贴图} 2016/4/14
- 下一篇:L敢死队 2016/4/13