D:=72;
ZBVAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
ZBVAR2:=2*Abs(ZBVAR1);
ZBVAR3:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
ZBVAR4:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
ZBVAR5:=(HIGH+LOW+CLOSE)/3;
ZBVAR6:=(ZBVAR5-MA(ZBVAR5,14))/(0.015*AVEDEV(ZBVAR5,14));
ZBVAR7:=(ZBVAR5-MA(ZBVAR5,89))/(0.015*AVEDEV(ZBVAR5,89));
ZBVAR8:=IF(ZBVAR6>=150 AND ZBVAR6<200 AND ZBVAR7>=150 AND ZBVAR7<200,10,0);
ZBVAR9:=IF(ZBVAR6<=-150 AND ZBVAR6>-200 AND ZBVAR7<=-150 AND ZBVAR7>-200,-10,ZBVAR8);
ZBVARA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
ZBVARB:=100-ABS(ZBVARA);
ZBVARC:=3*SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA
((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
ZBVARD:=3*SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA
((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
ZBVARE:=REF(LOW,1)*0.9;
ZBVARF:=LOW*0.9;
ZBVAR10:=(ZBVARF*vol+ZBVARE*(CAPITAL-VOL))/CAPITAL;
ZBVAR11:=EMA(ZBVAR10,30);
ZBVAR12:=ZBVAR11-CLOSE;
ZBVAR13:=REF(CLOSE,1);
ZBVAR14:=SMA(MAX(CLOSE-ZBVAR13,0),7,1)/SMA(ABS(CLOSE-ZBVAR13),7,1)*100;
ZBVAR15:=SMA(MAX(CLOSE-ZBVAR13,0),13,1)/SMA(ABS(CLOSE-ZBVAR13),13,1)*100;
ZBVAR16:=BARSCOUNT(CLOSE);
ZBVAR17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
ZBVAR18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
ZBVAR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
ZBVAR1A:=(SMA(ZBVAR19,4,1)-50)*2;
ZBVAR1B:=SMA(ZBVAR1A,3,1);
ZBVAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
ZBVAR1D:=SMA(ZBVAR1C,4,1);
ZBVAR1E:=SMA(ZBVAR1D,3,1);
ZBVAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
ZBVAR20:=IF(ZBVAR17<=25 AND ZBVAR18<-95 AND ZBVAR1F>20 AND ZBVAR1B<-30 AND ZBVAR1E<30 AND ZBVAR12>=-0.25 AND ZBVAR14<22 AND ZBVAR15<28 AND ZBVAR16>50,80,0);
OX:=IF(ZBVARB<90,ZBVARB,100),COLORFFCC66;
牛角:=ZBVAR20,COLORYELLOW;
ZBVAR2C:=牛角>50 AND OX<90;
阶段底部:ZBVAR2C AND COUNT(ZBVAR2C,30)=1;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)