很不错的公式:
MBJR:=AMOUNT/IF(SELFDATA(‘BS’)=REF(SELFDATA(‘BS’),1),TICKCOUNT,SELFDATA(‘BS’));
JRQS3:=SLOPE(MBJR,3)/MA(MBJR,3)*100;
JRQS20:=SLOPE(MBJR,20);
均额:JRQS20>REF(JRQS20,1) AND JRQS3>=2,LINETHICK0,COLORWHITE;
ZJ:=(SELFDATA(‘大买量’)-SELFDATA(‘大卖量’))/CAPITAL*100;
资金:SUM(ZJ,20)>=0.5 AND SUM(ZJ,3)>3,LINETHICK0,COLORYELLOW;
A1:=MA(CLOSE,5);{MA5};
A2:=BARSLAST(A1 A3:=(A1/REF(A1,A2)-1)/0.005/A2;
JD5:=ATAN(A3)/3.142*180;
B1:=MA(CLOSE,3);{MA3};
B2:=BARSLAST(B1 B3:=(B1/REF(B1,B2)-1)/0.005/B2;
JD3:=ATAN(B3)/3.142*180;
C1:=MA(CLOSE,2);{MA2};
C2:=BARSLAST(C1 C3:=(C1/REF(C1,C2)-1)/0.005/C2;
JD2:=ATAN(C3)/3.142*180;
角度:(JD5+JD3+JD2)/3>=70,LINETHICK0,ColorFF00FF;
DPZD:=INDEXC/REF(INDEXC,1)*100-100;
ZD:=C/REF(C,1)*100-100;
DPXS:=IF(ABS(DPZD)<2,0.9,1);
强度:SUM((ZD-DPZD)*DPXS,3)>=7,LINETHICK0,COLORGREEN;
量能:EMA(V,5)/REF(EMA(V,13),1)>=1.2 AND EMA(V,5)>EMA(V,34),LINETHICK0,COLORRED;
ASR10:=EMA(WINNER(C*1.1)-WINNER(C*0.9),3)*10;
ASR30:=EMA(WINNER(C)-WINNER(C*0.7),3)*10;
庄搜:ASR30-ASR10>0,LINETHICK0,ColorFFFF00;
趋势:C>EMA(C,5) AND EMA(C,5)>EMA(C,34),LINETHICK0,ColorFF8080;
综合:IF(DYNAINFO(8)>0,均额*1.1+资金*1.1+角度*1.15+强度+量能*1.1+庄搜+趋势,0),LINETHICK0,COLORWHITE;
昨:REF(综合,1),LINETHICK0;
前:REF(综合,2),LINETHICK0;
POLYLINE(C>0,8),COLORWHITE;POLYLINE(C>0,0.5),COLORWHITE;
STICKLINE(均额,7,7.5,8,0),COLORWHITE;
STICKLINE(资金,6,6.5,8,0),COLORYELLOW;
STICKLINE(角度,5,5.5,8,0),ColorFF00FF;
STICKLINE(强度,4,4.5,8,0),COLORGREEN;
STICKLINE(量能,3,3.5,8,0),COLORRED;
STICKLINE(庄搜,2,2.5,8,0),ColorFFFF00;
STICKLINE(趋势,1,1.5,8,0),ColorFF8080;