通达信黑马大神抓大牛起爆点副图源码无加密 可选股
N:=26;
A:80;
B:20;
AB:=AMOUNT/V/100;
LC1:=REF(CLOSE,1);
VARA:=EMA((((AB-EMA(AB,13))/EMA(AB,13))*(0-100)),5);
JT1:=EVERY(REF(C,1)<REF(MA(C,120),1),30);
JT2:=EVERY(REF(MA(C,120),1)>REF(MA(C,60),1),30);
JT3:=REF(C,1)<MA(C,120) AND C>MA(C,120) AND O/REF(C,1)<1.09 AND V=HHV(V,20);
VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR3:=SMA(VAR2,2,1);
RSI5:=((SMA(MAX((CLOSE-LC1),0),5,1)/SMA(ABS((CLOSE-LC1)),5,0))*100);
操盘线:=EMA(((VARA/10)+EMA(AB,10)),3);
行情线:=EMA(AB,3);
QTR:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,
1)))),ABS((LOW-REF(CLOSE,1)))),10);
天:100+(-ABS(VAR1)),COLORRED;
下:SMA(VAR3,2,1);
无:ABS(VAR1),COLORGREEN;
敌:50,COLORFFAA00,LINETHICK3;
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
XG1:=COUNT(JT1 AND JT2,20) AND JT3;
重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
买:STICKLINE(CROSS(下,无),3,20,2,0),COLORRED,LINETHICK1;
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
STICKLINE(CROSS(下,无),20,25,2,0),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(下,无),30,' '),COLORFFFFCC;
MT1:=EVERY(REF(C,1)<REF(MA(C,60),1),30);
PDI:=((DMP*100)/TR);
MDI:=((DMM*100)/TR);
趋势线:=EMA(((SLOPE(C,22)*20)+C),55),COLORYELLOW,LINETHICK2;
卖:STICKLINE(CROSS(下,天),70,90,2,0),COLORRED,LINETHICK1;
STICKLINE(CROSS(下,天),90,99,2,0),COLORFF9900,LINETHICK1;
ADX:=MA(((ABS((MDI-PDI))/(MDI + PDI))*100),5);
AV:=(RSI5+ADX);
MT2:=EVERY(REF(MA(C,60),1)>REF(MA(C,30),1),30);
DRAWTEXT(CROSS(下,天),70,' '),COLORFFFFCC;
选股2:IF(CROSS(下,20),1,0);
DXR:=(((ADX+REF(ADX,5))/2)+RSI5);
0,COLORFF00FF;
AA:CROSS(行情线,操盘线)*100,COLORMAGENTA;
MT3:=REF(C,1)<MA(C,60) AND C>MA(C,60) AND O/REF(C,1)<1.09 AND V=HHV(V,20);
WR10:=((100*(HHV(HIGH,10)-CLOSE))/(HHV(HIGH,10)-LLV(LOW,10)));
WWWGOODGUPIAOCOM:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
NEWVOL:=(RSI5 - WR10);
DRAWICON((CROSS(下,20) ),20,1);
DRAWICON((CROSS(下,20) ),-20,25);
阶段底部:=(AV+NEWVOL);
XG2:=COUNT(MT1 AND MT2,20) AND MT3;
XG:XG1 OR XG2;
STICKLINE((阶段底部>=0),0,阶段底部,0.3,1),LINETHICK2,COLORCC6600;
STICKLINE((阶段底部<0),0,阶段底部,0.8,1),LINETHICK6,COLORRED;
1321188081.jpg
|