2、D(VAR1>MA21)),C,O,4,0),COLORFB6E0B;STICKLINE((CO),L,H,0,0),COLORRED;MA2:=MA(CLOSE,10);MA34:=MA(CLOSE,34);VARA:=((AMOUNT/VOL)/100);VARB:=(((((3*HIGH)+LOW)+OPEN)+(2*CLOSE))/7);VARC:=((SUM(AMOUNT,7)/VARA)/100);VARD:=DMA(VARB,(VOL/VAR
3、C));VARE:=(((CLOSE-VARD)/VARD)*100);VARF:=(((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*100);VARJ:=(MA(VARE,20)+STD(VARE,20));BIAS18:=(((CLOSE-MA(CLOSE,18))/MA(CLOSE,18))*100);K:=SMA(VARF,3,1);顶:(((REF(BIAS18,1)>=5)ANDCROSS(VARJ,VARE))AND(K>79)),NODRAW;DRAWTEXT(F
4、ILTER(((((REF(BIAS18,1)>=5)ANDCROSS(VARJ,VARE)))AND(K>79)),3),(HIGH*1.04),'↓S'),COLORGREEN;VVAR1:=(EMA(CLOSE,30)-EMA(CLOSE,17));VVAR2:=EMA(VVAR1,5);DRAWTEXT(FILTER((CROSS(VVAR1,VVAR2)),3),(CLOSE*0.96),'↑B'),COLORYELLOW;DRAWTEXT((FILTER((((((((REF(CLOSE,13)-CLOSE)/REF
5、(CLOSE,13))*100)>15)AND((SUM((VOL/CAPITAL),13)*100)<18))AND(((VOL/CAPITAL)*100)<2.5))AND((((REF(CLOSE,1)-CLOSE)/REF(CLOSE,1))*100)<8)),3)),CLOSE*0.96,'↑B'),COLORLIRED;TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),7);HD:=(HIGH-REF(HIGH
6、,1));LD:=(REF(LOW,1)-LOW);DMP:=SUM(IF(((HD>0)AND(HD>LD)),HD,0),7);DMM:=SUM(IF(((LD>0)AND(LD>HD)),LD,0),7);PDI:=((DMP*100)/TR1);MDI:=((DMM*100)/TR1);ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI))*100),7);ADXR:=((ADX+REF(ADX,7))/2);DRAWTEXT(FILTER((((COUNT(PDI,4)=0))AND((HHV(HIGH
7、,10)/LLV(LOW,10))>1.2)),3),(CLOSE*0.96),'↑B'),COLORRED;VAR1J:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100);VAR2J:=SMA(VAR1J,3,1);VAR3J:=SMA(VAR2J,3,1);VAR4J:=(VAR1J*1.05);VAR6J:=(((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)))*100);VAR7J:=SMA(VAR6J,5,1);VAR9
8、J:=(((MA((VOL/CAPITAL),30)*MA(VOL,60))/10000)+MA(CLOSE,30));DRAWTEXT(FILTER((((CROSS(VAR2J,VAR4J)AND(VAR3J>60)))AND(VAR7J<(VAR9J+10