智能解盘P
A4:=MA(CLOSE,20);
A5:=CLOSE>MA(CLOSE,5);
A6:=MA(CLOSE,5)>MA(CLOSE,10);
A7:=CLOSE>MA(CLOSE,10);
A8:=MA(CLOSE,5)>MA(CLOSE,20);
A9:=CLOSE>MA(CLOSE,20);
A10:=REF(A4,1);
A11:=A4>A10;
AVX:=IF(A5,10,-10)+IF(A6,10,-10)+IF(A7,10,-10)+IF(A8,10,-10)+IF(A9,10,-10)+IF(A11,10,-10);
DSLX:=CLOSE/INDEXC;
DSLX1:=MA(DSLX,5);
DSLX2:=MA(DSLX,10);
V1:=MA(VOL,5);
V2:=MA(VOL,10);
T:=BARSLAST(BARSTATUS=1)+1;
HHG:=HHV(HIGH,T);
DDG:=LLV(LOW,T);
A001:=BARSTATUS=2 AND CLOSE<200 AND CROSS(AVX,1) AND V1>=V2 AND DSLX>=DSLX1;
DRAWTEXTEX(A001,0,12,170,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。 '),LINETHICK3,colorFF;
A002:=BARSTATUS=2 AND CLOSE<200 AND CROSS(AVX,1) AND V1<V2 AND DSLX>=DSLX1;
DRAWTEXTEX(A002,0,12,170,'该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。 '),LINETHICK3,colorFF;
A003:=BARSTATUS=2 AND CLOSE<200 AND CROSS(AVX,1) AND V1>V2 AND DSLX<DSLX1;
DRAWTEXTEX(A003,0,12,170,'该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。 '),LINETHICK3,colorFF;
A004:=BARSTATUS=2 AND CLOSE<200 AND CROSS(AVX,1) AND V1<=V2 AND DSLX<DSLX1;
DRAWTEXTEX(A004,0,12,170,'该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。 '),LINETHICK3,colorFF;
A005:=BARSTATUS=2 AND CLOSE<200 AND CROSS(1,AVX) AND V1>=V2 AND DSLX>=DSLX1;
DRAWTEXTEX(A005,0,12,170,'该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。 '),LINETHICK3,colorFF00;
A006:=BARSTATUS=2 AND CLOSE<200 AND CROSS(1,AVX) AND V1<V2 AND DSLX>=DSLX1;
DRAWTEXTEX(A006,0,12,170,'该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓。 '),LINETHICK3,colorFF00;
A007:=BARSTATUS=2 AND CLOSE<200 AND CROSS(1,AVX) AND V1>=V2 AND DSLX<DSLX1;
DRAWTEXTEX(A007,0,12,170,'该股放量下跌,走势明显偏弱,离场观望。 '),LINETHICK3,colorFF00;
A0071:=BARSTATUS=2 AND CLOSE<200 AND CROSS(1,AVX) AND V1<V2 AND DSLX<DSLX1;
DRAWTEXTEX(A0071,0,12,170,'该股缩量下跌,走势偏弱,离场观望。 '),LINETHICK3,colorFF00;
A008:=BARSTATUS=2 AND CLOSE<200 AND AVX>=1 AND REF(AVX,1)>0 AND V1>=V2 AND DSLX>=DSLX1;
DRAWTEXTEX(A008,0,12,170,'该股形态良好,强势明显,量能充足,可以继续持有。 '),LINETHICK3,colorFFFF;
A009:=BARSTATUS=2 AND CLOSE<200 AND AVX>=1 AND REF(AVX,1)>0 AND V1<V2 AND DSLX>=DSLX1;
DRAWTEXTEX(A009,0,12,170,'该股上行趋势不变,强势依然,但量能开始转弱,注意风险。 '),LINETHICK3,colorFFFF;
A010:=BARSTATUS=2 AND CLOSE<200 AND AVX>=1 AND REF(AVX,1)>0 AND V1>=V2 AND DSLX<DSLX1;
DRAWTEXTEX(A010,0,12,170,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。 '),LINETHICK3,colorFFFF;
A011:=BARSTATUS=2 AND CLOSE<200 AND AVX>=1 AND REF(AVX,1)>0 AND V1<V2 AND DSLX<DSLX1;
DRAWTEXTEX(A011,0,12,170,'该股走势趋弱,量能不足,减持大部分筹码。 '),LINETHICK3,colorFFFF;
A012:=BARSTATUS=2 AND CLOSE<200 AND AVX<1 AND REF(AVX,1)<0 AND V1>=V2 AND DSLX>=DSLX1;
DRAWTEXTEX(A012,0,12,170,'该股形态不佳,注意成交量的变化,但目前不适合参与。 '),LINETHICK3,colorFF00;
A013:=BARSTATUS=2 AND CLOSE<200 AND AVX<1 AND REF(AVX,1)<0 AND V1<V2 AND DSLX>=DSLX1;
DRAWTEXTEX(A013,0,12,170,'该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。 '),LINETHICK3,colorFF00;
A014:=BARSTATUS=2 AND CLOSE<200 AND AVX<1 AND REF(AVX,1)<0 AND V1>=V2 AND DSLX<DSLX1;
DRAWTEXTEX(A014,0,12,170,'该股有走强迹象,但量能不足,趋势不明,不适合操作。 '),LINETHICK3,colorFF00;
A015:=BARSTATUS=2 AND CLOSE<200 AND AVX<1 AND REF(AVX,1)<0 AND V1<V2 AND DSLX<DSLX1;
DRAWTEXTEX(A015,0,12,170,'该股走势太弱,没有参与价值。 '),LINETHICK3,colorFF00;
A016:=BARSTATUS=2 AND CLOSE>200 AND CROSS(AVX,1) AND V1>=V2;
DRAWTEXTEX(A016,0,12,170,'大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右, '),LINETHICK3,colorFF;
A017:=BARSTATUS=2 AND CLOSE>200 AND CROSS(AVX,1) AND V1>=V2;
DRAWTEXTEX(A017,0,12,170,'如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。 '),LINETHICK3,colorFF;
A018:=BARSTATUS=2 AND CLOSE>200 AND CROSS(AVX,1) AND V1<V2;
DRAWTEXTEX(A018,0,12,170,'大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌, '),LINETHICK3,colorFF;
A019:=BARSTATUS=2 AND CLOSE>200 AND CROSS(AVX,1) AND V1<V2;
DRAWTEXTEX(A019,0,12,170,'可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。 '),LINETHICK3,colorFF;
A020:=BARSTATUS=2 AND CLOSE>200 AND CROSS(1,AVX) AND V1>=V2;
DRAWTEXTEX(A020,0,12,170,'大盘形态走坏,重仓者可以减去大部分仓位。 '),LINETHICK3,colorFF00;
A021:=BARSTATUS=2 AND CLOSE>200 AND CROSS(1,AVX) AND V1<V2;
DRAWTEXTEX(A021,0,12,170,'大盘缩量调整,注意风险,短线清仓观望。 '),LINETHICK3,colorFF00;
A022:=BARSTATUS=2 AND CLOSE>200 AND AVX>=1 AND REF(AVX,1)>0 AND V1>=V2;
DRAWTEXTEX(A022,0,12,170,'大盘走势良好,量能理想,可以继续持有强势股。 '),LINETHICK3,colorFFFF;
A023:=BARSTATUS=2 AND CLOSE>200 AND AVX>=1 AND REF(AVX,1)>0 AND V1<V2;
DRAWTEXTEX(A023,0,12,170,'大盘形态良好,但量能稍显不足,随时准备减仓。 '),LINETHICK3,colorFFFF;
A024:=BARSTATUS=2 AND CLOSE>200 AND AVX<1 AND REF(AVX,1)<0 AND V1>=V2;
DRAWTEXTEX(A024,0,12,170,'大盘趋势不明,注意成交量变化,目前不适宜进场。 '),LINETHICK3,colorFF00;
A025:=BARSTATUS=2 AND CLOSE>200 AND AVX<1 AND REF(AVX,1)<0 AND V1<V2;
DRAWTEXTEX(A025,0,12,170,'大盘趋势向下,量能萎缩,不适合进场。 '),LINETHICK3,colorFF00;
NN:=BARSTATUS=2;
MB1:MA(CLOSE,N),LINEDOT,LINETHICK1,colorFFFFFF;
MB2:MA(CLOSE,N1),LINEDOT,LINETHICK1,colorFFFF;
MB3:MA(CLOSE,N2),LINEDOT,LINETHICK1,color208FFF;
MB4:MA(CLOSE,N3),LINEDOT,LINETHICK0,colorFF00FF;
VAR3:=HIGH<REF(LOW,1);
VAR4:=LOW>REF(HIGH,1);
DRAWTEXT(VAR3,HIGH,'↓QK'),ALIGN1,PXUP6,colorFFFFFF;
DRAWTEXT(VAR4,LOW,'↑QK'),ALIGN1,PXUP6,colorFFFF;
DRAWTEXT(NN,MB1,''+NUMTOSTR(MB1,2)+''),ALIGN0,PXUP2,colorFFFFFF;
DRAWTEXT(NN,MB2,''+NUMTOSTR(MB2,2)+''),ALIGN0,PXUP2,colorFFFF;
DRAWTEXT(NN,MB3,''+NUMTOSTR(MB3,2)+''),ALIGN0,PXUP2,color208FFF;
A1:=REF(HIGH,3)=HHV(HIGH,2*3+1);
B1:=FILTER(A1,3);
C1:=BACKSET(B1,3+1);
D1:=FILTER(C1,3);
A2:=REF(LOW,3)=LLV(LOW,2*3+1);
B2:=FILTER(A2,3);
C2:=BACKSET(B2,3+1);
D2:=FILTER(C2,3);
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
E2:=(HIGH+LOW)/2;
H1:=D1 AND NOT(D2 AND E1>=E2) OR BARSTATUS OR BARSCOUNT(CLOSE)=1;
L1:=D2 AND NOT(D1 AND E1<E2);
H2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(H1),1)+1;
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
L2:=LD OR BARSTATUS OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);
UU:=BACKSET(BARSTATUS,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);
XX:=WW>REF(WW,1);
UU2:=BACKSET(BARSTATUS,BARSLAST(HD)+1);
VV2:=UU2>REF(UU2,1);
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);
XX2:=WW2>REF(WW2,1);
一低:REF(LOW,BARSLAST(VV)),LI |