以下是通达信牛股突破主图和谐源码(无源码的请下载附件导入)
VAR1:=IF(CAPITAL>20000000,CAPITAL*33/100,IF(CAPITAL>12000000,CAPITAL*27/100,CAPITAL*22/100));
VAR2:=(COST(85)+COST(15))/2;
VAR3:=(COST(75)+COST(25))/2;
VAR4:=(COST(65)+COST(35))/2;
VAR5:=(COST(55)+COST(45))/2;
VAR6:=(COST(95)+COST(5))/2;
VAR7:=(VAR2+VAR3+VAR4+VAR5+VAR6)/5;
VAR8:=(COST(90)+COST(10))/2;
VAR9:=(COST(80)+COST(20))/2;
VAR10:=(COST(70)+COST(30))/2;
VAR11:=(COST(60)+COST(40))/2;
VAR12:=COST(50);
VAR13:=(VAR8+VAR9+VAR10+VAR11+VAR12)/5;
中锋:(VAR7+VAR13)/2,COLORWHITE;
VAR14:=(COST(75)-COST(25))/(COST(75)+COST(25))*100;
后卫:COST(VAR14),COLORGREEN;
VAR15:=100-VAR14;
前锋:COST(VAR15),COLORRED;
VAR16:=前锋/后卫;
VAR17:=VAR16>REF(VAR16,1) AND 前锋>REF(前锋,1);
周期:BARSLASTCOUNT(VAR17=1),NODRAW;
VAR18:=IF(VAR17,前锋-后卫,DRAWNULL);
VAR19:=REF(VAR16,1)>VAR16 AND 前锋>REF(前锋,1);
VAR20:=VAR16<=0.25;
VAR21:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
wwwgscomcn:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR22:=COST(VAR21);
VAR23:=100-VAR21;
VAR24:=COST(VAR23);
VAR25:=(VAR21+VAR23)/2;
VAR26:=COST(VAR25);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(VAR17,CLOSE,OPEN,2.8,0),COLOR000055;
STICKLINE(V
.......
部分源码省略,请下载导入公式
212299809.png
|