整理过后的冠军1号很不错
短高H:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
短低L:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210;
多空线:=(短高H+短低L)/2;
D60:=EMA(多空线,90);
波段高:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*2.2+XMA(XMA(H,60),60);
波段低:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*2.2;
高:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25);
低:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1;
多头定位:=多空线>D60;
SJ:=WMA(((2*C+H+L)/4-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);
买1:=CROSS(SJ,ZJ) AND SJ<30;
卖1:=CROSS(ZJ,SJ) AND SJ>70;
VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
买2:=CROSS(VAR1,8);
卖2:=CROSS(88,RSI);
RSV6:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
K6:=SMA(RSV6,3,1);
D6:=SMA(K6,3,1);
J6:=3*K6-2*D6;
KDJ6买点:=CROSS(J6,D6);
J6买点:=CROSS(J6,0);
J6卖点:=CROSS(100,J6);
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K9:=SMA(RSV9,3,1);
D9:=SMA(K9,3,1);
J9:=3*K9-2*D9;
J9买点:=CROSS(J9,0);
J9卖点:=CROSS(100,J9);
MB1:=EMA(WINNER(C)*100,5);
MB2:=EMA(MB1,2),COLORGREEN;
MB3:=EMA(MB2,2),COLORGREEN;
MB4:=EMA(MB3,2),COLORGREEN;
MB5:=EMA(MB4,2),COLORGREEN;
MB6:=EMA(MB5,2),COLORGREEN;
VAR2:=MB1;
VAR3:=DRAWLINE(VAR2>=HHV(VAR2,5)=1,VAR2,VAR2<=LLV(VAR2,5)=1,VAR2,1);
宝剑黄柱:=VAR2=VAR3 AND VAR2<MB4;
宝剑红柱:=REF(VAR2,1)=REF(VAR3,1) AND VAR2>REF(VAR2,1);
WRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
WK:=SMA(WRSV,3,1);
D:=SMA(WK,3,1);
KD买点:=CROSS(WK,D)&&WK<20;
KD卖点:=CROSS(D,WK)&&WK>80;
MID:=MA(CLOSE,20);
UPPER:=MID+2*STD(CLOSE,20);
LOWER:=MID-2*STD(CLOSE,20);
布林买点:=CROSS(CLOSE,LOWER);
布林卖点:=CROSS(CLOSE,UPPER);
LCC:=REF(CLOSE,1);
WRSI:=SMA(MAX(CLOSE-LCC,0),6,1)/SMA(ABS(CLOSE-LCC),6,1)*100;
相对强弱买点:=CROSS(WRSI,20);
相对强弱卖点:=CROSS(80,WRSI);
买点3:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
买点定位:=买1=1 OR 买2=1 OR KD买点=1 OR 布林买点=1 OR 相对强弱买点=1 OR 宝剑黄柱=1 OR KD买点=1 OR J6买点=1 OR J9买点=1 OR 宝剑红柱=1 OR 买点3=1;
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),LINETHICK0;
涨跌动因:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);
大单差分:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);
DDZ1:=大单差分*7;
DDZ2:=大单差分*3;
主力活跃度:=LARGEINTRDVOL-LARGEOUTTRDVOL;
主力净流入:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AMO/V/10000;
买入力度:=LARGEINTRDVOL*100/VOL;
卖出力度:=LARGEOUTTRDVOL*100/VOL;
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=L2_AMO(0,3)/10000.0;
大S:=L2_AMO(1,3)/10000.0;
中S:=L2_AMO(2,3)/10000.0;
小S:=L2_AMO(3,3)/10000.0;
资金流向:=(超B+大B+中B+小B)-(超S+大S+中S+小S);
主力:=(超B+大B+中B)-(超S+大S+中S);
机构:=(超B+大B)-(超S+大S);
私募:=(大B+中B)-(大S+中S);
大单:=(大B)-(大S);
资金比:=(超B+大B+中B+小B)/(超S+大S+中S+小S),COLORWHITE,LINETHICK0;
大单比:=(超B+大B+中B)/(超S+大S+中S),COLORWHITE,LINETHICK0;
资金定位:=DDZ1>0 AND DDZ2>0 AND 资金比>1 AND 大单比>1 AND 大单>0 AND 私募>0 AND 机构>0 AND 主力>0 AND 资金流向>0 AND DDX>0 AND 涨跌动因>0 AND 主力活跃度>0 AND 主力净流入>0 AND 买入力度>卖出力度;
资金定位1:=资金比>1 AND 大单比>1 AND 资金流向>0 AND DDX>0;
量比:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1),COLORWHITE,LINETHICK0;
轨道振幅:=(高-低)/低*100,COLORWHITE,LINETHICK0;
轨道振幅半:=轨道振幅/2;
止盈价:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),COLORMAGENTA,LINETHICK0;
获利率:=(高-(H+C)/2)/((H+C)/2)*100,COLORWHITE,LINETHICK0;
止损率:=-获利率*0.9,LINETHICK0,COLORRED;
止损价:=C+止损率/100*C,LINETHICK0,COLORGREEN;
DEA102:=EMA((EMA(EMA(CLOSE,4) - EMA(CLOSE,12),102) - EMA(EMA(CLOSE,4) - EMA(CLOSE,12),204)),9);
DEA51:=EMA((EMA(EMA(CLOSE,4) - EMA(CLOSE,12),51) - EMA(EMA(CLOSE,4) - EMA(CLOSE,12),102)),9);
DEA1818:=EMA((EMA(EMA(CLOSE,4) - EMA(CLOSE,12),18) - EMA(EMA(CLOSE,4) - EMA(CLOSE,12),36)),9);
DEA66:=EMA((EMA(EMA(CLOSE,4) - EMA(CLOSE,12),6) - EMA(EMA(CLOSE,4) - EMA(CLOSE,12),12)),9);
DEA33:=EMA((EMA(EMA(CLOSE,4) - EMA(CLOSE,12),3) - EMA(EMA(CLOSE,4) - EMA(CLOSE,12),9)),9);
DEA333:=REF(DEA33,1),COLORWHITE,LINETHICK0;
DEA1212:=EMA((EMA(EMA(CLOSE,4) - EMA(CLOSE,12),12) - EMA(EMA(CLOSE,4) - EMA(CLOSE,12),24)),9),COLORRED,LINETHICK1;
DEA144:=EMA((EMA(CLOSE,144) - EMA(CLOSE,288)),9);
DEA72:=EMA((EMA(CLOSE,72) - EMA(CLOSE,144)),9);
DEA36:=EMA((EMA(CLOSE,36) - EMA(CLOSE,72)),9);
DEA18:=EMA((EMA(CLOSE,18) - EMA(CLOSE,36)),9);
DEA12:=EMA((EMA(CLOSE,12) - EMA(CLOSE,24)),9);
DEA6:=EMA((EMA(CLOSE,6) - EMA(CLOSE,12)),9);
DEA3:=EMA((EMA(CLOSE,3) - EMA(CLOSE,6)),9);
DEA3B:=REF(DEA3,1);
股池:=资金定位=1 AND 量比>0 AND 轨道振幅>8 AND 获利率>3 AND 买点定位=1 AND (H-C)<(C-L) AND (C+H+L)/3<(高+低)/2 AND 多头定位=1;
股池1:=资金定位=1 AND 量比>0.5 AND 轨道振幅>10 AND 获利率>5 AND 买点定位=1 AND (H-C)<(C-L) AND (C+H+L)/3<(高+低)/2 AND 多头定位=1;
牛股启动1:=DEA72>REF(DEA72,1) AND DEA36>DEA72 AND DEA36>0 AND DEA102>0 AND DEA51>0 AND DEA51>DEA102 AND 股池=1,COLORRED,LINETHICK3;
牛股启动2:=DEA72>REF(DEA72,1) AND DEA36>REF(DEA36,1) AND DEA36<DEA72 AND DEA36>0 AND DEA102>0 AND DEA18>0 AND DEA51>0 AND DEA51>DEA102 AND 股池=1,COLORRED,LINETHICK3;
牛股启动3:=DEA72>REF(DEA72,1) AND DEA36>REF(DEA36,1) AND DEA36>DEA72 AND DEA18>DEA36 AND DEA18>0 AND DEA36<0 AND DEA102>0 AND DEA51>DEA102 AND 股池=1,COLORRED,LINETHICK3;
牛股启动4:=DEA72>REF(DEA72,1) AND DEA36>REF(DEA36,1) AND DEA36>DEA72 AND DEA18>DEA36 AND DEA18>0 AND DEA36>0 AND DEA102>0 AND DEA51>0 AND DEA1818>0 AND DEA102>REF(DEA102,1) AND DEA51>REF(DEA51,1) AND 股池=1,COLORRED,LINETHICK3;
牛股启动5:=DEA72>0 AND DEA36>0 AND DEA36<DEA72 AND DEA6>DEA12 AND DEA12>DEA18 AND DEA1818>DEA51 AND DEA1818>0 AND DEA102>REF(DEA102,1) AND DEA51>REF(DEA51,1) AND 股池=1,COLORRED,LINETHICK3;
牛股启动:=牛股启动1=1 OR 牛股启动2=1 OR 牛股启动3=1 OR 牛股启动4=1 OR 牛股启动5=1,COLORRED,LINETHICK0;
牛气冲天1:=DEA72>REF(DEA72,1) AND DEA36>DEA72 AND DEA36>0 AND DEA18>0 AND DEA18>DEA72 AND DEA18<DEA36 AND DEA102>0 AND DEA51>0 AND 股池=1,COLORRED,LINETHICK8;
牛气冲天2:=DEA72>REF(DEA72,1) AND DEA36>DEA72 AND DEA36>0 AND DEA18>0 AND DEA18<DEA72 AND DEA102>0 AND DEA102>0 AND DEA66>DEA1212 AND DEA1212>DEA1818 AND 股池=1,COLORRED,LINETHICK8;
牛气冲天:=牛气冲天1=1 OR 牛气冲天2=1,COLORYELLOW,LINETHICK0;
牛股翻身:=DEA72>DEA144 AND DEA36>0 AND DEA72>0 AND DEA6>DEA12 AND DEA1212>DEA1818 AND 股池=1 AND 多头定位=1,COLORWHITE,LINETHICK0;
黑牛猎杀1:=DEA72>REF(DEA72,1) AND DEA36>0 AND DEA18>0 AND DEA72<0 AND DEA102>0 AND DEA51>0 AND DEA66>DEA1212 AND 股池=1,COLORRED,LINETHICK8;
黑牛猎杀2:=DEA72>REF(DEA72,1) AND DEA36>0 AND DEA18>0 AND DEA72>0 AND DEA102>0 AND DEA51>0 AND DEA18<DEA36 AND DEA36>DEA72 AND DEA72>DEA144 AND DEA144<0 AND 股池=1,COLORRED,LINETHICK8;
黑牛猎杀3:=DEA36>0 AND DEA18>0 AND DEA72>0 AND DEA102>0 AND DEA18<DEA36 AND DEA72>DEA144 AND DEA66>DEA1212 AND 股池=1,COLORRED,LINETHICK8;
黑牛猎杀:=黑牛猎杀1=1 OR 黑牛猎杀2=1 OR 黑牛猎杀3=1,COLORGREEN,LINETHICK0;
牛股池: 牛股启动=1 OR 黑牛猎杀=1 OR 牛股翻身=1 OR 牛气冲天=1;
YMA:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORWHITE,LINETHICK1;
YMB:=EMA(YMA,3),COLORWHITE,LINETHICK1;
TYP:=(HIGH+LOW+CLOSE)/3;
CI15:=(TYP-MA(TYP,15))/(0.015*AVEDEV(TYP,15));
CI10:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
CI5:=(TYP-MA(TYP,5))/(0.015*AVEDEV(TYP,5));
CI3:=(TYP-MA(TYP,3))/(0.015*AVEDEV(TYP,3));
EMAH3:=REF(EMA(H,3),1);
EMAL3:=REF(EMA(L,3),1);
EMAH5:=REF(EMA(H,5),1);
EMAL5:=REF(EMA(L,5),1);
EMAZ:=(EMAH3+EMAL3)/2;
EMA3:=(EMAH3-EMAL3)/4+EMAL3;
止盈价1:=EMAH3+(EMAH3-EMAL3)/4;
获利率1:=(止盈价-EMAZ)/EMAZ*100;
止损价1:=EMAL3-(EMAH3-EMAL3)/4;
止损率1:=(止损价-EMAZ)/EMAZ*100;
PBX1:=(EXPMA((C+H+L)/3,4)+MA((C+H+L)/3,4*2)+MA((C+H+L)/3,4*4))/3;
PBX2:=(EXPMA((C+H+L)/3,5)+MA((C+H+L)/3,5*2)+MA((C+H+L)/3,5*4))/3;
K线定位:=C>O OR (C-L)>(H-C);
买点:=PBX1>PBX2 AND CI15>0 AND CI10>0 AND REF(CI15,1)>0 AND O<EMA3 AND K线定位=1 AND (C+H+L)/3>YMA AND EMA(L,3)>EMA(L,5) AND EMA(L,5)>EMA(L,10) AND REF(CI10,1)>0 AND REF(CI15,1)<120 AND REF(CI10,1)<120;
短线王:买点=1 AND 获利率1>2 AND 量比>0 AND 资金定位1=1; 大家分享。可以选股。
72300721.jpg
|