牛股突破主图 ,和谐通达信源码分享

 2022-07-05 08:55:17    通达信指标网  

公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式源码:}
 
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;
WWW70822COM:=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(VAR17,CLOSE,OPEN,2,0),COLOR000088;
STICKLINE(VAR17,CLOSE,OPEN,1.5,0),COLOR0000AA;
STICKLINE(VAR17,CLOSE,OPEN,1,0),COLOR0000CC;
STICKLINE(VAR17,CLOSE,OPEN,0.5,0),COLOR0000EE;
STICKLINE(VAR17,CLOSE,OPEN,0,0),COLORWHITE;
VAR27:=REF(VAR16,2)<REF(VAR16,1) AND VAR16<REF(VAR16,1) AND VAR26<REF(VAR26,1);
STICKLINE(VAR27,CLOSE,OPEN,0,0),COLORGREEN;
STICKLINE(VAR27,CLOSE,OPEN,2.8,0),COLOR009900;
STICKLINE(VAR27,CLOSE,OPEN,2,0),COLOR00BB00;
STICKLINE(VAR27,CLOSE,OPEN,1.5,0),COLOR00DD00;
STICKLINE(VAR27,CLOSE,OPEN,0.5,0),COLORGREEN;
VAR28:=REF(VAR16,2)<REF(VAR16,1) AND VAR16<REF(VAR16,1) AND VAR26>REF(VAR26,1);

STICKLINE(VAR28,CLOSE,OPEN,2,0),COLORYELLOW;


  •  标签:  

原文链接:https://www.tdxzb.com/?id=406

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服