金银线 买股就是这么简单(副图 源码)介绍
金银线 买股就是这么简单(副图 源码)
源码
VAR1:=(HIGH+LOW+CLOSE)/3;
VAR2:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
VAR3:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
VAR4:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-VAR1);
VAR5:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VAR6:=IF(HIGH=LOW,1,VAR1-MIN(CLOSE,OPEN));
A:=(VAR5*VAR2)+(VAR6*VAR2);
B:=VOL-A;
AB:=(A-B);
金线:SUM(AB,15),COLORYELLOW;
银线:SUM(AB,25),COLORWHITE;
攻击力度:100*(WINNER(CLOSE)-WINNER(OPEN)),COLOR00FFFF,POINTDOT,LINETHICK0;
换手:=VOL/CAPITAL*100;
追击:攻击力度>15 AND 换手<=6 ,LINETHICK0;
DRAWTEXT(追击,金线*1.06,'★'),LINETHICK3,COLOR0000CC;
0,COLORGREEN;
gd16043