R1:=3*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-2*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3,1);
R2:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1);
R3:=3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1)-2*SMA(SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1),3,1);
R4:=3*SMA((C-LLV(L,43))/(HHV(H,43)-LLV(L,43))*100,5,1)-2*SMA(SMA((C-LLV(L,43))/(HHV(H,43)-LLV(L,43))*100,5,1),3,1);
R5:=3*SMA((C-LLV(L,55))/(HHV(H,43)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
短趋势:(R1+R2+R3+R5+R4)/5,LINETHICK2;
IF(短趋势>=REF(短趋势,1),短趋势,DRAWNULL),COLORRED,LINETHICK2;
短趋势3:EMA(短趋势,3);
超短趋势:短趋势-REF(短趋势,1);
超短趋势3:EMA(超短趋势,3);
金叉共振:crOSS(短趋势,短趋势3) AND CROSS(超短趋势,超短趋势3),COLORYELLOW,NODRAW;
死叉共振:CROSS(短趋势3,短趋势) AND CROSS(超短趋势3,超短趋势),COLORMAGENTA,NODRAW;
STICKLINE(金叉共振,短趋势3,超短趋势,1,0)COLORYELLOW;
STICKLINE(死叉共振,短趋势,超短趋势3,1,0)COLORMAGENTA;
DRAWTEXT(ISLASTBAR,短趋势,’ 短趋势’),COLORYELLOW;
DRAWTEXT(ISLASTBAR,超短趋势,’ 超短趋势’),COLORYELLOW;

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