顶底判断:=MA(CLOSE,1);
顶底判断2:=MA(CLOSE,3);
顶底判断3:MA(顶底判断2,1);
最有效的:MA(顶底判断2,3);{股票公式-股票指标www.gs6699.com}
STICKLINE(顶底判断3>最有效的,顶底判断3,最有效的,2,0),LINETHICK1,COLORFF00FF;
STICKLINE(顶底判断3<最有效的,顶底判断3,最有效的,2,0),LINETHICK1,COLOR00FF00;
Q:=IF(CLOSE>=OPEN,(CLOSE-OPEN)/4,0);
通达信指标:=EMA (C,2);
VVDS:=EMA(SLOPE(C,8)*1+C,8);
BUY1:=CROSS(通达信指标,VVDS);
SEL:=CROSS(VVDS,通达信指标);DRAWTEXT(BUY1,LOW*(0.97),''),COLORYELLOW,LINETHICK5;
DRAWTEXT (SEL,HIGH*1.04,''),COLORBLUE;
STICKLINE(通达信指标>=VVDS,LOW,HIGH,0.1,0),COLORRED ;
STICKLINE(通达信指标>=VVDS,CLOSE,OPEN,3,3),COLORRED ;
STICKLINE(通达信指标<VVDS,CLOSE,OPEN,3,3),COLORCYAN;
STICKLINE(通达信指标<VVDS,LOW,HIGH,0.1,0),COLORCYAN;
STICKLINE(CROSS(通达信指标,VVDS) OR CROSS(VVDS,通达信指标),OPEN,CLOSE,2.5,0),COLORWHITE;
顶底判断1:(1-9/100)*MA(C,10),COLORYELLOW,LINETHICK2;
AAA:=(3*C+H+L+O)/6;
FDDW3:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36,LINETHICK2,COLORRED;
IF((FDDW3 <= REF(FDDW3,1)),FDDW3,DRAWNULL),COLORGREEN,LINETHICK3;
IF((FDDW3 >= REF(FDDW3,1)),FDDW3,DRAWNULL),COLORRED,LINETHICK3;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,2,1);
D:=SMA(K,2,1);
J:=3*K-2*D;
FDDW2:=CROSS(J,0)AND(H>=顶底判断);
DRAWICON(FDDW2,LOW*0.95,25);