操作線:ema(c,7),color00ff00; E21:EMA(C,21),Color008000; E38:EMA(C,38),ColorFFFFFF; E55:EMA(C,55),ColorFFFF00; E89:EMA(C,89),Color0000FF; E157:EMA(C,157),ColorFF00FF; MA241:MA(C,241),ColorFF0000; A:=(REF(操作線,1)); STICKLINE((操作線>A),A,操作線,6,0),Color00FF00; STICKLINE((操作線<=A),A,操作線,6,0),Color0000FF; VARA:=IF((CLOSE>150),91.3,0.91299998); 箱下沿:INTPART((CLOSE)/(VARA)),ColorF0F000,POINTDOT; 箱上沿:箱下沿+VARA,Color00FFFF,POINTDOT; VAR31:=(HHVBARS((ZIG(1,19)>REF(ZIG(1,19),1)) AND (REF(ZIG(1,19),1)<REF(ZIG(1,19),3)),0)); LC:=(REF(CLOSE,1)); 動(dòng)力:=(((SUM(IF((CLOSE>LC),VOL,0),26))/(SUM(IF((CLOSE<=LC),VOL,0),26)))*(100)); WVAD10:=(MA(((CLOSE-OPEN)/(HIGH-LOW))*(VOL),10))/(1000)+(50); 神奇數(shù)字:=(0); DRAWTEXT((VAR31=20),(LOW)*(0.99000001),'↑21'),Color00FFFF; DRAWTEXT((VAR31=33),(HIGH)*(1.04),'↓34'),Color00FFFF; DRAWTEXT((VAR31=54),(LOW)*(0.99000001),'↑55'),Color00FFFF; DRAWTEXT((VAR31=88),(HIGH)*(1.05),'↓89'),Color00FFFF; DRAWTEXT((VAR31=143),(LOW)*(0.99000001),'↑144'),Color00FFFF; DRAWTEXT((VAR31=232),(HIGH)*(1.05),'↓233'),Color00FFFF; DRAWTEXT((VAR31=376),(LOW)*(0.99000001),'↑377'),Color00FFFF; M9:=(MA(CLOSE,9)); Y:=((HIGH+LOW)/(2)); AO:=MA(Y,5)-(MA(Y,34)); DU0:=(CROSS(AO,0)); UD0:=(CROSS(0,AO)); TDU0:=(BARSLAST(DU0)); TUD0:=(BARSLAST(UD0)); DU3:=(REF(DU0,1)); UD3:=(REF(UD0,1)); TDU3:=(BARSLAST(DU3)); TUD3:=(BARSLAST(UD3)); UDGLINE:=(IF((TDU3<TUD3),REF(HHV(HIGH,2),TDU3),REF(LLV(LOW,2),TUD3))); JDU0:=(REF(CLOSE,1)<=REF(UDGLINE,1)) AND (CLOSE>UDGLINE) AND (TDU0<(TUD0)); JUD0:=(REF(CLOSE,1)>=REF(UDGLINE,1)) AND (CLOSE<UDGLINE) AND (TUD0<(TDU0)); JDU1:=JDU0 AND (COUNT(JDU0,TDU0)=(1)); JUD1:=JUD0 AND (COUNT(JUD0,TUD0)=(1)); JDU2:=JDU1 AND (REF(BARSLAST(JUD1),1)<(REF(BARSLAST(JDU1),1))); JUD2:=JUD1 AND (REF(BARSLAST(JUD1),1)>(REF(BARSLAST(JDU1),1))); JDU3:=JDU1 AND (REF(BARSLAST(JUD1),1)>(REF(BARSLAST(JDU1),1))); JUD3:=JUD1 AND (REF(BARSLAST(JUD1),1)<(REF(BARSLAST(JDU1),1))); DRAWTEXT(JDU2,(M9)*(0.94999998),'▲買(mǎi)▲'),Colorred; VAR1:=(((CLOSE-MA(CLOSE,30))/(MA(CLOSE,30)))*(100)); VAR2:=(CLOSE>OPEN) AND (OPEN-LOW>HIGH-(CLOSE)); VAR3:=(REF(VAR1,1)<(-20)) AND (VAR2); VAR4:=(REF(VAR1,1)<(-20)) AND (CLOSE>OPEN) AND (((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(1000)>(20)); VAR5:=(FILTER((VAR3 or VAR4),3)); VAR6:=(OPEN>CLOSE) AND (HIGH-IF((CLOSE>OPEN),CLOSE,OPEN)>IF((OPEN<CLOSE),OPEN,CLOSE)-(LOW)); VAR7:=(REF(VAR1,1)>ABS((-20))) AND (VAR6); VAR8:=(REF(VAR1,1)>ABS((-20))) AND (CLOSE<OPEN) AND (((REF(CLOSE,1)-CLOSE)/(REF(CLOSE,1)))*(1000)>(20)); VAR9:=(FILTER((VAR7 or VAR8),3)); VAARA:=(REF(VAR1,1)<(-13)) AND (VAR2); VARB:=(REF(VAR1,1)<(-13)) AND (CLOSE>OPEN) AND (((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(1000)>(20)); VARC:=(FILTER((VAARA or VARB),3)); VARD:=(REF(VAR1,1)>ABS((-13))) AND (VAR6); VARE:=(REF(VAR1,1)>ABS((-13))) AND (CLOSE<OPEN) AND (((REF(CLOSE,1)-CLOSE)/(REF(CLOSE,1)))*(1000)>(20)); VARF:=(FILTER((VARD or VARE),3)); DRAWTEXT(((VARF)*(VAR1)>0),(1)*(REF(CLOSE,1)),'賣(mài)'),Coloryellow;
|