无需多说 春秋凸量系统 通达信指标 源码 贴图
春秋凸量系统 通达信指标 源码 贴图
CQX
XA_1:=IF(CLOSE>REF((6*HIGH+5*REF(HIGH,1)+4*REF(HIGH,2)+3*REF(HIGH,3)+2*REF(HIGH,4)+1*REF(HIGH,5))/21,1),1,IF(CLOSE<REF((6*LOW+5*REF(LOW,1)+4*REF(LOW,2)+3*REF(LOW,3)+2*REF(LOW,4)+1*REF(LOW,5))/21,1),(-1),0));
XA_2:=BARSLAST(NOT(XA_1=0));
XA_3:=IF(XA_1=0,REF(XA_1,XA_2),XA_1);
XA_4:=IF(XA_3=(-1),MA(HIGH,6),MA(LOW,6));
CQX:IF(MA(CLOSE,1)>XA_4,1,(-1));
CPX
XA_1:=REF(CLOSE,1);
XA_2:=REF(CLOSE,2);
XA_3:=REF(CLOSE,3);
XA_4:=REF(CLOSE,4);
XA_5:=REF(CLOSE,5);
XA_6:=REF(CLOSE,6);
XA_7:=REF(OPEN,1);
XA_8:=REF(OPEN,2);
XA_9:=REF(OPEN,3);
XA_10:=REF(OPEN,4);
XA_11:=XA_2<=XA_3 AND XA_2<=XA_4 AND XA_2<=XA_5 AND XA_2<=XA_6;
XA_12:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20);
XA_13:=CLOSE>OPEN AND XA_1>XA_2;
XA_14:=CLOSE>XA_1;
XA_15:=XA_11 AND XA_12 AND XA_13 AND XA_14 AND XA_1/XA_2<=1.05;
XA_16:=MA(CLOSE,1);
XA_17:=(6*HIGH+5*REF(HIGH,1)+4*REF(HIGH,2)+3*REF(HIGH,3)+2*REF(HIGH,4)+1*REF(HIGH,5))/(6+5+4+3+2+1);
XA_18:=(6*LOW+5*REF(LOW,1)+4*REF(LOW,2)+3*REF(LOW,3)+2*REF(LOW,4)+1*REF(LOW,5))/(6+5+4+3+2+1);
XA_19:=IF(CLOSE>REF(XA_17,1),1,IF(CLOSE<REF(XA_18,1),(-1),0));
XA_20:=BARSLAST(NOT(XA_19=0));
XA_21:=IF(XA_19=0,REF(XA_19,XA_20),XA_19);
XA_22:=IF(XA_21=(-1),MA(HIGH,6),MA(LOW,6));
CPX:IF(XA_16>XA_22,1,(-1));
XA_23:=CLOSE-REF(CLOSE,1);
XA_24:=100*EMA(EMA(XA_23,6),6)/EMA(EMA(ABS(XA_23),6),6);
XA_25:=LLV(XA_24,2)=LLV(XA_24,7) AND COUNT(XA_24<0,2) AND CROSS(XA_24,MA(XA_24,2));
XA_26:=MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,5)>MA(CLOSE,10) AND VOL>MA(VOL,5) AND CROSS(CLOSE,MA(CLOSE,5));
JCD:XA_25+XA_26+XA_15;
春秋凸量系统
XA_1:=HOD(VOL,N1);
XA_2:=LOD(VOL,N1);
XA_3:=MA(CLOSE,30);
XA_4:=BARSLAST(XA_1<=4)+1;
XA_5:=FILTER(XA_1<=5 AND REF(XA_4,1)>=9 AND CLOSE>OPEN AND (WINNER(CLOSE)>=0.85 OR WINNER(CLOSE)-REF(WINNER(CLOSE),1)>=0.3),5);
XA_6:=XA_1<=5 AND REF(XA_4,1)>=9 AND CLOSE>OPEN AND CROSS(CLOSE,XA_3);
XA_7:=IF(CLOSE/REF(CLOSE,1)>=1.099 AND CLOSE/REF(CLOSE,1)<=1.13 AND HIGH=CLOSE,1,(-1));
XA_8:=XA_5 OR XA_6 AND ABS(CLOSE-XA_3)/XA_3*100<=30;
触发:XA_8,NODRAW,COLORRED;
止损柱:CLOSE<REF(OPEN,BARSLAST(XA_8>0)) AND COUNT(CLOSE<REF(OPEN,BARSLAST(XA_8>0)),BARSLAST(XA_8>0))=1,NODRAW,COLORGREEN;
止盈柱:CROSS(0,CPX.CPX) AND COUNT(CROSS(0,CPX.CPX),BARSLAST(XA_8>0))=1 AND COUNT(止损柱=1,BARSLAST(XA_8>0))=0 AND COUNT(XA_8,BARSLAST(XA_8)+1)>=1,NODRAW,COLORBLUE;
区间:COUNT(XA_8,BARSLAST(XA_8)+1)=1 AND COUNT(止损柱,BARSLAST(XA_8>0)+1)=0 AND COUNT(止盈柱,BARSLAST(XA_8>0)+1)=0,NODRAW,COLOR696960;
止损价:IF(COUNT(XA_8>0,BARSLAST(XA_8>0)+1)=1 AND (区间>0 OR CROSS(0.5,区间)),REF(OPEN,BARSLAST(XA_8>0)),DRAWNULL),NODRAW;
STICKLINE(区间>0,0,1,4,0),COLOR696960;
STICKLINE(触发>0,0,1,4,0),COLORRED;
STICKLINE(止盈柱>0,0,1,4,0),COLORBLUE;
STICKLINE(止损柱=1 AND COUNT(止盈柱>0,BARSLAST(触发>0))=0,0,1,4,0),COLORGREEN;
DRAWTEXT_FIX(VOL>0,0.12,0.05,2,35),COLORRED;