通达信2指标——抄底(副图)
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
{通达信副图指标F513抄底}
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
抄底:IF(乖离<-12 AND 乖离>=-18,-4,0), COLORCY AN,LINETHICK1;
STICKLINE(乖离<-12 AND 乖离>=-18,2,0,6,0) , COLORCYAN;
抄底二:IF(乖离<-18,3,0),COLORFF35FF,LINETHICK1;
STICKLINE(乖离<-18,3,0,6,0),COLORFF35FF;
抄底三:IF(乖离<-6,5,0),COLORRED,LINETHICK1;
STICKLINE(乖离<-6,5,3,2,1),COLORRED;
抄底四:IF(乖离<-4.5,0,0),COLOR00FFFF,LINETHICK1;
STICKLINE(乖离<-4.5,0,1,3,1),COLOR00FFFF;
V AR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);
V AR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);
V AR3:=(CLOSE-V AR1)/V AR1*100<-10;
V AR4:=(V AR1-VAR2)/V AR2*100<-16;
V AR5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;
V AR6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*1 00>16;
V AR7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
V AR8:=INDEXC;
V AR9:=MA(V AR8,6);
V ARA:=MA(VAR8,24);
V ARB:=MA(V AR8,32);
V ARC:=V ARB>V AR9*1.11 AND V ARA>V AR9*1.095;
SSS:=(V AR3 AND V AR4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR V AR5 AND V AR6 AND CROSS(V AR7,79) OR V ARC AND CLOSE/COST(8)<=0.8)*100;
抄底王:SSS>0,COLORWHITE,LINETHICK1;
STICKLINE(SSS>0,0,6,6,0),COLORWHITE;