同花顺狙击买卖线副图指标 源码介绍
同花顺狙击买卖线副图指标 源码
自己编写的指标,判断买卖简单,以紫黄两线判断买卖。
VR0:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
VR1:=SMA(ABS(L-REF(L,1)),13,1)/SMA(MAX(L-REF(L,1),0),13,1);
VR2:=LLV(LOW,10);
VR3:=HHV(HIGH,25);
VR5:=IF(EMA((CLOSE-VR2)/(VR3-VR2)*4,4)*20<100,EMA((CLOSE-VR2)/(VR3-VR2)*4,4)*20,100);
VR6:=SMA((CLOSE-LLV(LOW,VR0))/(HHV(HIGH,VR0)-LLV(LOW,VR0))*100,4,1);
VR7:=SMA((CLOSE-LLV(LOW,VR5))/(HHV(HIGH,VR5)-LLV(LOW,VR5))*100,4,1);
VR8:(SMA((VR7-10)*2,3,1)+SMA((VR6-10)*2,3,1))/2,coloryellow,LINETHICK1;
VR9:3*(VR7-5)*2-2*SMA((VR7-5)*2,3,1),COLORFF00FF ;
底量:IF(EMA(IF(L<=LLV(L,30),VR1,0),3)*10<100,EMA(IF(L<=LLV(L,30),VR1,0),3)*10,100), colorwhite,linethick1;
STICKLINE(VR8>REF(VR8,1) ,VR8 ,REF(VR8,1),6 ,0),colorred;
STICKLINE(VR8<=REF(VR8,1) ,VR8 ,REF(VR8,1),5 ,0),COLOR00FF00;
gd48563