VAR41:=(C-EMA(C,8))/EMA(C,8);
VAR42:=EMA(EMA(VAR41,4),3);
VAR43:=EMA(EMA(VAR41,4),2);
VAR44:100*( VAR42+ VAR43),COLORWHITE,LINETHICK2;
VAR45:EMA(VAR44,2.5),COLORGRAY;
RISE:= VAR44>=REF(VAR44,1);
FELL:= VAR44<REF(VAR44,1);
IF(RISE, VAR44,DRAWNULL),COLORRED,LINETHICK2;
IF(FELL, VAR44,DRAWNULL),COLORGREEN,LINETHICK2;
VAR01:=(INDEXC-EMA(INDEXC,6))/EMA(INDEXC,6);
VAR02:=EMA(EMA(VAR41,3),3);
VAR03:=EMA(EMA(VAR41,3),2);
VAR04:=100*( VAR02+ VAR03);
BI:=100*(H+L)/2/EMA(C,17)-100,COLORYELLOW;
BUY1:=VAR44>REF(VAR44,1) AND REF(VAR44,1)<REF(VAR44,2) AND REF(VAR44,2)<REF(VAR44,3);
BUY2:=REF(BI,1)>0 AND BUY1 AND VAR44<-2;
BUY3:=REF(BI,1)<0 AND BUY1 AND REF(VAR44,1)<-3;
BUY4:=VAR44<0 AND crOSS(VAR44,VAR45) AND BUY1;
BUY:=(BUY2 OR BUY3 OR BUY4) AND (EMA(INDEXC,6)>REF(EMA(INDEXC,6),1) OR VAR04>=REF
(VAR04,1));
DRAWICON(BUY,VAR44-1.1,1);

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