a1:=1;
a2:=1 - (BIGORDER(1,1));
a3:=1 - (BIGORDER(2,1));
a4:=((BIGORDER(1,3)));
a5:=((BIGORDER(2,3)));
a6:=BIGORDER(1,2);
a7:=BIGORDER(2,2);
资金进出比:=(((ORDER(2) - ORDER(1)) / CAPITAL) * 2000) * a1;
散户:=((((a2 - a3) * VOL) / CAPITAL) * 500) * a1;
a8:=(BIGORDER(1,1)) - a6;
a9:=(BIGORDER(2,1)) - a7;
中户:=((((a9 - a8) * VOL) / CAPITAL) * 500) * a1;
大户:=((((a6 - a7) * VOL) / CAPITAL) * 500) * a1;
a4:=((BIGORDER(1,3)));
a5:=((BIGORDER(2,3)));
机构:=((((a4 - a5) * VOL) / CAPITAL) * 500) * a1;
a10:=EMA((((((SUM(a6,2)) - (SUM(a7,2))) * VOL) / CAPITAL) * 500),3);
增仓1:=((((SUM(大户,2)) > 3) AND (大户 > 1)) OR (大户 > 1.5)) OR (机构 > 0.7);
a11:=(大户 > 0.03) OR (资金进出比 > 0);
连续增仓天数:=LAST((a11 > 0)) * a1;
周仓量:=((SUM(((a6 * VOL) - (a7 * VOL)),5)) / CAPITAL) * 100;
月仓量:=((SUM(((a6 * VOL) - (a7 * VOL)),20)) / CAPITAL) * 100;
a12:=((CLOSE - (LLV(LOW,9))) / ((HHV(HIGH,9)) - (LLV(LOW,9)))) * 100;
a13:=SMA(a12,3,1);
a14:=SMA(a13,3,1);
a15:=CROSS(a13,a14);
a16:=CROSS(a14,a13);
a17:=CLOSE - (REF(CLOSE,1));
a18:=(100 * (EMA((EMA(a17,9)),9))) / (EMA((EMA(ABS(a17),9)),9));
a19:=MA(a18,5);
a20:=CROSS(a19,a18);
a21:=CROSS(a18,a19);
a22:=((SMA((MAX(a17,0)),5,1)) / (SMA(ABS(a17),5,1))) * 100;
a23:=((CLOSE - (MA(CLOSE,25))) / (MA(CLOSE,25))) * 100;
a24:=((CLOSE - CYC(13)) / CYC(13)) * 100;
a25:=((REF(HIGH,1)) + (REF(LOW,1))) / 2;
a26:=(MA(CLOSE,20)) + (2 * (STD(CLOSE,20)));
a27:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));
a28:=((EMA((MA(a27,3)),3)) + (WMA(a27,5))) / 2;
a29:=REF(a28,1);
a30:=BARSCOUNT(CLOSE);
a31:=IF((a30 = 1),0,(((a28 - a29) / a29) * 100));
a32:=(((HIGH - LOW) / (REF(CLOSE,1))));
a33:=(COUNT(((a32 < 0.05) AND (a32 > 0)),3)) = 3;
a34:=a33 AND (连续增仓天数 > 2);
a35:=((HHV(HIGH,3)) - (LLV(LOW,3))) / (REF(CLOSE,3));
出击:=(a33 AND ((连续增仓天数 > 3) OR (a10 > 3))) AND ((COUNT((CLOSE > (REF(CLOSE,1))),3)) >= 3);
a36:=SUM(大户,3);
a37:=(a35 < 0.07) AND ((连续增仓天数 > 2) AND (a36 > 2.2));
阻击:=a37;
a38:=(CLOSE < (REF(CLOSE,1))) AND (((散户 < -2) OR (大户 > 1)) OR (机构 > 0.7));
进:=(a24 < -12) AND ((大户 >= 0.7) OR ((机构 > 0.6) AND (大户 >= 0.1)));
a32:=((((CLOSE / (REF(CLOSE,1))) - 1) * 100));
增仓2:=(a15 AND a21) AND ((大户 >= 0.7) OR (机构 > 0.4));
拉升:=((a35 <= 0.1) AND (LAST((大户 >= 0.25)) > 2)) AND (a23 < 17);
推升:=(LAST(((大户 > (REF(大户,1))) AND (大户 > 0))) > 2) AND (a23 < 17);
买:=(CROSS(a22,20)) AND (连续增仓天数 >= 2);
吃货:=(((a31 < -4) AND (大户 > 0)) AND (a24 < -13)) AND (a23 < -15);
进场:=(((a31 < -2) AND (大户 > 0)) AND (a24 < -18)) AND (a23 < -15);
起涨:=((((a15 OR a21) AND (连续增仓天数 >= 2)) AND (a23 < 12)) AND (LAST((a31 > -3)) > 5)) AND ((大户 + (REF(大户,1))) >= 0.7);
神獒龙虎:出击 or 阻击 or 进 or 买 or 吃货 or 进场; |