以下是通达信底部区域副图源码(无源码的请下载附件导入)
RR8:=MA(CLOSE,21);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
【底部区域】:IF(RRD,-2,0),COLORYELLOW,LINETHICK1;
VAR1:=MA(CLOSE,9);
VAR2:=(CLOSE-VAR1)/VAR1*100;
VAR3:=MA(VAR2,2);
VAR4:=BARSLAST(CROSS(-10,VAR3)=1);
VAR5:=VAR3<-10 AND VAR4>3;
VAR11:=MA(CLOSE,5);
VAR21:=(CLOSE-VAR1)/VAR1*100;
VAR31:=MA(VAR2,1);
VAR41:=BARSLAST(CROSS(VAR3,10)=1);
VAR51:=VAR3>10 AND VAR4>3;
【底部】:IF(VAR5,2,0),COLORBLUE,LINETHICK1;
721588439.jpg
|