通达信四周期共振指标公式
DRAWGBK(O》C,RGB(48,41,124),RGB(0,0,0),0,‘1’,0);
N:=250;
AX:=BARSCOUNT(C);
超周期:100-COS(AX/360*(N/12))*100,LINETHICK2,COLORWHITE;
大周期:100-COS(AX/360*(N/6))*100,LINETHICK2,COLORYELLOW;
小周期:100-COS(AX/360*(N/4))*100,LINETHICK2,COLOR7F00FF;
短周期:100-COS(AX/360*(N/2))*100,LINETHICK2,COLOR00BB00;
STICKLINE(短周期《5 AND 小周期》195,小周期,短周期,5,0),COLORWHITE;
STICKLINE(短周期《5 AND 大周期《5 AND 超周期》195 AND 小周期》195,小周期,短周期,5,0),COLORYELLOW;
STICKLINE(短周期《5 AND 大周期《5 AND 超周期《5 AND 小周期《5 ,200,短周期,5,0),COLORRED;
STICKLINE(短周期》195 AND 大周期》195 AND 超周期》195 AND 小周期》195,2,短周期,5,0),COLORRED;
IF(短周期》195 AND 大周期》195 ,150,200),COLORRED,LINETHICK2;
IF(短周期《5 AND 小周期《5 ,50,0),COLORAAAA00,LINETHICK2;
DRAWTEXT(短周期《5 OR 短周期》195,短周期,‘★’),COLORYELLOW;
(股票知识网zhishi.southmoney.com)
要闻导读
|
||||||||||
|