X_1:=IF(DATE<=1160106,1,0);
X_2:=INTPART(SUM(VOL,0)/CAPITAL);
X_3:=X_2>REF(X_2,1) OR BARSSINCE(CLOSE)=0;
X_4:=BARSLAST(X_3)+1;
X_5:=X_4<REF(X_4,1);
X_6:=IF(X_5,REF(X_4,1)+1,X_4);
X_7:=SUM(X_5,0);
0;
7;
X_8:=KDJ.K;
0;
7;
X_9:=KDJ.D;
0;
7;
X_10:=MACD.DEA;
0;
7;
X_11:=MACD.DIF;
X_12:=VOL/CAPITAL*100*3;
X_13:=FILTER(CROSS(X_8,X_9) AND X_9<30,13);
X_14:=BARSLAST(X_13);
X_15:=IF(X_14>0 AND X_14<61,X_14,0);
X_16:=X_15;
X_17:=X_15+1;
X_18:=X_12/5;
X_19:=IF(X_16>0,SUM(X_18,X_15+1),0);
主筹码%:X_19,NODRAW;
X_20:=FILTER(X_13,5)*X_1;
STICKLINE(X_20,58,55,14,0),COLORYELLOW;
STICKLINE(X_20,57,56,12,0),COLORCYAN;
STICKLINE(X_20,45,48,4,0),COLORWHITE;
STICKLINE(X_20,53,50,9,0),COLOR0088DD;
STICKLINE(X_20,55,48,6,0),COLORLIRED;
STICKLINE(X_20,53,53,5,0),COLORBLACK;
STICKLINE(X_20,52,52,3,0),COLORBLACK;
STICKLINE(X_20,53,50,2,0),COLOR0077EE;
STICKLINE(X_20,53,50,1,0),COLOR0077EE;
STICKLINE(X_20,60,55,7,0),COLORRED;
STICKLINE(X_20,60,63,4,0),COLORRED;
X_21:=IF(X_20,58,DRAWNULL);
STICKLINE(X_20,20,17,16,0),COLORWHITE;
STICKLINE(X_20,22,20,12,0),COLORYELLOW;
STICKLINE(X_20,22,17,5,0),COLORBLACK;
STICKLINE(X_20,33,22,13,0),COLORRED;
STICKLINE(X_20,46,42,18,0),COLORMAGENTA;
STICKLINE(X_20,46,31,16,0),COLORRED;
STICKLINE(X_20,41,31,12,0),COLORBROWN;
STICKLINE(X_20,41,31,11,0),COLORRED;
STICKLINE(X_20,32,31,12,0),COLORYELLOW;
STICKLINE(X_20,35,33,8,0),COLOR00AAFF;
STICKLINE(X_20,49,49,1,0),COLOR0000EE;
DRAWICON(X_20,38,9);
DRAWICON(X_20,26,29);
X_22:=3;
X_23:=20;
X_24:=FILTER((MA(CLOSE,X_22)/MA(CLOSE,X_23)-1)*100<(-18),5)*X_1;
STICKLINE(X_24,58,55,14,0),COLOR00CCCC;
STICKLINE(X_24,57,56,12,0),COLOR009999;
STICKLINE(X_24,45,48,4,0),COLOR0077AA;
STICKLINE(X_24,54,50,10,0),COLOR0088DD;
STICKLINE(X_24,55,48,6,0),COLOR00AAFF;
STICKLINE(X_24,53,52,4,0),COLORBLACK;
STICKLINE(X_24,53,50,1,0),COLOR0077EE;
STICKLINE(X_24,60,55,7,0),COLOR8800CC;
STICKLINE(X_24,60,63,4,0),COLOR7700AA;
X_25:=IF(X_24,58,DRAWNULL);
STICKLINE(X_24,23,20,16,0),COLORWHITE;
STICKLINE(X_24,26,20,12,0),COLORWHITE;
STICKLINE(X_24,26,20,2,0),COLORBLACK;
STICKLINE(X_24,33,25,12,0),COLOR8800CC;
STICKLINE(X_24,46,42,20,0),COLORAA00DD;
STICKLINE(X_24,46,32,16,0),COLORAA00DD;
STICKLINE(X_24,37,34,8,0),COLOR00AAFF;
STICKLINE(X_24,50,44,2,0),COLORBLACK;
STICKLINE(X_24,49,49,1,0),COLOR0000EE;
DRAWICON(X_24,39,9);
X_26:=DYNAINFO(7);
X_27:=IF(LOW>X_26,0,IF(HIGH<X_26,1,(X_26-LOW+0.01)/(HIGH-LOW+0.01)));
主力仓位:DMA(X_27,VOL/CAPITAL)*100*X_1,NODRAW;
X_28:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
短线:IF((X_28>80 AND X_28<REF(X_28,1))>0,60,15)*X_1,COLORYELLOW;
DRAWTEXT_FIX(1,0.4,0,0,1),COLORRED;
|