三指标共振的顺势而为操盘系统
本操盘系统中的指标,也不是我的原创,我也没那个能力。所有的指标都是来源于理想论坛的各位前辈的分享,不过是根据我的实战进行组合,形成了自己的操盘系统!
得到了,收获了,就要分享!心胸的宽广,才能获得更多的收益!
具体使用方法,请看图片的说明!
主图源码
B1:=EMA((2*CLOSE+HIGH+LOW)/4,5);
A1:IF(EMA((2*CLOSE+HIGH+LOW)/4,6) REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),B1,DRAWNULL),COLORWHITE;
A2:IF(EMA((2*CLOSE+HIGH+LOW)/4,6) REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),B1,DRAWNULL),COLOR00FF00;
B2:=EMA((2*CLOSE+HIGH+LOW)/4,13);
A3:=IF(EMA((2*CLOSE+HIGH+LOW)/4,10) REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),B2,DRAWNULL),COLOR0000FF;
A4:IF(EMA((2*CLOSE+HIGH+LOW)/4,10) REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),B2,DRAWNULL),LINETHICK2,COLOR00FF00;
B3:=REF(EMA((LOW+CLOSE+OPEN)/3,25),1);
A5:IF(EMA((LOW+CLOSE+OPEN)/3,28) REF(EMA((LOW+CLOSE+OPEN)/3,28),1),B3,DRAWNULL),LINETHICK3,COLOR0000FF;
A6:IF(EMA((LOW+CLOSE+OPEN)/3,28) REF(EMA((LOW+CLOSE+OPEN)/3,28),1),B3,DRAWNULL),LINETHICK3,COLOR00FF00;
B4:=(EMA(LOW,125)+EMA((CLOSE+LOW)/2,125))/2;
A7:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2 REF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),B4,DRAWNULL),POINTDOT,COLOR0000FF;
A8:IF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2 REF((EMA(LOW,125)+EMA((CLOSE+LOW)/2,250))/2,1),B4,DRAWNULL),POINTDOT,COLOR00FF00;
A001:=CLOSE-REF(CLOSE,6);
A002:=MA(A001,6);
A003:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100;
A004:=SMA(A003,3,1);
A005:=SMA(A004,3,1);
A006:=EMA((3*A004-2*A005),2);
A007:=(HIGH+LOW+CLOSE)/3;
A008:=((A007-MA(A007,14))/(0.015*AVEDEV(A007,14)))/2;
A009:=(A008+(EMA(((0-(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))))+100)/100,3)*200-100))/2;
A010:=A009-REF(A009,14);
A011:=A009-REF(A009,26);
A012:=(A009+A010+A011)/3;
KKM:=EMA(A012,4);
A013:=HHV(HIGH,34);
A014:=(2*CLOSE+HIGH+LOW)/4;
A015:=LLV(LOW,34);
A016:=EMA(((A014-A015)/(A013-A015))*100,13);
A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);
KKMD:=A016-A017 1 AND A016 30 AND A017
KKML:=A016-A017 0 AND A016 80 AND A017 80 AND REF(A016-A017,1)
KKMQ:=COUNT(A016-A017 0,2)=2;
KKAL:=(A016-A017)
生命线:=MA(CLOSE,20),COLOR0000FF;
取舍线:MA(CLOSE,10);
DRAWTEXT(FILTER(KKMD,30),L,'最佳买入时机'),COLOR00FFFF;
DRAWTEXT(FILTER(KKML,30),H,'最佳卖出时机'),COLORFFFF00;
DRAWTEXT(FILTER(KKMQ,30),C,'持仓区'),COLOR00FF00;
DRAWTEXT(FILTER(KKAL,30),H,'空仓区'),COLORFF8080;
DRAWTEXT(FILTER(CLOSE/REF(CLOSE,1) INDEXC/REF(INDEXC,1),30),L*0.98,'该股强于大盘'),COLORFF00FF;
DRAWTEXT(CROSS(MA(CLOSE,5),MA(CLOSE,10)),L*0.96,'可出手'),COLORFF00FF;
DRAWTEXT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),H*1.02,'收手了'),COLORFF0000;
DRAWTEXT(FILTER(KKM EMA(KKM,4) AND KKM REF(KKM,1),30),L*0.98,'快速介入');
DRAWTEXT(FILTER(KKM EMA(KKM,4) AND KKM REF(KKM,1),30),H*1.02,'风险较大');
DRAWTEXT(FILTER(KKM EMA(KKM,4) AND KKM REF(KKM,1),30),H,'休息观望~'),COLORAA8800;
DRAWTEXT(FILTER(KKM EMA(KKM,4) AND KKM REF(KKM,1),30),L,'有防御能力')
,COLORAA00AA;
顺势而为码源如下
DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
绿柱消失买入:STICKLINE(DIFF 0,0,DIFF,2,0),COLOR00FF00;
红柱消失卖出:STICKLINE(DIFF =0,0,DIFF,2,0),COLORRED;
STICKLINE(DEA =0,0,DEA,2,0),COLORBLUE;
STICKLINE(DEA 0,0,DEA,2,0),COLORYELLOW;
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
强1:IF(DIFF DEA,DIFF,DRAWNULL),COLORRED,LINETHICK2;
强2:IF(DEA DIFF,DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
抄底:=ABS((CROSS( MACD.DIF , MACD.DEA )
MACD.DEA =-0.07)* MACD.DIF )*1.09,COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(ABS(抄底) 0,抄底,' 抄底'),COLORRED;
DRAWICON(ABS(抄底) 0,抄底,9);
量柱码源如下:
VOLUME:=VOL;
量柱:V/CAPITAL*100,VOLSTICK;
倍量柱:=IF(V/REF(V,1) 1.9 AND C REF(C,1),1,0);
高量柱:=IF(V=HHV(V,10),3,2);
低量柱:=IF(V=LLV(V,10),9,8);
并肩平量柱:=IF((V/REF(V,1) 0.95 AND V/REF(V,1) 1.05),7,6);
缩量柱:=IF(V REF(V,1) AND REF(V,1) REF(V,2) AND REF(V,2) REF(V,3),25,35);
梯量柱:=IF(V REF(V,1) AND REF(V,1) REF(V,2) AND REF(V,2) REF(V,3),11,10);
DRAWTEXT(倍量柱 0,量柱*0.99,'倍');
DRAWTEXT(高量柱 2,量柱*0.85,'高');
DRAWTEXT(并肩平量柱 6,量柱*0.7,'平');
DRAWTEXT(梯量柱 10,量柱*0.55,'梯');
DRAWTEXT(低量柱 8,量柱*1.01,'低'),COLORYELLOW;
DRAWTEXT(缩量柱 35,量柱*1.01,'缩'),COLORYELLOW;