逍遥盘后股票池的公式源码
{预选}
VAR0:=REF(CLOSE,1);
VAR1:=OPEN/ VAR0;
VAR2:=VAR1 > 1.036;
VAR3:=REF(CLOSE,2);
VAR4:=VAR0 / VAR3;
VAR5:=VAR4 > 1.066;
VAR6:=VAR2 OR VAR5;
VAR7:=REF(CLOSE,3);
VAR8:=VAR3 / VAR7;
VAR9:=VAR8 > 1.066;
VAR10:=(VAR7 / REF(CLOSE,4)) > 1.066;
VAR11:=(REF(CLOSE,4) / REF(CLOSE,5)) > 1.066;
VAR12:=(REF(C,1)/REF(C,2)>1.03
and COUNT(REF(C,1)/REF(C,2)>1.03,3)=2
AND COUNT(REF(C,1)/REF(C,2)>1.0992,15)=1);
VAR13:=((REF(C,1)/REF(C,2)>1.044 AND REF(C,1)<REF(O,1))
and COUNT(REF(C,1)/REF(C,2)>1.044,6)=2);
VAR14:=(COUNT(REF(C,1)>REF(O,1),8)>6 and (((REF(C,1)/REF(C,2)>1.045) or (REF(C,2)/REF(C,3)>1.045))
and COUNT(REF(C,1)/REF(C,2)>1.045,5)=2));
ST:=STRFIND(stkname,'ST',1)>0;
S:=STRFIND(stkname,'S',1)>0;
停牌:=(DYNAINFO(4)=0);
((((((VAR6 OR VAR9) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) AND
((O-REF(C,1))/REF(C,1)*100<6.5 and not(ST) and not(停牌) and not(S))
AND ((COUNT(O>REF(H,1) AND L>REF(H,1),1)>0) or (COUNT(O>REF(H,1) AND L>REF(H,2),2)>0))
AND (HHV(H,10)/LLV(L,10)<1.66) AND REF(sum(VOL/CAPITAL*100,5),1)>8;
===========================================================================
a1:=(13);
a2:=(O/C-1)*100;
aG:=(DYNAINFO(8)*240)/DYNAINFO(38)/50;
aY:=DYNAINFO(8)/CAPITAL*100;
BBPXY:(a1 * aY * 10 + a2 * aY * 20 + aY * 38 * 1.58)/1000;
==============================================================================
xg1:=v/CAPITAL;
xg:if( o>DYNAINFO(3),xg1,0);
===================================================
竞价量:=REF(V,BARSSINCE(v>0));
竞价量/CAPITAL*100;
============================================
VAR0:=REF(BIDVOL(1),BARSLAST(TIME<92900));
VAR1:=REF(BIDVOL(2),BARSLAST(TIME<92900));
VAR2:=REF(BIDVOL(3),BARSLAST(TIME<92900));
VAR3:=REF(BIDVOL(4),BARSLAST(TIME<92900));
VAR4:=REF(BIDVOL(5),BARSLAST(TIME<92900));
VAR5:=REF(ASKVOL(1),BARSLAST(TIME<92900));
VAR6:=REF(ASKVOL(2),BARSLAST(TIME<92900));
VAR7:=REF(ASKVOL(3),BARSLAST(TIME<92900));
VAR8:=REF(ASKVOL(4),BARSLAST(TIME<92900));
VAR9:=REF(ASKVOL(5),BARSLAST(TIME<92900));
VAR10:=(VAR0 + VAR1 + VAR2 + VAR3 + VAR4);
VAR11:=(VAR5 + VAR6 + VAR7 + VAR8 + VAR9);
强势比:(VAR10)/(VAR11);
===========================================
VAR1:=(BIDVOL(1)+BIDVOL(2)+BIDVOL(3)+BIDVOL(4)+BIDVOL(5)+BIDVOL(6)+BIDVOL(7)+BIDVOL(8)+BIDVOL(9)+BIDVOL(10)+BIDVOL(11)+BIDVOL(12)+BIDVOL(13)+BIDVOL(14)+BIDVOL(15))*-1;
VAR2:=ASKVOL(1)+ASKVOL(2)+ASKVOL(3)+ASKVOL(4)+ASKVOL(5)+ASKVOL(6)+ASKVOL(7)+ASKVOL(8)+ASKVOL(9)+ASKVOL(10)+ASKVOL(11)+ASKVOL(12)+ASKVOL(13)+ASKVOL(14)+ASKVOL(15);
王者三刀:(VAR1+VAR2)/capital;
==============================================
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=(EMA((WINNERB(CLOSE) * 70),3) / (EMA((WINNERB(CLOSE) * 70),3) + EMA(((WINNERB((CLOSE * 1.1)) - WINNERB((CLOSE * 0.9))) * 80),3))) * 100;
pmzj:((DYNAINFO(18)-DYNAINFO(19)-(2*(V2-V3)*5.5)-INTPART(V4))/(DYNAINFO(18)+DYNAINFO(19)+(2*(V2-V3)*5.5)+INTPART(V4))+1)*16/10;