N:=5; N1:=21;{股票公式-股票指标www.gs6699.com}
抄底逃顶公式:=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;
指标公式:=8,COLORGREEN,LINETHICK0;
通达信: IF(CROSS(抄底逃顶公式,指标公式),60,0),LINETHICK2,COLORLIBLUE;
DRAWTEXT(通达信,85,''),COLORYELLOW,COLORLIBLUE;
ssdd1:= IF(抄底逃顶公式<=8,50,0),COLORCYAN,LINETHICK2;
ssdd2: 20,LINETHICK2,COLORLIMAGENTA;
ggrrrO5:=LLV(LOW,27);
ggrrrO6:=HHV(HIGH,34);
ggrrrO7:=EMA((CLOSE-ggrrrO5)/(ggrrrO6-ggrrrO5)*4,4)*25;
ssdd3:= IF((ggrrrO7<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);
ggrrr81:=MA(C,9),COLORRED;
ssdd5:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORYELLOW;
ssdd6:=CROSS(CD6,CD5),STICK,COLORYELLOW;
抄底逃顶公式A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
指标公式A:=SMA(抄底逃顶公式A,9,1)+100;
ggrrr3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
ggrrr4A:=SMA(ggrrr3A,3,1);
ggrrr5A:=SMA(ggrrr4A,3,1)+100;
ggrrr6A:=ggrrr5A-指标公式A;
ggraa:=IF(ggrrr6A>N1,ggrrr6A-N1,0),COLORLIRED;
ssdd7:IF(CROSS(ggraa,0.01),72,0),STICK,COLORYELLOW,LINETHICK9;
DRAWICON(ssdd7>0,72,24);
XG:=CROSS(ggraa,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);
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
ssdd8:SMA(RSV,3,1),LINETHICK2,COLORRED;
ssdd9:SMA(ssdd8,3,1),LINETHICK3,COLORYELLOW;
STICKLINE(REF(ggraa,1)<ggraa,ggraa,REF(ggraa,1),3,0),COLORLIMAGENTA;
STICKLINE(REF(ggraa,1)>ggraa,ggraa,REF(ggraa,1),3,0),COLORFFCCCC;