歐歐 歐歐量化 2023-12-19 08:00 發(fā)表于廣西
在股市中,45度角上揚是指5日線以一個中等的斜上角度往上爬,股價沿45度角上升這種走勢是最強勁、最理想的。也就是說股價一直在穩(wěn)步攀升,通常這種股票的投資效益是最好的。DRAWTEXT_FIX(1,0.005,0,0,'所屬風格:'),COLORYELLOW;DRAWTEXT_FIX(1,0.06,0,0,FGBLOCK),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.05,0,'所屬概念:'),COLORMAGENTA;DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW;IF(C>SQRT(HHV(HIGH,55)*LLV(LOW,55)) AND SQRT(HHV(HIGH,55)*LLV(LOW,55)) >=REF(SQRT(HHV(HIGH,55)*LLV(LOW,55)) ,1), SQRT(HHV(HIGH,55)*LLV(LOW,55)) ,DRAWNULL),LINETHICK2,COLORWHITE;CTA:=EMA(EMA(CLOSE,5),5);DRAWBAND(EMA(CLOSE,3),RGB(55,255,100),EMA(CLOSE,5),RGB(100,0,220));CTA2:=EMA(CLOSE,3)>REF(EMA(CLOSE,3),1) AND REF(EMA(CLOSE,3),1)<REF(EMA(CLOSE,3),2) ;CTA3:=C<LLV(LOW,55)*1.62;CTA4:=CROSS(EMA(CLOSE,3),EMA(CLOSE,5)) AND C<HHV(HIGH,21)*0.8 AND C>SQRT(HHV(HIGH,55)*LLV(LOW,55)) ;CTA5:=CROSS(EMA(CLOSE,3),EMA(CLOSE,5)) OR CTA4 ;DRAWICON(CTA5,LOW*0.95,1);STICKLINE(CTA5,CLOSE,O,4,0),COLOR009999;STICKLINE(CTA5,CLOSE,O,3,0),COLOR00BBBB;STICKLINE(CTA5,CLOSE,O,1.5,0),COLOR00DDDD;STICKLINE(CTA5,CLOSE,O,0.3,0),COLOR00FFFF;DRAWTEXT_FIX(1,0,0.9,0,'微信公眾號:歐歐量化'),COLOR0000FF,LINETHICK4;HX:=CLOSE<O AND (O-CLOSE)/CLOSE>0.03;EL:=CROSS(EMA(CLOSE,5),EMA(CLOSE,3));ZZ:=HIGH>LLV(LOW,55)*1.38;XX:EMA(CLOSE,3),COLORRED,LINETHICK2;下降線:=EMA(CLOSE,5),COLOR00FF00,LINETHICK2;NN:EMA(下降線,5),COLORWHITE,LINETHICK2;DRAWBAND(下降線,RGB(55,25,100),NN,RGB(100,100,220));DRAWICON(FILTER(FILTER(ATAN(EMA((CLOSE+LOW+HIGH)/3,7)-REF(EMA((CLOSE+LOW+HIGH)/3,7),1))*3.1416*10>1 AND EMA((CLOSE+LOW+HIGH)/3,7)>REF(EMA((CLOSE+LOW+HIGH)/3,7),1),10),10),LOW*0.90,9);DRAWTEXT(FILTER(ATAN(EMA((CLOSE+LOW+HIGH)/3,7)-REF(EMA((CLOSE+LOW+HIGH)/3,7),1))*3.1416*10>1 AND EMA((CLOSE+LOW+HIGH)/3,7)>REF(EMA((CLOSE+LOW+HIGH)/3,7),1),10),LOW*0.99,'∠45'),COLORFFFFFF; HXN:=EMA(EMA(CLOSE,5),5);CTA1:=EMA(CLOSE,3)>REF(EMA(CLOSE,3),1) AND REF(EMA(CLOSE,3),1)<REF(EMA(CLOSE,3),2) ;CTA2:=C<LLV(LOW,55)*1.62;CTA3:=CROSS(EMA(CLOSE,3),EMA(CLOSE,5)) AND C<HHV(HIGH,21)*0.8 AND C>SQRT(HHV(HIGH,55)*LLV(LOW,55)) ;CTA4:=CROSS(EMA(CLOSE,3),EMA(CLOSE,5)) OR CTA3 ;HX:=CLOSE<O AND (O-CLOSE)/CLOSE>0.03;EL:=CROSS(EMA(CLOSE,5),EMA(CLOSE,3));ZZ:=HIGH>LLV(LOW,55)*1.38;選股:DRAWTEXT(FILTER(ATAN(EMA((CLOSE+LOW+HIGH)/3,7)-REF(EMA((CLOSE+LOW+HIGH)/3,7),1))*3.1416*10>1 AND EMA((CLOSE+LOW+HIGH)/3,7)>REF(EMA((CLOSE+LOW+HIGH)/3,7),1),10),
風險提示:本指標公式僅作為知識分享,模擬測試不構(gòu)成任何投資建議,不作投資依據(jù)。
|