VarE1:=1; VarE2:=(2*CLOSE+HIGH+LOW)/4; VarE3:=IF(YEAR>=2099 AND MONTH>2,0,1); VarE4:=LLV(LOW,5); VarE5:=HHV(HIGH,4); 快: EMA((VarE2-VarE4)/(VarE5-VarE4)*100,4)*VarE3*VarE1,PRECIS1,Colorwhite, linethick1; 中: EMA(0.667*REF(快,1)+0.333*快,2)*VarE3*VarE1,PRECIS1,Coloryellow, linethick1; VarE6:=(HHV(HIGH,4)-VarE2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72; VarE7:=(VarE2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; VarE8:=SMA(VarE7,2,1); 慢: SMA(VarE8,2,1)*VarE1,PRECIS1,Colorred, linethick1; DRAWTEXT(CROSS(快,中) AND 快快,70,'短出'),COLOR00FFFF; DRAWTEXT(CROSS(快,中) AND 快70,75,'逢高减'),COLORFFFF33;
爱约股解答:
VarE1:=1;
VarE2:=(2*CLOSE+HIGH+LOW)/4;
VarE3:=IF(YEAR>=2099 AND MONTH>2,0,1);
VarE4:=LLV(LOW,5);
VarE5:=HHV(HIGH,4);
快:=EMA((VarE2-VarE4)/(VarE5-VarE4)*100,4)*VarE3*VarE1;
中:=EMA(0.667*REF(快,1)+0.333*快,2)*VarE3*VarE1;
CROSS(快,中) AND 快<50 AND 29<快;