公式网-网站导航


网站搜索:  

公式指标网 发表于2019/7/4 7:22:12

通达信不要怂垃圾副T公式源码

VAR1G:=(((CLOSE / MA(CLOSE,40)) * 100) < 78);
VAR2G:=(((CLOSE / MA(CLOSE,60)) * 100) < 74);
VAR3G:=(HIGH > (LOW * 1.051));
VAR4G:=(VAR3G AND (COUNT(VAR3G,5) > 1));
AA:=IF((VAR4G AND (VAR1G OR VAR2G)),2,0);
BB:=C/REF(C,25)<=1.1;
CC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15;
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
操盘线:=SMA(V3,2,1);
V5:=SMA(操盘线,2,1);
抄底:=IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)<REF(操盘线,2) AND 操盘线<23 ,1.5,0);
买就赢利:BB AND AA AND CC AND 抄底;
DRAWTEXT(FILTER(买就赢利,10),0.15,'买就赢利'),COLORWHITE,LINETHICK2;


DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.05,0,0,COUNT((C-REF(C,1))/REF(C,1)*100>7,120));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'股性级别: '),COLORYELLOW;

 X_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_2:=EMA(X_1,9);
X_3:=(X_1-X_2)*2*60;
X_4:=X_3>REF(X_3,1);
X_5:=X_3-REF(X_3,1);
X_6:=X_5>10 AND X_3>0 AND X_4>0;
X_7:=EMA(WINNER(CLOSE)*70,5);
X_8:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
X_9:=X_7>X_8;
X_10:=MA(CLOSE,5);
X_11:=MA(CLOSE,10);
X_12:=MA(CLOSE,20);
X_13:=IF(CLOSE>=X_10,1,(-1));
X_14:=IF(CLOSE>=X_11,1,(-1));
X_15:=IF(CLOSE>=X_12,1,(-1));
X_16:=IF(X_10>=REF(X_10,1),1,(-1));
X_17:=IF(X_11>=REF(X_11,1),1,(-1));
X_18:=IF(X_12>=REF(X_12,1),1,(-1));
X_19:=(X_13+X_14+X_15+X_16+X_17+X_18)/6*100;
X_20:=X_19>=50;
X_21:=EMA(INDEXC,240)/EMA(CLOSE,240);
X_22:=INDEXC/X_21;
X_23:=MA(X_22,5);
特牛:X_6 AND X_20,COLORYELLOW,LINETHICK2;
DRAWTEXT(特牛,0.5,'牛'),COLORYELLOW;

高:=REF(HHV(H,150),3);
顶:=REFDATE(高,DATE);
顶顶:=REFDATE(顶,DATE);
出:=顶顶=H AND ((C-L)<(O-C) OR (O-L)<(C-O));
低:=REF(LLV(L,150),3);
底:=REFDATE(低,DATE);
底底:=REFDATE(底,DATE);
坚决买进:底底=L AND ((C+L)<(O+C) OR (O+L)<(C+O)),COLORFFFF33,LINETHICK2;
DRAWTEXT(FILTER(坚决买进,10),0.25,'坚决买进'),COLORFFFF33,LINETHICK2;


X_1111:=IF(HHV(ABS(HHV(CLOSE,6)/LLV(CLOSE,6)-1),6)>10/100,3,6);
X_2222:=IF(MINUTE=5,X_1111*48,IF(MINUTE=15,X_1111*16,IF(MINUTE=30,X_1111*8,IF(MINUTE=60,X_1*4,X_1111))));
X_3333:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);
X_4444:=CLOSE/REF(CLOSE,1)>1.025;
X_5555:=MA(CLOSE,10)>CLOSE*1.05;
X_6666:=MA(CLOSE,10)<CLOSE*1.1;
X_7777:=MA(CLOSE,60)>CLOSE*1.28;
X_8888:=X_3333 AND X_4444 AND X_5555 AND X_6666 AND X_7777;
底买:X_2222 AND X_8888;
DRAWTEXT(FILTER(底买,10),0.45,'底'),COLORGREEN,LINETHICK2;


X_1A:=MA(CLOSE,5);
涨停:CLOSE>REF(CLOSE,1)*1.04 AND CLOSE<X_1A;
DRAWTEXT(FILTER(涨停,10),0.55,'坐等涨停'),COLORMAGENTA,LINETHICK2;


LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
牛拉升:FILTER(LS,28),COLORRED;
DRAWTEXT(牛拉升,0.3,'升'),COLORRED;


VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
AC:=CROSS(操盘,VAR300) AND VAR300<1.8 AND C>O;
STICKLINE(AC,1,0,1,0),COLOR770077;
STICKLINE(AC,1,0,1,0),COLOR990099;
STICKLINE(AC,1,0,1,0),COLORBB00BB;
STICKLINE(AC,1,0,1,0),COLORDD00DD;
STICKLINE(AC,1,0,0.3,0),COLORFF00FF;
DRAWTEXT(AC,0.5,'不要怂全仓干'),COLORYELLOW;
 通达信不要怂垃圾副T公式源码



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
公式网-www.gszx.com.cn-股票指标公式网