当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码:反弹主图+万剑合一

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

反弹主图:

分析N8:=CONST(HHV(H,190));

分析1:=0+0.03;
分析2:=分析1+0.03;
分析3:=分析2+0.03;
DRAWTEXT(CURRBARSCOUNT=60,分析N8-(分析N8*分析1),'分析指标技术战法'),COLORFF00FF ;
分析A1:=2;
分析A2:=7;
分析A3:=2;
分析A5:=2;
分析N1:(MA(CLOSE,5)+MA(CLOSE,9)+MA(CLOSE,13)+MA(CLOSE,17))/4,COLORBLUE;
分析N2:(MA(CLOSE,25)+MA(CLOSE,27)+MA(CLOSE,29)+MA(CLOSE,31))/4,COLORGRAY;
分析N3:(MA(CLOSE,17)+MA(CLOSE,19)+MA(CLOSE,21)+MA(CLOSE,23))/4,COLORYELLOW;
分析N5:(MA(CLOSE,1)+MA(CLOSE,4)+MA(CLOSE,7)+MA(CLOSE,11))/4,COLORYELLOW,LINETHICK4;
分析N6:(MA(CLOSE,33)+MA(CLOSE,41)+MA(CLOSE,49)+MA(CLOSE,57))/4,COLORWHITE,LINETHICK3;
分析Z1:=(EXPMA(CLOSE,分析A1)+MA(CLOSE,分析A1*3)+MA(CLOSE,分析A1*5)+MA(CLOSE,分析A1*7))/4,LINETHICK3,COLORGREEN;
分析Z2:=(EXPMA(CLOSE,分析A3)+MA(CLOSE,分析A3*3)+MA(CLOSE,分析A3*5)+MA(CLOSE,分析A3*7))/4,LINETHICK2,COLORYELLOW;
IF(分析Z2>=分析Z1,分析N5,DRAWNULL),COLORGREEN,LINETHICK4;
IF(分析N5>=分析N1,分析N5,DRAWNULL),COLORRED,LINETHICK4;
IF(分析N5<=分析N1 AND 分析N5>=分析N3 AND 分析Z1>分析Z2,分析N5,DRAWNULL),COLORYELLOW,LINETHICK4;
IF(分析N5<分析N3 AND 分析N5>=分析N6 AND 分析Z1>分析Z2,分析N5,DRAWNULL),COLORFF00FF,LINETHICK4;


万剑合一(顶尖财经 股票学院: http://58188.com):

 {万剑合一}

N:=5;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,30);
VAR4:=MA(CLOSE,60);
VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARC:=INTPART(VARB*100)/100;
VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VARE:=EMA(VARD,9);
VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
TB:=IF(HIGH>REF(CLOSE,1),HIGH-REF(CLOSE,1)+CLOSE-LOW,CLOSE-LOW);
TS:=IF(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE);
VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR13:=REF(VARE,1);
VAR14:=VARE;
VAR15:=VAR14-VAR13;
VAR16:=REF(VARD,1);
VAR17:=VARD;
VAR18:=VAR17-VAR16;
VAR19:=OPEN;
VAR1A:=CLOSE;
VOL_:=(TB-TS)*VOL/(TB+TS)/10000;
VOL_0:=DMA(VOL_,0.1);
VOL_1:=DMA(VOL_,0.05);
黑马剑:IF(VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND
VAR1A>=VARC AND VAR15>0 AND VAR18>0,0.8,0),LINETHICK3 , COLOR00FFFF;
STICKLINE(黑马剑,0,黑马剑*0.86,2,1),LINETHICK3 ,COLOR00FFFF;
DRAWICON(黑马剑>0,黑马剑,1);
SHORT:VOL_0-VOL_1,COLORSTICK;
VAR2A:=LLV(LOW,10);
VAR3A:=HHV(HIGH,25);
MA1:=EMA(CLOSE,5);
MA2:=EMA(CLOSE,10);
MA3:=EMA(CLOSE,20);
MA4:=EMA(CLOSE,30);
AAA:= 25*(EMA((CLOSE-VAR2A)/(VAR3A-VAR2A)*4,4));
A5:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;
A6:=MA(A5,10);
三线粘合剑:CROSS(MA1,MA2) AND C>O AND C>REF(C,1) AND C/REF(C,
1)>=1.018 OR CROSS(MA1,MA4) AND C>O AND C>REF(C,1) AND C/REF(C,
1)>=1.018 OR CROSS(MA2,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,
1)>=1.018 OR CROSS(MA1,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018,COLORFF00FF;
STICKLINE(三线粘合剑,0,三线粘合剑*0.96,2,1),COLORFF00FF;
DRAWICON(三线粘合剑>0,三线粘合剑,1);
BBB:=10*(SMA(A6,3,1)/10);
CCC:=10*(HHV(HIGH,34)/LLV(LOW,34));
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=HHV((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,200);
M1:=BIAS1=BIAS2 ;
M2:=V>MA(V,5) ;
M3:=REF(BIAS1,1)<REF(BIAS2,1) ;
牛郎:AAA,LINETHICK2,COLORRED;
织女:BBB,LINETHICK2;
鹊桥:CCC,LINETHICK2,COLORF0F000;
银河:IF(CROSS(织女,87.5),50,87.5),LINETHICK2;
追魂剑:IF(M1 AND M2 AND M3,0.60,0),COLORFFCCCC,LINETHICK2;
STICKLINE(追魂剑,0,追魂剑*0.56,2,1),COLORFFCCCC,LINETHICK2;
DRAWICON(追魂剑>0,追魂剑,1);
C1:=HHV(C,115);
C2:=LLV(C,115);
C3:=C1-C2;
C4:=MA((C-C2)/C3-0.5,14)*20;
HH:=REF(HHV(C,66),2);
BUY1:=CROSS(C,HH) AND (HHV(C,110)/LLV(C,110)-1)*100<45 AND C4<5.666;
BUY2:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3), LINETHICK2;
 
SIGN1:=LLV(C4,35)<-8.9 AND CROSS(C4,-7.815) AND C4<-1.2;
抄底:1*FILTER(SIGN1,41),STICK,LINETHICK4,COLOR00EE00;
DRAWTEXT( CROSS(BBB,AAA) AND BBB>56 ,60 ,'离别' ),COLORFF9999,LINETHICK4;
STICKLINE(CROSS(BBB,AAA) AND BBB>56 ,100 ,50 ,6 ,0.9 ),COLORBLUE,LINETHICK2;
STICKLINE(CROSS(AAA,CCC) AND BBB<50 ,0 ,20 ,0.8 ,1 ),COLOR00FF00,LINETHICK2;
STICKLINE(CROSS(银河,AAA),100,80,0.8,1),COLORF0F000,LINETHICK2;

上一篇:通达信公式下载:牛熊判势

下一篇:通达信源码:超级RSIKDJ+起涨