以下是同花顺血箭副图指标
同花顺血箭副图指标
源码
var1:=LLV(L,10);
var2:=HHV(H,25);
动力线:EMA((C-var1)/(var2-var1)*4,4),colorff;
底部线:0.2,colorff;
关注线:0.5,colorff60ff;
警戒线:2.8,colorffff00;
减仓线:3.2;
卖出线:3.5;
var3:=WINNER(C*96/100)*100;
var4:=EMA(var3,10);
var5:=var4>65;
var6:=var4>80;
PARTLINE(动力线<0.5,动力线,colorff0000);
PARTLINE(动力线>=0.5 AND 动力线<=3.2 AND EMA(动力线,3)<EMA(REF(动力线,1),3),动力线,colorff0000);
PARTLINE(动力线>3.2,动力线,colorff0000);
STICKLINE(动力线>REF(动力线,1),动力线,REF(动力线,1),8,1,colorff0000);
STICKLINE(动力线<=REF(动力线,1),动力线,REF(动力线,1),8,1,colorff0000);
DRAWTEXT(CROSS(动力线,警戒线),2.7,’警 ‘,colorffff00);
DRAWTEXT(CROSS(动力线,减仓线),3.1,’减 ‘,colorff0000);
DRAWTEXT(CROSS(动力线,卖出线),3.8,’顶 ‘,colorffffff);
DRAWICON(CROSS(动力线,警戒线),3,5);
DRAWICON(CROSS(动力线,减仓线),3.4,5);
DRAWICON(CROSS(动力线,卖出线),3.9,7);
DRAWTEXT(CROSS(动力线,底部线),0.1,’底’),colorff;
DRAWICON(CROSS(动力线,底部线),0.3,4);
血箭:IF((H-L)/L>0.085 AND (C-O)/O>0.06 AND (O-L)/L<0.05,2.2,0),STICK,Linethick3,colorffffff;
DRAWICON(血箭>1,血箭*1.05,8);
vare:=REF(L,1)*0.9;
varf:=L*0.9;
var100:=(varf*V+vare*(CAPITAL-V))/CAPITAL;
var110:=EMA(var100,30);
var120:=C-REF(C,1);
var130:=MAX(var120,0);
var140:=ABS(var120);
var150:=SMA(var130,7,1)/SMA(var140,7,1)*100;
var160:=SMA(var130,13,1)/SMA(var140,13,1)*100;
var170:=BARSCOUNT(C);
var180:=SMA(MAX(var120,0),6,1)/SMA(ABS(var120),6,1)*100;
var190:=(-200)*(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55))+100;
var1a:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
var1b:=SMA((SMA(var1a,4,1)-50)*2,3,1);
var1c:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
var1d:=SMA(var1c,4,1);
var1e:=SMA(var1d,3,1);
var1f:=(HHV(H,30)-C)/C*100;
var200:=var180<=25 AND var190<-95 AND var1f>20 AND var1b<-30 AND var1e<30 AND var110-C>=-0.25 AND var150<22 AND var160<55 AND var170>50;
明天低位血吸:IF(CROSS(var200,0.5),2.5,0),STICK,Linethick3,colorff00ff;
计算:=REF(C,1)*0.865;
再计算:=REF(C,13)*0.772;
流通盘:=100*V/CAPITAL;
第二天买:IF((C-MIN(计算,再计算))/C<0.1 AND SUM(流通盘,5)/5<1.8,2.5,0),colorff;
评论(0)