DRAWGBK(1,COLORRGB(30,60,150),COLORRGB(255,255,255),1);
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,8);
MA5:=MA(CLOSE,5);
MA21:=EMA(CLOSE,21);
STICKLINE((VAR1 < MA21),CLOSE,OPEN,9,0),colorFF3300;
STICKLINE((VAR1 < MA21),CLOSE,OPEN,6,0),colorFF9900;
STICKLINE((VAR1 < MA21),CLOSE,OPEN,2.4,0),colorFFCC00;
STICKLINE((VAR1 < MA21),CLOSE,OPEN,1,0),colorFFFFFF;
STICKLINE((VAR1 < MA21) ,MAX(OPEN,CLOSE),HIGH,0.8,0),colorFFCC00;
STICKLINE((VAR1 < MA21) ,MIN(OPEN,CLOSE),LOW,0.8,0),colorFFCC00;
STICKLINE((VAR1 > MA21) ,CLOSE,OPEN,9,0),color99;
STICKLINE((VAR1 > MA21) ,CLOSE,OPEN,6,0),colorCC;
STICKLINE((VAR1 > MA21) ,CLOSE,OPEN,2.4,0),colorFF;
STICKLINE((VAR1 > MA21) ,CLOSE,OPEN,1,0),colorFFFFFF;
STICKLINE((VAR1 > MA21) ,MAX(OPEN,CLOSE),HIGH,0.8,0),color33FF;
STICKLINE((VAR1 > MA21) ,MIN(OPEN,CLOSE),LOW,0.8,0),color33FF;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)) ,CLOSE,OPEN,9,0),color1DBB00;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)) ,CLOSE,OPEN,6,0),color23E500;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)) ,CLOSE,OPEN,2.4,0),color3DFF1A;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)) ,CLOSE,OPEN,1,0),colorB0FFA1;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)) ,MAX(OPEN,CLOSE),HIGH,0.8,0),colorD4FFCB;
STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)) ,MIN(OPEN,CLOSE),LOW,0.8,0),colorD4FFCB;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)) ,CLOSE,OPEN,9,0),colorFB6EB;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)) ,CLOSE,OPEN,6,0),color31E4F2;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)) ,CLOSE,OPEN,2.4,0),color46C9F2;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)) ,CLOSE,OPEN,1,0),color81DAF6;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)) ,MAX(OPEN,CLOSE),HIGH,0.8,0),colorBBEBFB;
STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)) ,MIN(OPEN,CLOSE),LOW,0.8,0),colorBBEBFB;
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 / VARC));
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) AND CROSS(VARJ,VARE)) AND (K > 79));
DRAWTEXT(FILTER(((((REF(BIAS18,1) >= 5) AND CROSS(VARJ,VARE))) AND (K > 79)),3),(HIGH * 1.02),'鈫揝'),colorFFFF;
VVAR1:=(EMA(CLOSE,30) - EMA(CLOSE,17));
VVAR2:=EMA(VVAR1,5);
DRAWTEXT(FILTER(((CROSS(VVAR1,VVAR2) ) AND (TROUGHBARS(3,7,1) < 1)),3),(CLOSE * 0.96),'鈫態'),colorFFFF;
DRAWTEXT((FILTER((((((((REF(CLOSE,13) - CLOSE) / REF(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),'鈫態'),colorFF;
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),7);
HD:=(HIGH - REF(HIGH,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,10) / LLV(LOW,10)) > 1.2)),3),(CLOSE * 0.96),'鈫態'),colorFFFF;
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);
VAR9J:=(((MA((VOL / CAPITAL),30) * MA(VOL,60)) / 10000) + MA(CLOSE,30));
DRAWTEXT(FILTER((((CROSS(VAR2J,VAR4J) AND (VAR3J > 60))) AND (VAR7J < (VAR9J + 10))),3),(CLOSE * 1.05),'鈫揝'),colorFFFF;
鏃╂櫒涔嬫槦:=((((((REF(CLOSE,2) / REF(OPEN,2)) < 0.95) AND (REF(OPEN,1) < REF(CLOSE,2))) AND ((ABS((REF(OPEN,1) - REF(CLOSE,1))) / REF(CLOSE,1)) < 0.03)) AND ((CLOSE / OPEN) > 1.05)) AND (CLOSE > REF(CLOSE,2))) ;
榛勬槒涔嬫槦:=((((((REF(CLOSE,2) / REF(OPEN,2)) > 1.03) AND (REF(OPEN,1) > REF(CLOSE,2))) AND ((ABS((REF(OPEN,1) - REF(CLOSE,1))) / REF(CLOSE,1)) < 0.02)) AND ((CLOSE / OPEN) < 0.97)) AND (CLOSE < REF(CLOSE,2))) ;
闀垮崄瀛�:=((CLOSE = OPEN) AND ((HIGH / LOW) > 1.03)) ;
鍨傛鍗佸瓧:=(((CLOSE = OPEN) AND (CLOSE = LOW)) AND (CLOSE <> HIGH)) ;
鏃╂櫒鍗佸瓧鏄�:=((((((REF(CLOSE,2) / REF(OPEN,2)) < 0.95) AND (REF(OPEN,1) < REF(CLOSE,2))) AND (REF(OPEN,1) = REF(CLOSE,1))) AND ((CLOSE / OPEN) > 1.05)) AND (CLOSE > REF(CLOSE,2))) ;
榛勬槒鍗佸瓧鏄�:=((((((REF(CLOSE,2) / REF(OPEN,2)) > 1.05) AND (REF(OPEN,1) > REF(CLOSE,2))) AND (REF(OPEN,1) = REF(CLOSE,1))) AND ((CLOSE / OPEN) < 0.95)) AND (CLOSE < REF(CLOSE,2))) ;
灏勫嚮涔嬫槦:=(((MIN(OPEN,CLOSE) = LOW) AND ((HIGH - LOW) > (3 * (MAX(OPEN,CLOSE) - LOW)))) AND (CLOSE > MA(CLOSE,5))) ;
鍊掕浆閿ゅご:=(((MIN(OPEN,CLOSE) = LOW) AND ((HIGH - LOW) > (3 * (MAX(OPEN,CLOSE) - LOW)))) AND (CLOSE < MA(CLOSE,5)));
閿ゅご:=(((HIGH = MAX(OPEN,CLOSE)) AND ((HIGH - LOW) > (3 * (HIGH - MIN(OPEN,CLOSE))))) AND (CLOSE < MA(CLOSE,5))) ;
鍚婇:=(((HIGH = MAX(OPEN,CLOSE)) AND ((HIGH - LOW) > (3 * (HIGH - MIN(OPEN,CLOSE))))) AND (CLOSE > MA(CLOSE,5))) ;
绌垮ご鐮磋剼:=(((((REF(CLOSE,1) / REF(OPEN,1)) > 1.03) AND ((CLOSE / OPEN) < 0.96)) AND (CLOSE < REF(OPEN,1))) AND (OPEN > REF(CLOSE,1))) OR ((((((REF(CLOSE,1) / REF(OPEN,1)) < 0.97) AND ((CLOSE / OPEN) > 1.04)) AND (CLOSE > REF(OPEN,1))) AND (OPEN < REF(CLOSE,1))));
涔屼簯鐩栭《:=(((((REF(CLOSE,1) / REF(OPEN,1)) > 1.03) AND ((CLOSE / OPEN) < 0.97)) AND (OPEN > REF(CLOSE,1))) AND (CLOSE < REF(CLOSE,1))) ;
鏇欏厜鍒濈幇:=(((((REF(CLOSE,1) / REF(OPEN,1)) < 0.97) AND ((CLOSE / OPEN) > 1.03)) AND (OPEN < REF(CLOSE,1))) AND (CLOSE > REF(CLOSE,1)));
韬€€鍏敳:=(((((ABS((REF(CLOSE,1) - REF(OPEN,1))) / REF(CLOSE,1)) > 0.04) AND ((ABS((CLOSE - OPEN)) / CLOSE) < 0.005)) AND (MAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)))) AND (MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))));
鍗佸瓧鑳�:=(((((ABS((REF(CLOSE,1) - REF(OPEN,1))) / REF(CLOSE,1)) > 0.04) AND (CLOSE = OPEN)) AND (CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)))) AND (CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1)))) ;
骞抽《:=((ABS((HIGH - REF(HIGH,1))) / HIGH) < 0.001) ;
骞冲簳:=(((ABS((LOW - REF(LOW,1))) / LOW) < 0.001) AND ((ABS((REF(LOW,1) - REF(LOW,2))) / REF(LOW,1)) <= 0.001));
澶ч槼鐑�:=(((CLOSE / OPEN) > 1.05) AND ((HIGH / LOW) < ((CLOSE / OPEN) + 0.018))) ;
涓変釜鐧芥澹�:=(((((REF(CLOSE,2) > REF(OPEN,2)) AND (REF(CLOSE,1) > REF(OPEN,1))) AND (CLOSE > OPEN)) AND (REF(CLOSE,1) > REF(CLOSE,2))) AND (CLOSE > REF(CLOSE,1))) ;
鍙岄涔岄甫:=(((REF(CLOSE,1) < REF(OPEN,1)) AND (CLOSE < OPEN)) AND ((CLOSE / OPEN) < 0.98)) ;
瀛曡偛绾�:=(((((((((((REF(CLOSE,2) > REF(OPEN,2)) AND (((REF(CLOSE,2) - REF(OPEN,2)) / REF(OPEN,2)) >= (2 / 100))) AND (REF(OPEN,1) >= REF(CLOSE,1))) AND (((REF(OPEN,1) - REF(CLOSE,1)) / REF(CLOSE,1)) <= (2 / 100))) AND (REF(OPEN,1) <= REF(CLOSE,2))) AND (REF(CLOSE,1) >= REF(OPEN,2))) AND (CLOSE >= OPEN)) AND (((CLOSE - OPEN) / OPEN) >= (2 / 100))) AND (CLOSE >= REF(OPEN,1))) AND (OPEN <= REF( |