以下是同花顺狙击买卖线副图源码

自己编写的指标,判断买卖简单,以紫黄两线判断买卖。

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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。