N:=5;
N1:=21;
金指标1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
金指标2:=8,COLORGREEN,LINETHICK0;
小试牛刀: IF(CROSS(金指标1,金指标2),8,0),STICK,COLORRED;
DRAWICON(小试牛刀>0,8,4);
发现庄迹: IF(金指标1<=8,15,0),STICK,COLORCYAN,LINETHICK2;
金指标O5:=LLV(LOW,27);
金指标O6:=HHV(HIGH,34);
金指标O7:=EMA((CLOSE-金指标O5)/(金指标O6-金指标O5)*4,4)*25;
建仓区: IF((金指标O7< 10),100,118) ,COLOR00CCFF,LINETHICK1;
CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
CD3:=SMA(SMA(CD2,3,1),3,1);
CD4:=(CD3-SMA(CD1,9,1))-0.5;
CD5:=IF(CD4>0.00,CD4,0.00);
CD6:=REF(CD5,1);
金指标81:=MA(C,9),COLORRED;
空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;
减仓空仓:CROSS(CD6,CD5),COLORGREEN;
DRAWICON(减仓空仓>0,113,5);
金指标1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
金指标2A:=SMA(金指标1A,9,1)+100;
金指标3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
金指标4A:=SMA(金指标3A,3,1);
金指标5A:=SMA(金指标4A,3,1)+100;
金指标6A:=金指标5A-金指标2A;
端庄窝:=IF(金指标6A>N1,金指标6A-N1,0),COLORLIRED;
果断出击:IF(CROSS(端庄窝,0.01),18,0),STICK,COLOR0000CC,LINETHICK2;
DRAWICON(果断出击>0,18,4);
XG:=CROSS(端庄窝,0.01);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
E:=CROSS(83,RSI);
STICKLINE(REF(端庄窝,1)< 端庄窝,端庄窝,REF(端庄窝,1),3,0),COLORRED;
STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00;
红持绿空:0,COLORGREEN;