這個公式是同花順乾坤操盤線修改版,準(zhǔn)確率有所提高。需要Level2支持才行。
使用方法:打開公式管理器--新建--輸入名稱和描述(隨便起名)讓后將下面的代碼復(fù)制到編輯區(qū)確定即可。 如果現(xiàn)實不正常,可以打開公式管理器--修改剛才創(chuàng)建的公式,點擊曲線屬性,將數(shù)值輸出方案選擇為:成交價格。 下面公式代碼:
VAR2:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4); 散戶:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4),coloryellow; 莊家:=EMA(0.667*REF(散戶,1)+0.333*散戶,2),colorred; 大單凈差BBD:=BIGBUYCOUNT1+WAITBUYCOUNT1-BIGSELLCOUNT1-WAITSELLCOUNT1; BBDS:=大單凈差BBD; DIFF:=EMA(大單凈差BBD,6) - EMA(大單凈差BBD,13),coloryellow; DIFF2:=EMA(大單凈差BBD,9) - EMA(大單凈差BBD,20),coloryellow; Ms5:=SMA(MA(C,2),5,3); Ms13:=SMA(C,13,2); Ms21:=SMA(C,21,1); RSV=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; a=SMA(RSV,3,1); b=SMA(a,3,1); DIFF:=EMA(BBDS,6) - EMA(BBDS,13); DIFF2:=EMA(BBDS,9) - EMA(BBDS,20); m1=0;m2=0;m3=0;m4=0;m5=0;m6=0; IF(Ms5>REF(Ms5,1)) m1=10; ELSE IF(Ms5<REF(Ms5,1)) m1=-10; IF(Ms5<C) m2=5; ELSE IF(Ms5>C) m2=-5; IF(Ms13>REF(Ms13,1)) m3=5; ELSE IF(Ms13<REF(Ms13,1)) m3=-5; IF(Ms21>REF(Ms21,1)) m4=10; ELSE IF(Ms21<REF(Ms21,1)) m4=-10; IF(b>90) m5=-10; ELSE IF(b<90 AND b>10) m5=0; ELSE IF(b<10) m5=10; IF(diff>0 AND diff2>0) m6=10; ELSE IF(diff>0 OR diff2>0) m6=0; ELSE IF(diff<0 AND diff2<0) m6=-10; Z:0; 倉位:(m1+m2+m3+m4+m5+m6+50); IF(倉位>50 AND 散戶<90)
RETURN ("colorRED"); IF(((散戶>莊家 AND (diff>0 OR diff2>0)) OR (REF(散戶,1)<20 AND 散戶>REF(散戶,1)) OR BBDS>0 OR (散戶>80 AND INTPART(散戶)<HHV(INTPART(散戶),4))) AND 散戶<90) RETURN ("colorpink"); IF(C>0) RETURN ("colorgreen"); 本文來源于好股票軟件下載網(wǎng) http://www. |
|