C5周:cci(25),COLORSTICK,COLORYELLOW;
生命CCI线:=CCI(84),COLORWHITE;
底部线:=-100.00,COLORYELLOW,NODRAW;
警戒线:=300.00,COLORWHITE,NODRAW;
生命线:=100.00,COLORYELLOW,NODRAW;
升浪区:CCI>-10,COLORYELLOW;
DRAWICON(crOSS(200,CCI),250,2);
DRAWICON(CROSS(CCI,-200),-250,1);
弱转强:=CROSS(CCI,-200) AND CCI>REF(CCI,1),NODRAW;
STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLORF0FF00;
DRAWTEXT(CROSS(CCI,-200),底部线,'试压')COLORYELLOW;
强转弱:=CROSS(200,CCI) AND CCI
STICKLINE(CROSS(200,CCI) AND CCI
DRAWTEXT(CROSS(200,CCI),底部线,'试压')COLORYELLOW;
DRAWTEXT(CROSS(生命CCI线,底部线),底部线,'上升浪')COLORRED;
DRAWTEXT(CROSS(生命CCI线,警戒线),警戒线,'警惕')COLORRED;
DRAWTEXT(CROSS(生命CCI线,生命线),生命线,'强')COLORRED;
N:=9;6;M1:=3;M2:=3;P:=9;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
JJ:=P*(3*D-2*K);
J:=((3 * K) - (2 * D));
MAIRU:= CROSS(K,D) AND K<20;
MAICHU:= CROSS(D,K) AND D>80;
VAR2:=REF(LOW,1);
VAR3:=SMA(Abs(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=IF(MA(CLOSE,34),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
大户日均吸筹:VAR9,LINETHICK2,COLORF00FF0;
STICKLINE(VAR9>-120*3,0,VAR9*3,8,1),COLORF00FF0;
{上面用紫色F00FF0画方框}
快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2,COLORYELLOW;
慢线:=SMA(快线,M1,1),COLORYELLOW;
空:=SMA(慢线,M2,1),COLORYELLOW;
BB:=IF(BArslAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0);
{STICKLINE(BB,0,100,7,1),COLORYELLOW;DRAWICON(BB>0,10,7);}
AA:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);
{STICKLINE(AA,80,100,7,1),COLOR00FF00;}
{DRAWICON(AA>0,90,8);};
BN:=5;
BVAR1:=4*SMA((CLOSE-LLV(LOW,BN))/(HHV(HIGH,BN)-LLV(LOW,BN))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,BN))/(HHV(HIGH,BN)-LLV(LOW,BN))*100,5,1),3.2,1);
BVAR2:=8,COLORGREEN,LINETHICK0;
杀庄:=BVAR1<=8;
PDTC:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
CCIDTC:=((PDTC - MA(PDTC,14))*(100))/((1.5)*(AVEDEV(PDTC,14)));
rsi1DTC:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100);
黄底:=(CCIDTC < (-100));
蓝底:=(RSI1DTC < 25);
VAR1MMQZ:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
红底:=VAR1MMQZ<-9 AND VAR1MMQZ> REF(VAR1MMQZ,1);
底:=黄底 OR 蓝底 OR 红底;
抄底:=200000000000*MAX (杀庄,底)*DMA(EMA(C,60),SUM(V,60)/CAPITAL)/EXP(2*HIGH-LOW/3),COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(抄底,0.03),0.03,'盯')COLORYELLOW;