通达信抓涨停的选股公式

2015-11-21 20:35:00来源:本站整理浏览:684

通达信抓涨停的选股公式

源码

明涨停价:CLOSE * 1.1,NODRAW;
 ST涨停价:CLOSE * 1.05,NODRAW;
获利1个点:REF(C,1)*1.01,COLORRED,NODRAW;
 RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
短期底部:=LLV(OPEN,30);
 AA10:=MA(CLOSE,10);
 AA12:=MA(CLOSE,12);
 BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
 BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
 MA13:=MA(CLOSE,13);
 VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
 VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
 VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
 VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);
 VAR6:=MA(VAR5,3);
 VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));
 VAR8:=(((CLOSE - VAR7) / VAR7) * 100);
 VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) >
 2.5));
 VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
 VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
 VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
 VARD:=REF(CLOSE,1);
 VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);
 VARF:=(((HIGH + LOW) + CLOSE) / 3);
 VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));
 VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))
 < (0 - 0.273));
 VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));
 VAR13:=(VAR11 AND VAR12);
 VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));
 VAR15:=(COUNT(VAR14,1) >= 1);
 VAR16:=(VAR13 AND VAR15);
 VAR17:=1;
 VAB0:=531;VAB1:=1510000;VAB2:=VAB0 + VAB1; VAB3:=IF(DATE > VAB2,0,1);
 VARA12:=SMA(H,10,9)*VAB3; VARA13:=SMA(L,10,9)*VAB3; VAR18:=(CLOSE * VOL);
 VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA
 (VOL,24))) / 4),1);
 VAR1A:=(1 * VAR19);
 VAR1B:=(VAR19 * 0.92);
 VAR1C:=EMA(CLOSE,34);
 VAR1D:=MA((VAR1C * 1.12),5);
 VAR1E:=MA((VAR1C * 0.82),5);
 VAR1F:=(CLOSE < VAR1E);
 VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA
 (VOL,5)) / 100)) < ((0 - 0.4) * VAR17));
 VAR21:=HHV(HIGH,500);
 VAR22:=LLV(LOW,500);
 VAR23:=HHV(HIGH,250);
 VAR24:=LLV(LOW,250);
 VAR25:=HHV(HIGH,125);
 VAR26:=LLV(LOW,125);
 VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);
 VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);
 VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);
 VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);
 VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);
 VAR2C:=VAR27;
 VAR2D:=VAR28;
 VAR2E:=VAR29;
 VAR2F:=VAR2A;
 VAR30:=VAR2B;
 VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));
 VAR32:=(INDEXA / 100000000);
 VAR33:=INDEXADV;
 VAR34:=INDEXDEC;
 VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);
 VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);
 VAR37:=EMA(VAR35,10);
 VAR38:=EMA(VAR36,10);
 VAR39:=EMA(VAR37,10);
 VAR3A:=EMA(VAR38,20);
 VAR3B:=EMA(VAR37,3);
 VAR3C:=EMA(VAR39,6);
 VAR3D:=EMA(VAR3A,2);
 VAR3E:=(VAR3C - VAR3D);
 VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));
 VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);
 VAR41:=VAR40;
 VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);
 VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);
 VAR44:=(CLOSE - REF(MA(CLOSE,20),11));
 VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE <
 VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20
 AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE
 < VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));
 VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
 VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
 VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
 VAR49:=REF(CLOSE,1);

[1] [2] [3]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式