50,LINETHICK2,COLORGREEN;
DIR1:=Abs(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
AMA1:=EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE,LINETHICK2;
AMA1P:=AMA1*0.93,COLORYELLOW,LINETHICK2;
AMA1Q:=AMA1*1.07,COLORGREEN,LINETHICK1;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2,NODRAW;
AMA2:=EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK1;
回归线:=EMA(SLOPE(C,13)*20+C,42),LINETHICK2,COLORGREEN;
回上:=回归线*1.15;
回下:=回归线*0.85;
AMA2UP:=AMA2*1.12,LINETHICK2,COLORYELLOW;
AMA2NP:=AMA2*0.88,LINETHICK2,COLORYELLOW;
T1:=EMA((C-AMA1P)/(AMA1Q-AMA1P),3)*100,COLORWHITE;
T2:=EMA((C-AMA2NP)/(AMA2UP-AMA2NP),3)*100,COLORYELLOW;
STICKLINE(回归线>=REF(回归线,1),20,30,3,1),COLORMAGENTA;
T12:=(T1+T2)/2,COLORYELLOW;
TT:EMA(T12,2),COLORYELLOW,LINETHICK1;
B:=TT>=REF(TT,1) AND TT>=50;
STICKLINE(B,TT,50,2,1),COLORMAGENTA;
IF(TT>=REF(TT,1),TT,DRAWNULL),COLORRED,LINETHICK1;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)