展锋高抛低吸指标公式
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,M1);MAVOL2:MA(VOLUME,M2);{警示牌设置}警示牌:=1;高:=REFDATE(HHV(H,180),DATE)*1.05;低:=REFDATE(LLV(L,180),DATE)*0.95;A11:=MA(C,18);A12:=MA(C,50);A13:=MA(C,89);A14:=IF((MA(C,180)=低) OR C>=MA(C,180),MA(C,180),DRAWNULL);{—————股性判断—————}牛股:=ISLASTBAR AND A11>A12 AND A12>A13 AND A13>IF(A14=DRAWNULL,0,A14) AND C>A11 OR ISLASTBAR AND A11>A12 AND C>=A11;猴股:=ISLASTBAR AND A11>A12 AND CZSHTL-REF(ZSHTL,1),1,0);RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;K1:=SMA(RSV,10,1);D1:=SMA(K1,5,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;T1:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=1);T2:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=0);T3:=CONST( ZCMZL=REF(ZCMZL,1));T4:=CONST( ZCMZL=160 );T8:=CONST(TFXXS>50 AND TFXXS=REF(TFXXS,1) AND TFXXS50 AND TFXXS=REF(TFXXS,1) AND TFXXS>100);T10:=CONST(TFXXS>50 AND TFXXS100 );T11:=CONST(TFXXS>50 AND TFXXS90 );T13:=CONST( ZZLKP>75 );T14:=CONST(CROSS(ZCMZL,ZZLJJ) AND ZZLKP>ZZLJJ AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T15:=CONST(CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T16:=CONST( CROSS(ZCMZL,ZSHTL) AND ZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1));T17:=CONST( CROSS(ZCMZL,100) AND ZCMZL>REF(ZCMZL,1));T18:=CONST(REF(ZSHTL,1)>90 AND ZSHTL80,92,97,1,1)NODRAW,COLOR00FFFF;DRAWICON(AA>=BB,105,38);DRAWICON(BB>AA,105,39);M2:=EMA(C,2);M18:=EMA(C,18);买点:=IF(CROSS(M18,M2),5,0* 10000);RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;VARB2:=(RSVV/2+22)*1;Q:=EMA(VOL,13);Y:=EMA(AMOUNT,13);S:=((Y /Q) / 100);X:=(((CLOSE -S) / S) * 100);F:=((X 0,突击,23);AX:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);AXMA:=MA(AX,5);ANA:=PLOYLINE(CROSS(AX,AXMA),AXMA);ANB:=PLOYLINE(CROSS(AXMA,AX),AXMA);MD:=CROSS(AX,AXMA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND AXMA0));AQZ:=COUNT(CROSS(AX,AXMA),ANAREF(ANB,5));阴买:MD AND AQZ AND C0,阴买,34);短期0:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));中期0:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));中长期0:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));长期0:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));四线归一:短期00,四线归一,5);短转点:(((SMA(C,2,1)-(SMA(L,21,2)*0.95))*10)REF(SMA(C,2,1),1) AND REF(SMA(C,2,1),2)>REF(SMA(C,2,1),1))=1,STICK,COLOR000000;DRAWICON(短转点>0,短转点,23);
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW. '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'交易策略'),COLORRED;