A1A:=EMA(CLOSE, 9);A1B:=((A1A - EMA(CLOSE, 5)) < 0);A1C:=((A1A - EMA(CLOSE, 5)) > 0);A1D:=BARSLAST(A1B);A1E:=BARSLAST(A1C);A1F:=IF((A1E > 0),(CLOSE - REF(CLOSE, 1)) / REF(CLOSE, 1) * 100,0);A20:=SUM(A1F,0);A21:=IF((A1D > 0),(0 - 2),0);A22:…
N:=14;TR:MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));ATR:MA(TR,N);
V1:=MA(CLOSE,3);V2:=MA(CLOSE,2*3);V3:=MA(CLOSE,3*3);V4:=MA(CLOSE,4*3);V5:=MA(CLOSE,5*3);V6:=MA((V1+V2+V3+V4+V5)/5,5);隧DM:=IF(HOUR=0,DMA((V1+V2+V3+V4+V5)/5,5)*(1+6.5/100),DRAWNULL),COLOR00FFFF,DOTLINE;上轨:=IF(HOUR=0,V6*(1+6.5/100),DRAWNULL),COLOR00FF…
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);DIF:EMA(CLOSE,12) - EMA(CLOSE,26),colorred;DEA:EMA(DIF,9),colorblue;MACD:2*(DIF-DEA),COLORSTICK;FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);FH2:=MACD>=0 AND COUN…
VAR1B:=(100 * (EMA(EMA(C - REF(C,1),6),6))) / (EMA(EMA(ABS(C - REF(C,1)),6),6));抄底红箭:=((LLV(VAR1B,2) = LLV(VAR1B,7)) AND (COUNT(VAR1B < 0,2))) AND CROSS(VAR1B,MA(VAR1B,2));量能:=IF((MA((VOL - REF(VOL,1)) / REF(VOL,1),10)),EMA((VOL - REF(VOL,1))…
INPUT:M1(5,2,500),M2(10,2,500),M3(60,2,500);TOTAL:=IF(DATATYPE=4,5,IF(DATATYPE=5,15,IF(DATATYPE=6,30,IF(DATATYPE=7,60,IF(DATATYPE=8,240,1)))));MTIME:=MOD(TRADETIME(1),TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);虚成交量:IF(BARSTATUS=2,VOL*TOTAL/CTIME,0…
VUR0:=(2*O+H+L+3*C)/7;VUR1:=CAPITAL*VUR0;VUR2:=SMA(AMOUNT,10,1)/1000;VUR3:=MA(C*3,5);VUR4:=VUR2*C*3/VUR3*1/10;VUR5:=VUR2*O*3/VUR3*1/10;VUR6:=VUR2*H*3/VUR3*1/10;VUR7:=VUR2*L*3/VUR3*1/10;VUR8:=(2*VUR5+VUR6+VUR7+3*VUR4)/7;VUR9:=DMA(EMA(VUR4,2),SUM(V,1)*V…
JT1:=ALL(REF(C,1)<REF(MA(C,120),1),30);JT2:=ALL(REF(MA(C,120),1)>REF(MA(C,60),1),30);JT3:=REF(C,1)<MA(C,120) AND C>MA(C,120) AND O/REF(C,1)<1.09 AND V=HHV(V,20);XG1:=COUNT(JT1 AND JT2,20) AND JT3;MT1:=ALL(REF(C,1)<REF(MA(C,60),1),30)…
快线:EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),LINETHICK2,COLORred;慢线:EMA(REF(快线,1),3),LINETHICK2,COLOR00FFFF;总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),LINETHICK2,colorblue;VAR84:= (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR85:= 100-ABS(VAR84);VAR86:…
LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0…
主图p:=BARSCOUNT(TIME);主图rc:=DYNAINFO(3);主图hh:=(DYNAINFO(5));主图LL:=(DYNAINFO(6));主图fd:=abs(if(c>0,主图hh/主图rc,主图rc/主图ll));主图f:=MAX(IF(CAPITAL=0 and 主图fd<主图rc*1.005,MAX(主图rc*1.01,主图hh),主图hh)-主图rc, if(CAPITAL>0 and …
BIAS1 : (CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS2 : (CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS3 : (CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;BIAS4 : BIAS3-BIAS1,LINETHICK3;2;-2;10;-10;DRAWGBKLAST(CLOSE>OPEN,STRIP(RGB(25,0,0),RGB(0,25,0),0));