飞狐举世无双副图指标
源码
{公称名称:举世无双 }
A1:=INDEXC;
A2:=MA(A1,5);
A3:=MA(A1,20);
A4:=MA(A1,30);
MA30:=MA(CLOSE,30);
MA20:=MA(CLOSE,20);
B1:=((A4 > (A2 * 1.08)) AND (A3 > (A2 * 1.055)));
B2:=(A2 > (A1 * 1.03));
B3:=(B1 AND B2);
M1:=MA(CLOSE,5);
M2:=MA(CLOSE,10);
M3:=(M1 < M2);
N1:=(((M1 - CLOSE) / CLOSE) > (9 / 100));
N2:=(((M2 - M1) / M1) > 0.05);
N3:=((HIGH > (LOW * 1.07)) AND (COUNT((HIGH > (LOW * 1.04)),5) > 2));
N4:=(COUNT(M3,7) >= 7);
N5:=(((N1 AND N2) AND N3) AND N4);
P:=(((((((((((((((((N5 < REF((N5 > 0),4)) AND (CLOSE > OPEN)) AND REF((HIGH > OPEN),1)) AND (REF(HIGH,27) >= REF(LOW,28))) AND ((REF(OPEN,11) / REF(CLOSE,11)) < 1.1)) AND ((REF(OPEN,5) / REF(CLOSE,5)) < 1.1)) AND ((REF(OPEN,7) / REF(CLOSE,7)) < 1.095)) AND ((REF(OPEN,4) / REF(CLOSE,4)) < 1.096)) AND (REF(HIGH,9) >= REF(LOW,10))) AND (((VOL / CAPITAL) * 100) < 8)) AND (REF(HIGH,5) >= REF(LOW,6))) AND (REF(HIGH,6) >= REF(CLOSE,7))) AND ((REF(OPEN,8) / REF(CLOSE,8)) < 1.099)) AND (REF(HIGH,3) >= REF(LOW,4))) AND (CLOSE > OPEN)) AND ((CLOSE / OPEN) > 1.009)) AND (DATE > 1050101));
T:=((((P < REF((P > 0),15)) AND ((REF(CLOSE,7) / REF(OPEN,7)) < 1.08)) AND ((REF(CLOSE,4) / REF(CLOSE,5)) < 1.1)) OR P);
Q:=((((((((T < REF((T > 0),34)) AND ((REF(OPEN,4) / REF(CLOSE,4)) < 1.04)) AND ((OPEN / CLOSE) < 1.06)) AND ((REF(CLOSE,1) / REF(OPEN,1)) < 1.02)) AND (LOW <= MA20)) AND ((REF(OPEN,19) / REF(CLOSE,19)) < 1.09)) AND ((REF(OPEN,10) / REF(CLOSE,11)) < 1.01)) OR T);
D:=((P < REF((P > 0),65)) OR Q);
VAR35:=((CLOSE * 50) / 100);
VAR36:=(MA(VAR35,30) * 0.83);
VAR37:=MA((VAR35 / VAR36),3);
底:=IF((VAR37 < 1.04),100,0);
MA10:=MA(CLOSE,10);
买:=(FILTER(((((底 AND ((CLOSE / OPEN) > 1.03)) AND (REF(LOW,1) <= LLV(LOW,30))) AND ((REF(OPEN,1) / REF(CLOSE,1)) > 1.02)) AND (LLV(LOW,30) = REF(LLV(LOW,30),1))),5) AND (DATE > 1050101));
G:=(((((((买 < REF((买 > 0),4)) AND ((OPEN / CLOSE) > 1.01)) AND (((VOL / CAPITAL) * 100) > 0.31)) AND (HIGH >= REF(LOW,1))) AND (REF(CLOSE,1) < REF(OPEN,1))) AND (CLOSE < REF(CLOSE,4))) AND (HIGH > LOW));
阻击涨停:=(IF((((((LOW <= LLV(LOW,30)) AND (((VOL / CAPITAL) * 100) < 4)) AND (底 > 0)) AND (HIGH >= REF(OPEN,1))) AND ((CLOSE / OPEN) > 1.04)),1,0) AND (DATE > 1050101));
K:=(((((((阻击涨停 < REF((阻击涨停 > 0),4)) AND (HIGH > CLOSE)) AND ((HIGH / OPEN) < 1.06552)) AND REF((CLOSE > LOW),1)) AND (HIGH > LOW)) AND (CLOSE < REF(CLOSE,4))) AND (((VOL / CAPITAL) * 100) > 0.31));
J:=((((K < REF((K > 0),51)) AND (OPEN < REF(OPEN,51))) AND (LOW <= LLV(CLOSE,30))) AND (CLOSE > OPEN));
M:=((((K < REF((K > 0),11)) AND (OPEN < REF(OPEN,11))) AND (OPEN <= REF(CLOSE,1))) AND (CLOSE > OPEN));
MV:=(((K OR G) OR J) OR M);
成功率:=((((((MV < REF((MV > 0),50)) AND ((VOL / MA(VOL,10)) > 0.61)) AND (((VOL / CAPITAL) * 100) > 0.64)) AND (OPEN < REF(OPEN,50))) AND (CLOSE > OPEN)) OR MV);
成功:=((((((((((成功率 < REF((成功率 > 0),9)) AND ((REF(OPEN,2) / REF(CLOSE,3)) < 1.02)) AND ((OPEN / REF(CLOSE,1)) < 1.03)) AND ((REF(CLOSE,2) / REF(OPEN,2)) < 1.095)) AND ((REF(CLOSE,7) / REF(OPEN,7)) < 1.06)) AND (MA10 > REF(MA10,1))) AND (CLOSE > OPEN)) AND (OPEN > REF(CLOSE,9))) OR 成功率) OR D);
RRRR:=((((((((((((((成功 < REF((成功 > 0),13)) AND (REF(HIGH,3) < HHV(HIGH,30))) AND ((REF(CLOSE,9) / REF(OPEN,9)) < 1.09)) AND (OPEN <= REF(CLOSE,1))) AND ((REF(OPEN,12) / REF(CLOSE,12)) < 1.09)) AND ((REF(CLOSE,5) / REF(OPEN,5)) < 1.07)) AND REF((HIGH > LOW),18)) AND (REF(HIGH,3) >= REF(LOW,4))) AND ((REF(OPEN,2) / REF(CLOSE,3)) < 1.005)) AND ((REF(CLOSE,3) / REF(OPEN,3)) < 1.07)) AND (REF(OPEN,1) <= REF(CLOSE,2))) AND (CLOSE > OPEN)) AND (MA20 > REF(MA20,1))) AND (MA10 > REF(MA10,1)));
CYC:=((FILTER((((((((((((成功 < REF((成功 > 0),16)) AND ((REF(CLOSE,1) / REF(OPEN,1)) < 1.085)) AND ((REF(CLOSE,18) / REF(OPEN,18)) < 1.09)) AND REF((HIGH > LOW),21)) AND (REF(HIGH,4) < HHV(HIGH,30))) AND ((REF(CLOSE,4) / REF(OPEN,4)) < 1.07)) AND ((REF(OPEN,7) / REF(CLOSE,8)) < 1.022)) AND ((REF(OPEN,1) / REF(CLOSE,2)) < 1.04)) AND (CLOSE > OPEN)) AND (MA20 > REF(MA20,1))) AND (MA10 > REF(MA10,1))),9) OR RRRR) OR 成功);
成功率100%:((((((((((((((CYC < REF((CYC > 0),12)) AND ((REF(HIGH,1) / REF(CLOSE,1)) < 1.1)) AND ((REF(CLOSE,1) / REF(OPEN,1)) < 1.07)) AND ((REF(OPEN,2) / REF(CLOSE,3)) < 1.01)) AND ((REF(OPEN,3) / REF(CLOSE,4)) < 1.02)) AND (HIGH >= REF(LOW,1))) AND ((REF(CLOSE,8) / REF(OPEN,8)) < 1.07)) AND ((REF(CLOSE,7) / REF(OPEN,7)) < 1.06)) AND (CLOSE > OPEN)) AND (MA20 > REF(MA20,1))) AND (MA30 > REF(MA30,1))) AND (LOW <= MA10)) AND (CLOSE > MA20)) OR CYC),LINETHICK3,colorFFFF05;